first commit
This commit is contained in:
10872
public/小白手册/index.html
Normal file
10872
public/小白手册/index.html
Normal file
File diff suppressed because it is too large
Load Diff
200
public/小白手册/index.xml
Normal file
200
public/小白手册/index.xml
Normal 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,而不是选择像Ubuntu,arch,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之旅了
|
||||
&ndash;momen编辑于2020/07/31
|
||||
全新的引擎,更好的体验,星火文档中心邀请你一起来编辑这些文档
|
||||
你可以推送你的md笔记至https://gitee.com/deepin-community-store/linux-wiki并在你所编辑的页面中署名
|
||||
&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 &lt;docker container id&gt; 启动一个已停止的容器
|
||||
docker stop &lt;容器id&gt;停止容器
|
||||
docker restart &lt;容器id&gt;重启容器
|
||||
进入容器的两个命令 exec命名(好) docker exec -it &lt;容器id&gt; /bin/bash attach命令(退出后会终止容器) docker attach &lt;容器id&gt; docker rm -f &lt;容器id&gt;删除容器
|
||||
进阶
|
||||
docker container prune删除所有容器
|
||||
镜像操作
|
||||
docker images列出本机镜像
|
||||
rocket.chat &lt;none&gt; 30f3e81eb8ad 6 months ago 816MB rocket.chat &lt;none&gt; 077d87f42281 6 months ago 816MB rocket.chat &lt;none&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 &ndash;no-check-certificate &ldquo;https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh&quot; &amp;&amp; chmod +x tcp.sh &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,而不是选择像Ubuntu,arch,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之旅了
|
||||
&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=&#34;Ethernet&#34; BOOTPROTO=&#34;none&#34; DEFROUTE=&#34;yes&#34; IPV4_FAILURE_FATAL=&#34;no&#34; IPV6INIT=&#34;yes&#34; IPV6_AUTOCONF=&#34;yes&#34; IPV6_DEFROUTE=&#34;yes&#34; IPV6_FAILURE_FATAL=&#34;no&#34; NAME=&#34;eno16780032&#34; UUID=&#34;71d75a18-06fc-4fbd-be98-d76ddb1a7cde&#34; DEVICE=&#34;eno16780032&#34; ONBOOT=&#34;yes&#34; IPADDR=&#34;192.168.51.199&#34; PREFIX=&#34;24&#34; GATEWAY=&#34;192.168.51.254&#34; DNS1=&#34;119.29.29.29&#34; IPV6_PEERDNS=&#34;yes&#34; IPV6_PEERROUTES=&#34;yes&#34; IPV6_PRIVACY=&#34;no&#34; 按“a”编写,按“esc”完成编写
|
||||
编写完成后按“:” 如果保存就用“w”(代表write)如果不保存就按“q!&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>
|
||||
10898
public/小白手册/前言/index.html
Normal file
10898
public/小白手册/前言/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10923
public/小白手册/服务器日常/docker/index.html
Normal file
10923
public/小白手册/服务器日常/docker/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10948
public/小白手册/服务器日常/ecs添加swap/index.html
Normal file
10948
public/小白手册/服务器日常/ecs添加swap/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10886
public/小白手册/疑难解答/bbr加速/index.html
Normal file
10886
public/小白手册/疑难解答/bbr加速/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10888
public/小白手册/疑难解答/deepin添加ppa/index.html
Normal file
10888
public/小白手册/疑难解答/deepin添加ppa/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10885
public/小白手册/疑难解答/linux后台运行程序/index.html
Normal file
10885
public/小白手册/疑难解答/linux后台运行程序/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10897
public/小白手册/疑难解答/readme/index.html
Normal file
10897
public/小白手册/疑难解答/readme/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10887
public/小白手册/疑难解答/rpm转deb/index.html
Normal file
10887
public/小白手册/疑难解答/rpm转deb/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10886
public/小白手册/疑难解答/sed命令/index.html
Normal file
10886
public/小白手册/疑难解答/sed命令/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10901
public/小白手册/疑难解答/打包/index.html
Normal file
10901
public/小白手册/疑难解答/打包/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10911
public/小白手册/疑难解答/更改ip地址/index.html
Normal file
10911
public/小白手册/疑难解答/更改ip地址/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10886
public/小白手册/疑难解答/查看进程/index.html
Normal file
10886
public/小白手册/疑难解答/查看进程/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10890
public/小白手册/疑难解答/桌面环境启动/index.html
Normal file
10890
public/小白手册/疑难解答/桌面环境启动/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10891
public/小白手册/疑难解答/第一次使用启用网卡/index.html
Normal file
10891
public/小白手册/疑难解答/第一次使用启用网卡/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10920
public/小白手册/第一章/0/index.html
Normal file
10920
public/小白手册/第一章/0/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10921
public/小白手册/第一章/1.1/index.html
Normal file
10921
public/小白手册/第一章/1.1/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10915
public/小白手册/第一章/1.2/index.html
Normal file
10915
public/小白手册/第一章/1.2/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10896
public/小白手册/第一章/1.3/index.html
Normal file
10896
public/小白手册/第一章/1.3/index.html
Normal file
File diff suppressed because it is too large
Load Diff
10889
public/小白手册/第一章/index.html
Normal file
10889
public/小白手册/第一章/index.html
Normal file
File diff suppressed because it is too large
Load Diff
94
public/小白手册/第一章/index.xml
Normal file
94
public/小白手册/第一章/index.xml
Normal 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.
|
||||
啊这&hellip;
|
||||
别慌,咱们先从字面意思来解释
|
||||
terminal&ndash;终点站;终端
|
||||
tty&ndash;终端; 电传打字机; 终端设备; 控制台; 控制终端;
|
||||
shell&ndash;壳
|
||||
bash&ndash;猛击
|
||||
啊?什么玩意?越来越离谱?壳和猛击是什么东西?
|
||||
问题不大,我们来一一解释.
|
||||
狭义的来讲terminal=tty.
|
||||
shell,他就是壳,没错就是那个王八顶的那个壳.他的对立面是核.他就像&quot;cmd&quot;,接受你发出的指令,解析你的命令后,再内核中运行.
|
||||
bash是一个缩写,不是真的猛击啦.bash的全称为Bourne-Again SHell。
|
||||
shell由许多种有bash / sh / ksh / csh / zsh.我们默认用的是bash.
|
||||
shell有两种命令,内部命令和外部命令.这是个啥子哦?大家在用cmd的时候,应该都见过这个东西.&ldquo;xxxxx&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>第二节&ndash;shell脚本
|
||||
上一节讲到了shell,一般来讲,我们使用一两条命令就可以了解决好多事情,但有的时候,需要n条命令才可以解决一个问题,如果它需要重复执行,他就像老太太的裹脚布又臭又长,这谁能顶得住?
|
||||
既然像裹脚布,那么我们就要写脚本!
|
||||
所有脚本都要写在 .sh文件
|
||||
#!/bin/bash这一行是声明,shell要用bin下的bash来解释他.
|
||||
写注释可以用#
|
||||
比如我们可以再桌面上创建一个test.sh然后这样写
|
||||
#!bin/bash #this is test.sh echo &#34;I love DOSUCommunity&#34; echo &#34;this is my favorite community&#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>
|
||||
Reference in New Issue
Block a user