Skip to content

Commit 2dfb94d

Browse files
committed
第一次同步提交 github 和 gitee
1 parent 5dc233f commit 2dfb94d

25 files changed

+263
-190
lines changed

README.md

Lines changed: 54 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Linux 教程
22

3-
## :wrench: [软件安装配置](docs/linux/soft/README.md)
3+
> 项目同步维护在 [github](https://github.com/dunwu/linux-tutorial)[gitee](https://gitee.com/turnon/linux-tutorial)
4+
5+
| :wrench: | :shell: | :memo: | :books: |
6+
| :----------------------------------: | :---------------------: | :--------------------: | :-------------------------: |
7+
| [软件安装配置](#wrench-软件安装配置) | [运维脚本](#shell-运维脚本) | [知识点](#memo-知识点) | [学习资源](#books-学习资源) |
8+
9+
## :wrench: 软件安装配置
410

511
- [JDK 安装](docs/linux/soft/jdk-install.md)
612
- [Elastic 安装](docs/linux/soft/elastic)
@@ -17,7 +23,7 @@
1723
- [Zookeeper 安装](docs/linux/soft/zookeeper-install.md)
1824
- [Nacos 安装](docs/linux/soft/nacos-install.md)
1925

20-
## :shell: 脚本
26+
## :shell: 运维脚本
2127

2228
- [软件安装配置脚本集合](https://github.com/dunwu/linux-tutorial/tree/master/codes/linux/soft)
2329

@@ -54,62 +60,49 @@
5460

5561
## :books: 学习资源
5662

57-
### 命令行检索
58-
59-
- [Linux 命令大全](http://man.linuxde.net/)
60-
- [linux-command](https://jaywcjlove.gitee.io/linux-command/)
61-
62-
### 社区网站
63-
64-
- [Linux 中国](https://linux.cn/) - 各种资讯、文章、技术
65-
- [实验楼](https://www.shiyanlou.com/) - 免费提供了 Linux 在线环境,不用在自己机子上装系统也可以学习 Linux,超方便实用。
66-
- [鸟哥的 linux 私房菜](http://linux.vbird.org/) - 非常适合 Linux 入门初学者看的教程。
67-
- [Linux 公社](http://www.linuxidc.com/) - Linux 相关的新闻、教程、主题、壁纸都有。
68-
- [Linux Today](http://www.linuxde.net) - Linux 新闻资讯发布,Linux 职业技术学习!。
69-
70-
### 知识相关
71-
72-
- [Linux 思维导图整理](http://www.jianshu.com/p/59f759207862)
73-
- [Linux 初学者进阶学习资源整理](http://www.jianshu.com/p/fe2a790b41eb)
74-
- [Linux 基础入门(新版)](https://www.shiyanlou.com/courses/1)
75-
- [【译】Linux 概念架构的理解](http://www.jianshu.com/p/c5ae8f061cfe) [En](http://oss.org.cn/ossdocs/linux/kernel/a1/index.html)
76-
- [Linux 守护进程的启动方法](http://www.ruanyifeng.com/blog/2016/02/linux-daemon.html)
77-
- [Linux 编程之内存映射](https://www.shiyanlou.com/questions/2992)
78-
- [Linux 知识点小结](https://blog.huachao.me/2016/1/Linux%E7%9F%A5%E8%AF%86%E7%82%B9%E5%B0%8F%E7%BB%93/)
79-
- [10 大白帽黑客专用的 Linux 操作系统](https://linux.cn/article-6971-1.html)
80-
81-
### 软件工具
82-
83-
- [超赞的 Linux 软件](https://www.gitbook.com/book/alim0x/awesome-linux-software-zh_cn/details) Github 仓库[Zh](https://github.com/alim0x/Awesome-Linux-Software-zh_CN) [En](https://github.com/VoLuong/Awesome-Linux-Software)
84-
- [程序员喜欢的 9 款最佳的 Linux 文件比较工具](http://os.51cto.com/art/201607/513796.htm)
85-
- [提高 Linux 开发效率的 5 个工具](http://www.codeceo.com/article/5-linux-productivity-tools.html)
86-
- [你要了解的 11 款面向 Linux 系统的一流备份实用工具](http://os.51cto.com/art/201603/508027.htm)
87-
- [16 个很有用的在线工具](http://www.simlinux.com/archives/264.html)
88-
- Adobe 软件的最佳替代品 [原文在这里](https://linux.cn/article-8928-1.html)
89-
- [Evince (Adobe Acrobat Reader)](https://wiki.gnome.org/Apps/Evince) 一个“支持多种文档格式的文档查看器”,可以查看 PDF,还支持各种漫画书格式
90-
- [Pixlr (Adobe Photoshop)](https://pixlr.com/) 一个强大的图像编辑工具
91-
- [Inkscape (Adobe Illustrator)](https://inkscape.org/zh/) 一个专业的矢量图形编辑器
92-
- [Pinegrow Web Editor (Adobe Dreamweaver)](https://pinegrow.com/) 一个可视化编辑制作 HTML 网站
93-
- [Scribus (Adobe InDesign)](https://www.scribus.net/) 一个开源电子杂志制作软件
94-
- [Webflow (Adobe Muse)](https://webflow.com/) 一款可以帮助用户不用编码就可以快速创建网站的谷歌浏览器插件。
95-
- [Tupi (Adobe Animate)](http://www.maefloresta.com/portal/) 一款可以创建 HTML5 动画的工具。
96-
- [Black Magic Fusion (Adobe After Effects)](https://www.blackmagicdesign.com) 一款先进的合成软件,广泛应用于视觉特效、广电影视设计以及 3D 动画设计等领域。
97-
98-
### 中国开源镜像站点
99-
100-
- 阿里云开源镜像站:http://mirrors.aliyun.com/
101-
- 网易开源镜像站:http://mirrors.163.com/
102-
- 搜狐开源镜像站:http://mirrors.sohu.com/
103-
- 北京交通大学:http://mirror.bjtu.edu.cn/ \<教育网荐\>
104-
- 兰州大学:http://mirror.lzu.edu.cn/ \<西北高校 FTP 搜索引擎\>
105-
- 厦门大学:http://mirrors.xmu.edu.cn/
106-
- 上海交通大学:http://ftp.sjtu.edu.cn/
107-
- 清华大学:http://mirrors.tuna.tsinghua.edu.cn/
108-
- http://mirrors6.tuna.tsinghua.edu.cn/
109-
- http://mirrors4.tuna.tsinghua.edu.cn/
110-
- 中国科学技术大学:http://mirrors.ustc.edu.cn/
111-
- http://ipv4.ustc.edu.cn/ \<教育网、电信\>
112-
- http://ipv6.ustc.edu.cn/ \<IPv6 only\>
113-
- 东北大学:http://mirror.neu.edu.cn/
114-
- 浙江大学:http://mirrors.zju.edu.cn/
115-
- 东软信息学院:http://mirrors.neusoft.edu.cn/
63+
- 命令行检索
64+
- [Linux 命令大全](http://man.linuxde.net/)
65+
- [linux-command](https://jaywcjlove.gitee.io/linux-command/)
66+
- 社区网站
67+
- [Linux 中国](https://linux.cn/) - 各种资讯、文章、技术
68+
- [实验楼](https://www.shiyanlou.com/) - 免费提供了 Linux 在线环境,不用在自己机子上装系统也可以学习 Linux,超方便实用。
69+
- [鸟哥的 linux 私房菜](http://linux.vbird.org/) - 非常适合 Linux 入门初学者看的教程。
70+
- [Linux 公社](http://www.linuxidc.com/) - Linux 相关的新闻、教程、主题、壁纸都有。
71+
- [Linux Today](http://www.linuxde.net) - Linux 新闻资讯发布,Linux 职业技术学习!。
72+
- 知识相关
73+
- [Linux 思维导图整理](http://www.jianshu.com/p/59f759207862)
74+
- [Linux 初学者进阶学习资源整理](http://www.jianshu.com/p/fe2a790b41eb)
75+
- [Linux 基础入门(新版)](https://www.shiyanlou.com/courses/1)
76+
- [【译】Linux 概念架构的理解](http://www.jianshu.com/p/c5ae8f061cfe) [En](http://oss.org.cn/ossdocs/linux/kernel/a1/index.html)
77+
- [Linux 守护进程的启动方法](http://www.ruanyifeng.com/blog/2016/02/linux-daemon.html)
78+
- [Linux 编程之内存映射](https://www.shiyanlou.com/questions/2992)
79+
- [Linux 知识点小结](https://blog.huachao.me/2016/1/Linux%E7%9F%A5%E8%AF%86%E7%82%B9%E5%B0%8F%E7%BB%93/)
80+
- [10 大白帽黑客专用的 Linux 操作系统](https://linux.cn/article-6971-1.html)
81+
- 软件工具
82+
- [超赞的 Linux 软件](https://www.gitbook.com/book/alim0x/awesome-linux-software-zh_cn/details) Github 仓库[Zh](https://github.com/alim0x/Awesome-Linux-Software-zh_CN) [En](https://github.com/VoLuong/Awesome-Linux-Software)
83+
- [程序员喜欢的 9 款最佳的 Linux 文件比较工具](http://os.51cto.com/art/201607/513796.htm)
84+
- [提高 Linux 开发效率的 5 个工具](http://www.codeceo.com/article/5-linux-productivity-tools.html)
85+
- [你要了解的 11 款面向 Linux 系统的一流备份实用工具](http://os.51cto.com/art/201603/508027.htm)
86+
- [16 个很有用的在线工具](http://www.simlinux.com/archives/264.html)
87+
- Adobe 软件的最佳替代品 [原文在这里](https://linux.cn/article-8928-1.html)
88+
- [Evince (Adobe Acrobat Reader)](https://wiki.gnome.org/Apps/Evince) 一个“支持多种文档格式的文档查看器”,可以查看 PDF,还支持各种漫画书格式
89+
- [Pixlr (Adobe Photoshop)](https://pixlr.com/) 一个强大的图像编辑工具
90+
- [Inkscape (Adobe Illustrator)](https://inkscape.org/zh/) 一个专业的矢量图形编辑器
91+
- [Pinegrow Web Editor (Adobe Dreamweaver)](https://pinegrow.com/) 一个可视化编辑制作 HTML 网站
92+
- [Scribus (Adobe InDesign)](https://www.scribus.net/) 一个开源电子杂志制作软件
93+
- [Webflow (Adobe Muse)](https://webflow.com/) 一款可以帮助用户不用编码就可以快速创建网站的谷歌浏览器插件。
94+
- [Tupi (Adobe Animate)](http://www.maefloresta.com/portal/) 一款可以创建 HTML5 动画的工具。
95+
- [Black Magic Fusion (Adobe After Effects)](https://www.blackmagicdesign.com) 一款先进的合成软件,广泛应用于视觉特效、广电影视设计以及 3D 动画设计等领域。
96+
- 中国开源镜像站点
97+
- [阿里云开源镜像站](http://mirrors.aliyun.com/)
98+
- [网易开源镜像站](http://mirrors.163.com/)
99+
- [搜狐开源镜像站](http://mirrors.sohu.com/)
100+
- [北京交通大学](http://mirror.bjtu.edu.cn/)
101+
- [兰州大学](http://mirror.lzu.edu.cn/)
102+
- [厦门大学](http://mirrors.xmu.edu.cn/)
103+
- [上海交通大学](http://ftp.sjtu.edu.cn/)
104+
- [清华大学](http://mirrors.tuna.tsinghua.edu.cn/)
105+
- [中国科学技术大学](http://mirrors.ustc.edu.cn/)
106+
- [东北大学](http://mirror.neu.edu.cn/)
107+
- [浙江大学](http://mirrors.zju.edu.cn/)
108+
- [东软信息学院](http://mirrors.neusoft.edu.cn/)

codes/linux/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
(1)下载脚本
88

99
```sh
10-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/download.sh | bash
10+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/download.sh | bash
1111
```
1212

1313
(2)执行脚本
@@ -20,7 +20,7 @@ cd /tmp/dunwu-ops
2020
(3)清除脚本
2121

2222
```sh
23-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/clear.sh | bash
23+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/clear.sh | bash
2424
```
2525

2626
本项目总结、收集 Linux 环境下运维常用到的脚本工具,大致分为三类:

codes/linux/clear.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

codes/linux/download.sh

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
#!/usr/bin/env bash
22

3-
path=/tmp/dunwu-ops
4-
mkdir -p ${path}
3+
##############################################################################
4+
# console color
5+
C_BLACK="\033[1;30m"
6+
C_RED="\033[1;31m"
7+
C_GREEN="\033[1;32m"
8+
C_YELLOW="\033[1;33m"
9+
C_BLUE="\033[1;34m"
10+
C_PURPLE="\033[1;35m"
11+
C_CYAN="\033[1;36m"
12+
C_RESET="$(tput sgr0)"
13+
##############################################################################
514

6-
printf "\n>>>>>>>>> download scripts to ${path}"
7-
wget -N https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/dunwu-ops.sh -O ${path}/dunwu-ops.sh
8-
wget -N https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/dunwu-soft.sh -O ${path}/dunwu-soft.sh
9-
wget -N https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/dunwu-sys.sh -O ${path}/dunwu-sys.sh
15+
path=/home/scripts/linux-tutorial
16+
printf "\n${C_BLUE}>>>>>>>> Downloading linux-tutorial to ${path}.${C_RESET}\n"
17+
command -v yum >/dev/null 2>&1 || { echo >&2 -e "${C_RED}Require yum but it's not installed. Aborting.${C_RESET}"; exit 1; }
18+
command -v git >/dev/null 2>&1 || { echo >&2 -e "${C_YELLOW}Not detected git. Install git.${C_RESET}"; yum -y install git; }
1019

11-
chmod +x ${path}/dunwu-ops.sh
12-
chmod +x ${path}/dunwu-soft.sh
13-
chmod +x ${path}/dunwu-sys.sh
20+
if [[ -d ${path} ]]; then
21+
cd ${path}
22+
git pull
23+
else
24+
mkdir -p ${path}
25+
git clone --no-checkout https://gitee.com/turnon/linux-tutorial.git ${path}
26+
fi
27+
printf "\n${C_GREEN}<<<<<<<< Download linux-tutorial to ${path} ok.${C_RESET}\n"

codes/linux/dunwu-soft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if [[ -n $index ]]; then
3333
exit -1
3434
fi
3535
key=${menus[$no]}
36-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/soft/${key}-install.sh | bash
36+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/soft/${key}-install.sh | bash
3737
else
3838
echo "输入项不支持!"
3939
exit -1

codes/linux/dunwu-sys.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ select item in ${menus[@]}
1616
do
1717
case ${item} in
1818
"替换yum镜像")
19-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/sys/change-yum-repo.sh | bash
19+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/sys/change-yum-repo.sh | bash
2020
main ;;
2121
"安装基本的命令工具")
22-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/sys/install-tools.sh | bash
22+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/sys/install-tools.sh | bash
2323
main ;;
2424
"安装常用libs")
25-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/sys/install-libs.sh | bash
25+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/sys/install-libs.sh | bash
2626
main ;;
2727
"系统配置")
28-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/sys/sys-settings.sh | bash
28+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/sys/sys-settings.sh | bash
2929
main ;;
3030
"全部执行")
31-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/sys/change-yum-repo.sh | bash
32-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/sys/install-tools | bash
33-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/sys/install-libs.sh | bash
34-
curl -o- https://raw.githubusercontent.com/dunwu/linux-tutorial/master/codes/linux/sys/sys-settings.sh | bash
31+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/sys/change-yum-repo.sh | bash
32+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/sys/install-tools | bash
33+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/sys/install-libs.sh | bash
34+
curl -o- https://gitee.com/turnon/linux-tutorial/raw/master/codes/linux/sys/sys-settings.sh | bash
3535
printf "执行完毕,退出。\n" ;;
3636
"退出")
3737
exit 0 ;;

0 commit comments

Comments
 (0)