first commit

This commit is contained in:
momen
2021-10-21 14:57:58 +08:00
parent ba65bf40aa
commit 8184931095
572 changed files with 3165246 additions and 305 deletions
File diff suppressed because it is too large Load Diff
+200
View File
@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>小白笔记 on 星火文档中心</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/</link>
<description>Recent content in 小白笔记 on 星火文档中心</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 Oct 2021 16:58:57 +0800</lastBuildDate><atom:link href="http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>前言</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E5%89%8D%E8%A8%80/</link>
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E5%89%8D%E8%A8%80/</guid>
<description>小白手册 前言 ​ 也许这是你第一次使用linux。
​ 既然这是关于deepin的小白手册,那么本手册当然是围绕deepin来叙述的了。说到deepin,他的中文名为“深度”。deepin操作系统是基于debian的linux系统,deepin作为中国土生土长的发行版,也深受大家的喜爱。
为什么选择linux而不是Windows?为什么非要在linux大家族中挑deepin,而不是选择像Ubuntuarch,manjaro这些发行版呢?说到这里,不得不扯一些家国情怀了。不得不说的是,虽然deepin不是完全自主研发,但他是完全自主可控的系统,他不会被美帝等国家掐脖子,也不会发生“windows黑屏事件”。为了尽早抛弃对Windows的依赖,我们要选择linux,为了支持国产,我选择了deepin。当然,linux基本上都是触类旁通,弄懂一个发行版,其他也就不是什么问题了。
我第一次接触到linux,好像是在上初中,使用的是Ubuntu虚拟机,说实在话,当时的Ubuntu给我的第一印象是卡(似乎是虚拟机的锅),丑,垃圾,没用多久扔掉Ubuntu继续使用Windows。在接下来的日子里,我的主力机依然是Windows,直到遇见了deepin。
诚然,遇到deepin的时候真的吸引了我,半透明界面,扁平化UI,光从界面上就甩Windows10十几条街,我掏出来垃圾平板(没错,atom处理器,2GB+30G),反手装了个64位deepin,当时我还在想,2G内存装64位系统会不会卡死呢,其实真的是多虑了。一直到deepin的经典系统,deepin15.11,我对deepin的喜爱之情溢于言表。
当然,有喜就有哀,linux虽好,但有个致命的缺点就是生态不足,所以你在给电脑刷deepin的时候要做好思想准备(安卓是个异类,他也是linux,但他成功逆袭了,站在智能机的风口上,成功的被捧起)。
不过呢,也不要悲观,先天不足可以后天补齐短板。wine应运而生,让他可以运行Windows应用(只不过能完美运行的很少)。还有一个就是xdroid,一个安卓虚拟机,让你可以跑起来安卓应用(我觉得这个用起来非常不错,但是有些用户在使用的时候会出现卡死现象)。再有呢就是纯正虚拟机了,vbox,vmware,任意系统都可以跑,这样的话,就可以了完美运行任意应用,但也有个缺点就是低配机就别想这么完了,因为跑虚拟是很耗内存的。
如果你对生态比较介意的话,建议你安装双系统或者在虚拟机上运行deepin。
接下来,就可以了开始我们的deepin之旅了
&amp;ndash;momen编辑于2020/07/31
全新的引擎,更好的体验,星火文档中心邀请你一起来编辑这些文档
你可以推送你的md笔记至https://gitee.com/deepin-community-store/linux-wiki并在你所编辑的页面中署名
&amp;ndash;momen编辑于2020/10/21</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%97%A5%E5%B8%B8/docker/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%97%A5%E5%B8%B8/docker/</guid>
<description>docker使用笔记
基础
docker ps -a 查看容器列表
docker ps 查看正在运行的容器
exit 退出容器
docker start &amp;lt;docker container id&amp;gt; 启动一个已停止的容器
docker stop &amp;lt;容器id&amp;gt;停止容器
docker restart &amp;lt;容器id&amp;gt;重启容器
进入容器的两个命令 exec命名(好) docker exec -it &amp;lt;容器id&amp;gt; /bin/bash attach命令(退出后会终止容器) docker attach &amp;lt;容器id&amp;gt; docker rm -f &amp;lt;容器id&amp;gt;删除容器
进阶
docker container prune删除所有容器
镜像操作
docker images列出本机镜像
rocket.chat &amp;lt;none&amp;gt; 30f3e81eb8ad 6 months ago 816MB rocket.chat &amp;lt;none&amp;gt; 077d87f42281 6 months ago 816MB rocket.chat &amp;lt;none&amp;gt; 666b6ddfd746 6 months ago 816MB rocket.chat 3.</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%97%A5%E5%B8%B8/ecs%E6%B7%BB%E5%8A%A0swap/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%97%A5%E5%B8%B8/ecs%E6%B7%BB%E5%8A%A0swap/</guid>
<description>查看当前是没有swap的
$ free -m total used free shared buffers cached Mem: 498 310 187 0 17 170 -/+ buffers/cache: 122 375 Swap: 0 0 0 $ sudo df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/xvda1 ext4 20G 3.7G 16G 20% / tmpfs tmpfs 250M 0 250M 0% /dev/shm 我们将swap挂载到/var下
$ sudo dd if=/dev/zero of=/var/swap bs=1M count=2048
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 47.</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/bbr%E5%8A%A0%E9%80%9F/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/bbr%E5%8A%A0%E9%80%9F/</guid>
<description>wget -N &amp;ndash;no-check-certificate &amp;ldquo;https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh&amp;quot; &amp;amp;&amp;amp; chmod +x tcp.sh &amp;amp;&amp;amp; ./tcp.sh</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/deepin%E6%B7%BB%E5%8A%A0ppa/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/deepin%E6%B7%BB%E5%8A%A0ppa/</guid>
<description>sudo apt-get install python-software-properties sudo apt-get install software-properties-common sudo apt-get update </description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/linux%E5%90%8E%E5%8F%B0%E8%BF%90%E8%A1%8C%E7%A8%8B%E5%BA%8F/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/linux%E5%90%8E%E5%8F%B0%E8%BF%90%E8%A1%8C%E7%A8%8B%E5%BA%8F/</guid>
<description></description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/readme/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/readme/</guid>
<description>小白手册 前言 ​ 也许这是你第一次使用linux。
​ 既然这是关于deepin的小白手册,那么本手册当然是围绕deepin来叙述的了。说到deepin,他的中文名为“深度”。deepin操作系统是基于debian的linux系统,deepin作为中国土生土长的发行版,也深受大家的喜爱。
为什么选择linux而不是Windows?为什么非要在linux大家族中挑deepin,而不是选择像Ubuntuarch,manjaro这些发行版呢?说到这里,不得不扯一些家国情怀了。不得不说的是,虽然deepin不是完全自主研发,但他是完全自主可控的系统,他不会被美帝等国家掐脖子,也不会发生“windows黑屏事件”。为了尽早抛弃对Windows的依赖,我们要选择linux,为了支持国产,我选择了deepin。当然,linux基本上都是触类旁通,弄懂一个发行版,其他也就不是什么问题了。
我第一次接触到linux,好像是在上初中,使用的是Ubuntu虚拟机,说实在话,当时的Ubuntu给我的第一印象是卡(似乎是虚拟机的锅),丑,垃圾,没用多久扔掉Ubuntu继续使用Windows。在接下来的日子里,我的主力机依然是Windows,直到遇见了deepin。
诚然,遇到deepin的时候真的吸引了我,半透明界面,扁平化UI,光从界面上就甩Windows10十几条街,我掏出来垃圾平板(没错,atom处理器,2GB+30G),反手装了个64位deepin,当时我还在想,2G内存装64位系统会不会卡死呢,其实真的是多虑了。一直到deepin的经典系统,deepin15.11,我对deepin的喜爱之情溢于言表。
当然,有喜就有哀,linux虽好,但有个致命的缺点就是生态不足,所以你在给电脑刷deepin的时候要做好思想准备(安卓是个异类,他也是linux,但他成功逆袭了,站在智能机的风口上,成功的被捧起)。
不过呢,也不要悲观,先天不足可以后天补齐短板。wine应运而生,让他可以运行Windows应用(只不过能完美运行的很少)。还有一个就是xdroid,一个安卓虚拟机,让你可以跑起来安卓应用(我觉得这个用起来非常不错,但是有些用户在使用的时候会出现卡死现象)。再有呢就是纯正虚拟机了,vbox,vmware,任意系统都可以跑,这样的话,就可以了完美运行任意应用,但也有个缺点就是低配机就别想这么完了,因为跑虚拟是很耗内存的。
如果你对生态比较介意的话,建议你安装双系统或者在虚拟机上运行deepin。
接下来,就可以了开始我们的deepin之旅了
&amp;ndash;momen编辑于2020/07/31</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/rpm%E8%BD%ACdeb/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/rpm%E8%BD%ACdeb/</guid>
<description>nohup
nohup可以把东西挂后台</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/sed%E5%91%BD%E4%BB%A4/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/sed%E5%91%BD%E4%BB%A4/</guid>
<description>sed命令</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%89%93%E5%8C%85/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%89%93%E5%8C%85/</guid>
<description>打包 by:shenmo
解包:dpkg -x ./xxx.deb ./x/ 解出来文件
dpkg -e ./xxx.deb ./x/ 解出来debian
应用程序放在 /opt
快捷方式 .desktop 放 /usr/share/applications
卸载脚本 删除 /opt/程序目录 /usr/share/applications自动删)
修改快捷方式模板对应到 /opt/应用/可执行文件
修改快捷方式模板使其正确读取图标
创建卸载脚本
打包目录当/目录
DEBIAN 放包描述信息和卸载脚本
opt 放应用程序
/usr/share/applications 放desktop
DEBIN 下control放信息 postrm放删除信息
StartupWMClass=mentohust
如果这个应用有多个窗口,在dock栏和进程管理里面会统一显示为mentohust</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%9B%B4%E6%94%B9ip%E5%9C%B0%E5%9D%80/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%9B%B4%E6%94%B9ip%E5%9C%B0%E5%9D%80/</guid>
<description>更改ip地址
cd /etc/sysconfig/network-scripts/ vi ifcfg-*** 注意:ifcfg打头的文件可能有多个,建议逐个排查
以我的为例,我的叫ifcfg-eno16780032,打开后是以下内容
TYPE=&amp;#34;Ethernet&amp;#34; BOOTPROTO=&amp;#34;none&amp;#34; DEFROUTE=&amp;#34;yes&amp;#34; IPV4_FAILURE_FATAL=&amp;#34;no&amp;#34; IPV6INIT=&amp;#34;yes&amp;#34; IPV6_AUTOCONF=&amp;#34;yes&amp;#34; IPV6_DEFROUTE=&amp;#34;yes&amp;#34; IPV6_FAILURE_FATAL=&amp;#34;no&amp;#34; NAME=&amp;#34;eno16780032&amp;#34; UUID=&amp;#34;71d75a18-06fc-4fbd-be98-d76ddb1a7cde&amp;#34; DEVICE=&amp;#34;eno16780032&amp;#34; ONBOOT=&amp;#34;yes&amp;#34; IPADDR=&amp;#34;192.168.51.199&amp;#34; PREFIX=&amp;#34;24&amp;#34; GATEWAY=&amp;#34;192.168.51.254&amp;#34; DNS1=&amp;#34;119.29.29.29&amp;#34; IPV6_PEERDNS=&amp;#34;yes&amp;#34; IPV6_PEERROUTES=&amp;#34;yes&amp;#34; IPV6_PRIVACY=&amp;#34;no&amp;#34; 按“a”编写,按“esc”完成编写
编写完成后按“:” 如果保存就用“w”(代表write)如果不保存就按“q!&amp;ldquo;强制退出(q代表quit,!代表强制)</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%9F%A5%E7%9C%8B%E8%BF%9B%E7%A8%8B/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%9F%A5%E7%9C%8B%E8%BF%9B%E7%A8%8B/</guid>
<description>ps aux | less </description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%A1%8C%E9%9D%A2%E7%8E%AF%E5%A2%83%E5%90%AF%E5%8A%A8/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%A1%8C%E9%9D%A2%E7%8E%AF%E5%A2%83%E5%90%AF%E5%8A%A8/</guid>
<description>Deepin启动 关闭 桌面环境/图形界面 查看桌面环境状态:sudo service lightdm status
启动桌面环境:sudo service lightdm start
停止桌面环境:sudo service lightdm stop
重启桌面环境:sudo service lightdm restart</description>
</item>
<item>
<title></title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E7%AC%AC%E4%B8%80%E6%AC%A1%E4%BD%BF%E7%94%A8%E5%90%AF%E7%94%A8%E7%BD%91%E5%8D%A1/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E7%AC%AC%E4%B8%80%E6%AC%A1%E4%BD%BF%E7%94%A8%E5%90%AF%E7%94%A8%E7%BD%91%E5%8D%A1/</guid>
<description>第一次使用启用网卡(主要针对centos)
cd /etc/sysconfig/network-scripts ls vi ifcfg-*** service network restart </description>
</item>
</channel>
</rss>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+94
View File
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>第一章 on 星火文档中心</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/</link>
<description>Recent content in 第一章 on 星火文档中心</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 Oct 2021 16:59:28 +0800</lastBuildDate><atom:link href="http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>1.1 一个非常重要的东西-终端</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.1/</link>
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.1/</guid>
<description>第一节 一个非常重要的东西-终端
​ 在你装好deepin以后,四处找找,你会找到一个叫做终端的应用。你也可以使用ctrl+alt+t快捷键唤起终端.
打开它,你会看到这样的东西
momen@momen-PC:~$
诶,这不是我的机子吗?:D
好吧你看到的是这样的东西
[用户名]@(主机名):~$
没错,你要开始打命令了
打命令之前,你需要的知道的几个关系,终端(terminal,tty,shell和bash.
啊这&amp;hellip;
别慌,咱们先从字面意思来解释
terminal&amp;ndash;终点站;终端
tty&amp;ndash;终端; 电传打字机; 终端设备; 控制台; 控制终端;
shell&amp;ndash;壳
bash&amp;ndash;猛击
啊?什么玩意?越来越离谱?壳和猛击是什么东西?
问题不大,我们来一一解释.
狭义的来讲terminal=tty.
shell,他就是壳,没错就是那个王八顶的那个壳.他的对立面是核.他就像&amp;quot;cmd&amp;quot;,接受你发出的指令,解析你的命令后,再内核中运行.
bash是一个缩写,不是真的猛击啦.bash的全称为Bourne-Again SHell。
shell由许多种有bash / sh / ksh / csh / zsh.我们默认用的是bash.
shell有两种命令,内部命令和外部命令.这是个啥子哦?大家在用cmd的时候,应该都见过这个东西.&amp;ldquo;xxxxx&amp;quot;不是内部或外部命令,也不是可运行程序或批处理文件.
是不是很眼熟呢?
没错,他所说的内部命令和外部命令与linux所说的意思相似.
这个内部命令就是shell自带的命令,外部命令就是shell本身不具有,但是你另外赋给他的命令.
你可以用这些命令做许多大胆的事情.而这一切,你都需要打开终端来控制shell.
以下我来讲解几个常用命令
(未完待续)</description>
</item>
<item>
<title>1.2 shell脚本</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.2/</link>
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.2/</guid>
<description>第二节&amp;ndash;shell脚本
上一节讲到了shell,一般来讲,我们使用一两条命令就可以了解决好多事情,但有的时候,需要n条命令才可以解决一个问题,如果它需要重复执行,他就像老太太的裹脚布又臭又长,这谁能顶得住?
既然像裹脚布,那么我们就要写脚本!
所有脚本都要写在 .sh文件
#!/bin/bash这一行是声明,shell要用bin下的bash来解释他.
写注释可以用#
比如我们可以再桌面上创建一个test.sh然后这样写
#!bin/bash #this is test.sh echo &amp;#34;I love DOSUCommunity&amp;#34; echo &amp;#34;this is my favorite community&amp;#34; 写完之后就可以了运行了
momen@momen-PC:~/Desktop$ sh test.sh
然后就会输出
momen@momen-PC:~/Desktop$ sh test.sh I love DOSUCommunity this is my favorite community 是不是很简单呢?
(未完待续)</description>
</item>
<item>
<title>1.3 命令安装现成deb包</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.3/</link>
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.3/</guid>
<description> </description>
</item>
<item>
<title>第0页</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/0/</link>
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/0/</guid>
<description>第一章 初遇Linux ​ 我们这一整个手册主要针对deepin操作系统,Debian系列的其他发行版亦可借鉴。
首先我们先下载deepin镜像: 官方iso仓库 http://cdimage.deepin.com/ (不推荐,速度慢) 中国大陆地区推荐使用清华大学下载源 中國港澳臺地區推薦使用Ubuntu正體中文站(臺灣) 更多官方授权的镜像站:深度科技社区ISO仓库
下载以后,准备安装: 安装deepin大致有两个方案,一个虚拟机方案,一个实体机方案,具体方案依靠自己来定。
配置方面,推荐安装在2GB+50GB以及性能更好的电脑上,但是注意,每当amd,intel有新品cpu发布时,deepin不一定能在最新款cpu上正常运行,通常需要一个月左右的时间,才能适配完成。
虚拟机方案:vmware,VirtualBox等都可以安装,安装教程可以在第一节中找到。
实体机方案:准备一个8GB或更大容量的U盘。以下有两种常用的烧制方案。注意:无论哪种方案都会格式化u盘,请备份资料。
​ 方法一:在官网下载“深度启动盘制作工具”,使用工具烧制u盘
​ 方案二【推荐】:该方案适合需要经常刷机、重装各种系统的发烧友使用。使用ventoy,制作好u盘后,安装系统时只需把镜像拖入U盘即可。
烧录完成后,根据自己主板的型号,进入BIOS,Secure Boot选项调为disabled。然后使用u盘启动deepin安装程序。
注:部分主板不需要关闭secure boot也可以安装</description>
</item>
</channel>
</rss>