|
1 | 1 | # Linux-novice-one-click-script-summary
|
2 | 2 | ### 减少敲指令的繁琐 (Only Centos , Debian and Ubuntu)(需要Root权限)
|
3 | 3 | ### 本文可能非常长,请妥善运用页面搜索功能(Ctrl + F)
|
| 4 | +-------------- |
| 5 | + |
| 6 | +#### 非常基础的检查 与 一键脚本 |
| 7 | + |
4 | 8 | * 查看当前Linux系统
|
5 | 9 |
|
6 | 10 | * lsb_release -a
|
|
14 | 18 | Debian:apt-get -y install wget
|
15 | 19 | Ubuntu:apt-get -y install wget
|
16 | 20 | Centos:yum -y install wget
|
| 21 | + |
| 22 | +* 查看VPS虚拟化技术 |
| 23 | + |
| 24 | + * 安装virt-what |
| 25 | + |
| 26 | + Debian:apt -y install virt-what |
| 27 | + Ubuntu:apt -y install virt-what |
| 28 | + Centos:yum -y install virt-what |
| 29 | + |
| 30 | + * 输入virt-what等待输出 输出内容通常为:kvm/openvz/xen/Hyper-v/... 代表意义请自行Google / Baidu / Bing |
| 31 | + |
17 | 32 | --------------
|
18 | 33 |
|
19 | 34 | * 一键添加swap脚本 (from:https://www.moerats.com/archives/722/)
|
|
0 commit comments