Skip to content

Commit b0c39af

Browse files
committed
2016-03-25
1 parent e3abca1 commit b0c39af

14 files changed

Lines changed: 208 additions & 178 deletions

CentOS.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,28 @@
1-
# Linux-Tutorial
1+
# CentOS 介绍
2+
3+
- CentOS Wiki:<https://zh.wikipedia.org/zh/CentOS>
4+
- CentOS 百科:<http://baike.baidu.com/item/centos>
5+
- CentOS 官网:<https://www.centos.org/>
6+
- CentOS 的自我介绍:<https://wiki.centos.org/zh/About>
7+
- CentOS 官网下载:<https://www.centos.org/download/>
8+
- CentOS 官网下载(含有旧版本):<https://wiki.centos.org/Download>
9+
- CentOS 国内镜像下载:<http://isoredirect.centos.org/centos/6/isos/x86_64/>
10+
- 版本更新记录:<https://wiki.centos.org/Manuals/ReleaseNotes>
11+
12+
13+
14+
# CentOS 原型系统:Red Hat Enterprise Linux
15+
16+
17+
- Red Hat Enterprise Linux Wiki:<https://zh.wikipedia.org/wiki/Red_Hat_Enterprise_Linux>
18+
- Red Hat Enterprise Linux 百科:<http://baike.baidu.com/view/1139590.htm>
19+
- 衍生版本:<https://zh.wikipedia.org/wiki/Red_Hat_Enterprise_Linux衍生版本>
20+
21+
22+
# Red Hat Enterprise Linux 后花园系统:Fedora
23+
24+
- Fedora Wiki:<https://zh.wikipedia.org/wiki/Fedora>
25+
- Fedora 百科:<http://baike.baidu.com/view/182182.htm>
26+
- Fedora 官网:<https://fedoraproject.org>
27+
- Fedora 官网桌面版下载:<https://getfedora.org/zh_CN/workstation/download/>
28+
- Fedora 官网文档:<https://docs.fedoraproject.org/zh-CN/index.html>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
- [Linux 介绍](Linux.md)
1414
- [Ubuntu 介绍](Ubuntu.md)
1515
- [Ubuntu 安装](Ubuntu-Install.md)
16-
- [Ubuntu 设置(目录)](ubuntu-settings/TOC.md)
16+
- [Ubuntu 设置(目录)](ubuntu-settings/ubuntu-settings-toc.md)
1717
- [CentOS 介绍](CentOS.md)
1818
- [CentOS 安装](CentOS-Install.md)
19-
- [CentOS 设置(目录)](centos-settings/TOC.md)
19+
- [CentOS 设置(目录)](centos-settings/centos-settings-toc.md)
2020
- [Bash 命令](Bash.md)
2121
- [Bash 其他常用命令](Bash-Other-Bash.md)
2222
- [Linux 下常用压缩文件的解压、压缩](File-Extract-Compress.md)

Ubuntu-Popular-Software.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Ubuntu 常用的软件
2+
3+
## 安装软件基础
4+
5+
- 取回更新的软件包列表信息:`sudo apt-get update`
6+
- 查看已经安装了哪些包:`sudo dpkg -l`
7+
- 查看已安装列表中是否有 Vim 软件,没有安装则没有数据显示:`sudo dpkg -l | grep vim`
8+
- 查看 Vim 软件安装位置:`sudo dpkg -L vim`
9+
- 安装名为 Vim 的软件:`sudo apt-get install vim`
10+
- 卸载名为 Vim 的软件(保留配置文档):`sudo apt-get remove vim`
11+
- 卸载名为 Vim 的软件(删除配置文档):`sudo apt-get –purge remove vim`
12+
- 升级系统所有有新版本的软件:`sudo apt-get upgrade`
13+
- 删除已下载的旧包文件:`sudo apt-get autoclean`
14+
- 删除所有已下载的包文件:`sudo apt-get clean`
15+
- 卸载所有自动安装且不再使用的软件包:`sudo apt-get autoremove`
16+
17+
18+
## 安装常用系统软件
19+
20+
- sysv-rc-conf
21+
- 介绍:管理启动项,一般是用在 Ubuntu 系统上的,CentOS 一般用的 chkconfig,两者用法差不多
22+
- 安装:`sudo apt-get install -y sysv-rc-conf`
23+
- 资料:
24+
- 图文资料:<http://blog.csdn.net/gatieme/article/details/45251389>
25+
- 图文资料:<http://gm100861.blog.51cto.com/1930562/950066>
26+
27+
28+

Ubuntu-Specific-Command.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Ubuntu 特殊命令
2+
3+
4+
- `lsb_release -a`,查看发行代号
5+
- `cat /etc/issue`,查看 Ubuntu 发行版本
6+
- ``
7+
- ``
8+
- ``
9+
- ``
10+
- ``
11+
- ``
12+
- ``
13+
- ``
14+

Ubuntu.md

Lines changed: 31 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,173 +1,35 @@
11
# Ubuntu 介绍
22

3+
- Ubuntu 母公司 Canonical:<http://www.canonical.com/>
4+
- Ubuntu 百科:<http://baike.baidu.com/item/ubuntu>
5+
- Ubuntu Wiki:<http://zh.wikipedia.org/zh/Ubuntu>
6+
- Ubuntu 英文官网:<http://www.ubuntu.com>
7+
- Ubuntu 中文官网:<http://www.ubuntu.org.cn>
8+
- Ubuntu kylin 官网:<http://cn.Ubuntu.com/desktop>
9+
- Ubuntu 标准桌面版下载:<http://www.ubuntu.org.cn/download/desktop>
10+
- Ubuntu 官网回答社区:<http://askubuntu.com/>
11+
- Ubuntu 正式支援的衍生版本包括:Kubuntu、Edubuntu、Xubuntu、Ubuntu Kylin、Ubuntu Server Edition、Gobuntu、Ubuntu Studio、Ubuntu JeOS、Mythbuntu、BioInfoServOS、Ebuntu、Xubuntu、Fluxbuntu、Freespire、Gnoppix、gOS、Hiweed、Jolicloud、Gubuntu、Linux Deepin、Linux Mint、Lubuntu、nUbuntu、Ubuntu CE 等。
12+
- Unity 桌面介绍:<http://www.oschina.net/p/ubuntu-unity>
13+
14+
15+
# Ubuntu 原型系统:Debian
16+
17+
- Debian Wiki:<http://zh.wikipedia.org/zh/Debian>
18+
- Debian 百科:<http://baike.baidu.com/view/40687.htm>
19+
- Debian 官网:<http://www.debian.org/index.zh-cn.html>
20+
- Debian 自我介绍:<https://www.debian.org/intro/about>
21+
- 关键字:
22+
- [Debian 社群契约](https://www.debian.org/social_contract)
23+
- [何谓自由 (Free)? 或者说,何谓自由软件 (Free Software)?](https://www.debian.org/intro/free)
24+
- [什么是自由软件?](http://www.gnu.org/philosophy/free-sw)
25+
- [Debian 历史](https://www.debian.org/doc/manuals/project-history/)
26+
- Debian 的发行版介绍:<https://www.debian.org/releases/>
27+
- Debian 官网稳定版下载 1:<https://www.debian.org/distrib/>
28+
- Debian 官网稳定版下载 2:<https://www.debian.org/CD/http-ftp/#stable>
29+
- Debian 中国镜像 1:<http://mirrors.hust.edu.cn/debian-cd/>
30+
- Debian 中国镜像 2:<ftp://mirrors.sohu.com/debian-cd/>
31+
- Debian 中国镜像 3:<ftp://debian.ustc.edu.cn/debian-cd/>
32+
- Debian 中文安装手册:<https://www.debian.org/releases/stable/amd64/>
33+
- Debian 软件列表:<https://packages.debian.org/stable/>
334

435

5-
6-
## 常用系统设置
7-
8-
9-
10-
11-
右键桌面设置中有一个“开启工作区“这个类似虚拟桌面,可以有多个桌面,工作的时候很有用。
12-
13-
桌面右键设置唤醒和黑屏之后唤醒不需要输入密码,既然是平时的开发机,那就没啥多大隐私,而且是在自己家里, 设置密码太麻烦了。
14-
15-
改变鼠标图标大小,小了我看着不爽,下面三个文章是我找的,但是都不适合我:
16-
http://askubuntu.com/questions/66843/how-to-change-mouse-cursor-and-theme
17-
http://www.wikihow.com/Change-Themes-on-Ubuntu-with-Gnome-Tweak-Tool
18-
http://askubuntu.com/questions/126491/how-do-i-change-the-cursor-and-its-size
19-
我最终的方式是:安装dconf-tools
20-
安装后好,编辑这个文件,命令:gedit ~/ .Xresources
21-
在打开的文件中添加这句话:Xcursor.size:48,其中48是文字大小,默认系统是24的大小,然后重启电脑即可。
22-
23-
查看隐藏文件和目录:按Ctrl+H
24-
http://jingyan.baidu.com/article/49711c61415945fa441b7c89.html
25-
26-
Ubuntu使用root账号登录图形界面,必须先给root设置密码,并解锁:
27-
设置密码:sudo passwd root
28-
解锁:sudo passwd -u root
29-
锁住:sudo passwd -l root
30-
解锁之后,修改这个配置文件,命令:vi /etc/lightdm/lightdm.conf,最后添加一行:greeter-show-manual-login=true (这一行表示可以输入用户名的方式登录账号),重启电脑,登录界面就有一个可以输入用户名的输入框,直接输入root,再输入密码。
31-
32-
不输入密码执行sudo命令方法介绍:
33-
http://www.nenew.net/nopasswd-exec-sudo-sudoers.html
34-
http://blog.xuite.net/chingwei/blog/38359401……A2%BC(需要穿越)
35-
36-
通过find命令查找系统文件的:(要查找整个硬盘,可以先切换到根目录,cd /)
37-
38-
find / -name 文件名(文件名可以用使用通配符)
39-
40-
41-
------------------------------------------------------------------------------------------
42-
43-
1.查看内核版本
44-
uname -a
45-
46-
2.查看 Ubuntu 发行版本
47-
cat /etc/issue
48-
49-
3.查看发行代号
50-
sudo lsb_release -a
51-
52-
53-
54-
------------------------------------------------------------------------------------------
55-
56-
## 修改源
57-
58-
简单地讲:修改资源源地址主要是为了加快下载速度,默认的资源源地址在是境外,速度肯定没有境内速度快。
59-
60-
了解源这东西:<http://wiki.ubuntu.org.cn/%E6%BA%90%E5%88%97%E8%A1%A8>
61-
62-
文章的重点是页面最下面,每个版本的源地址都是不一样的,所以要懂得替换对应的版本英文名称,各个版本的英文名称大家自己找下,然后进行修改。
63-
64-
65-
> 国内常用源配置方法:
66-
67-
- 163 源:<http://mirrors.163.com/.help/ubuntu.html>
68-
- 阿里源:<http://mirrors.aliyun.com/help/ubuntu>
69-
- sohu:<http://mirrors.sohu.com/help/ubuntu.html>
70-
71-
> 替换过程(更换之前最好备份一下 sources.list 配置文件):
72-
73-
- 我以 Ubuntu 14.04 为例,使用网易源:
74-
- 备份下:`sudo cp /etc/apt/sources.list /etc/apt/sources_20151128_back.list`
75-
- 用 gedit 编辑器打开配置文件:`sudo gedit /etc/apt/sources.list`,替换里面所有内容为下面这些内容:
76-
- deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
77-
- deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
78-
- deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
79-
- deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
80-
- deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
81-
- deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
82-
- deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
83-
- deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
84-
- deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
85-
- deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
86-
87-
> 更换源之后,需要在终端中执行,这是必须做的,不然你后面可能会遇到 apt-get 安装会提示:未发现软件包。
88-
89-
- `sudo apt-get update`
90-
91-
## 安装软件基础
92-
93-
- 取回更新的软件包列表信息:`sudo apt-get update`
94-
- 查看已经安装了哪些包:`dpkg -l`
95-
- 查看已安装列表中是否有vim软件,没有安装则没有数据显示:`dpkg -l | grep vim`
96-
- 查看vim软件安装位置:`dpkg -L vim`
97-
- 安装名为XXX的软件:`sudo apt-get install XXX`
98-
- 卸载名为XXX的软件(保留配置文档):`sudo apt-get remove XXX`
99-
- 卸载名为XXX的软件(删除配置文档):`sudo apt-get –purge remove XXX`
100-
- 升级系统所有有新版本的软件:`sudo apt-get upgrade`
101-
- 删除已下载的旧包文件:`sudo apt-get autoclean`
102-
- 删除所有已下载的包文件:`sudo apt-get clean`
103-
- 卸载所有自动安装且不再使用的软件包:`sudo apt-get autoremove`
104-
105-
106-
107-
绿色版软件解压之后,是需要单独为它创建启动器,不然你只能用终端打开,用终端就太慢了,下面文章是常见的通过创建desktop文件来新建启动器的。 不知道除了创建desktop文件还有其他方式吗?我很讨厌这种方式,可是一直没找到,有的可以给我留言,感谢了!
108-
http://my.oschina.net/Obahua/blog/110612
109-
http://www.cnblogs.com/enein/articles/2818864.html
110-
http://blog.chinaunix.net/uid-26404477-id-3462663.html
111-
112-
113-
114-
115-
## 安装常用系统软件
116-
117-
- 安装各个软件之前的必须先执行的命令:`sudo apt-get update`
118-
119-
120-
121-
122-
123-
> sysv-rc-conf
124-
125-
- 介绍:管理启动项,一般是用在 Ubuntu 系统上的,CentOS 一般大家用 chkconfig
126-
- 安装:`sudo apt-get install -y sysv-rc-conf `
127-
- 资料:
128-
- http://blog.csdn.net/gatieme/article/details/45251389
129-
- http://gm100861.blog.51cto.com/1930562/950066
130-
131-
132-
133-
134-
135-
------------------------------------------------------------------------------------------
136-
137-
## 安装常用生活软件
138-
139-
------------------------------------------------------------------------------------------
140-
## 安装常用开发软件
141-
142-
143-
------------------------------------------------------------------------------------------
144-
## Ubuntu 其他资料
145-
146-
147-
148-
149-
Ubuntu 桌面入门指南:
150-
http://wiki.ubuntu.org.cn/Ubuntu%E6%A1%8C%E9%9D%A2%E5%85%A5%E9%97%A8%E6%8C%87%E5%8D%97
151-
152-
Ubuntu 服务器入门指南:
153-
http://wiki.ubuntu.org.cn/Ubuntu%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%85%A5%E9%97%A8%E6%8C%87%E5%8D%97
154-
155-
技巧教程:
156-
http://wiki.ubuntu.org.cn/UbuntuSkills
157-
158-
视频教程:
159-
http://www.imooc.com/index/search?words=Linux
160-
http://study.163.com/search.htm?p=Linux
161-
http://www.icoolxue.com/album/show/26
162-
http://www.howzhi.com/search?q=Linux
163-
http://www.icoolxue.com/search/album/view/1/10?q=Linux
164-
http://www.verycd.com/topics/2843130/
165-
http://www.verycd.com/topics/2752094/
166-
http://www.verycd.com/topics/2772159/
167-
http://www.verycd.com/topics/2973546/
168-
http://www.verycd.com/topics/2958768/
169-
http://www.verycd.com/topics/2872853/
170-
http://www.verycd.com/topics/2749954/
171-
http://www.verycd.com/topics/2739186/
172-
http://www.verycd.com/topics/2748974/
173-
http://www.verycd.com/topics/2738557/

ubuntu-settings/Network-Settings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ nameserver 8.8.8.8
4747

4848
## 配置 VPN(作为开发者经常用):
4949

50-
- ![Ubuntu VPN 配置](images/Ubuntu-a-3.jpg)
51-
- ![Ubuntu VPN 配置](images/Ubuntu-a-4.jpg)
52-
- ![Ubuntu VPN 配置](images/Ubuntu-a-5.jpg)
53-
- ![Ubuntu VPN 配置](images/Ubuntu-a-6.jpg)
50+
- ![Ubuntu VPN 配置](../images/Ubuntu-a-3.jpg)
51+
- ![Ubuntu VPN 配置](../images/Ubuntu-a-4.jpg)
52+
- ![Ubuntu VPN 配置](../images/Ubuntu-a-5.jpg)
53+
- ![Ubuntu VPN 配置](../images/Ubuntu-a-6.jpg)
5454

5555

5656
## 其他常见问题

0 commit comments

Comments
 (0)