Ubuntu
- Ubuntu安装后并没有为root设置密码
sudo passwd
- Ubuntu 适合于python环境的开发,自带python开发环境
vim hello.py
python hello.py
- 包资源管理用 apt-
- Ubuntu.ios 没有带 sshd 服务 ,需要手动安装并开启22号端口才能Xshell远程登录
- Ubuntuklin 是 Ubuntu 的 CH 化 ( 个人理解 )
- unbuntu 提供系统管理服务的守护进程是 service,不是 systemd
CentOS
- 在安装的时候就已经为root设置密码了
- CentOS适合于JavaEE, Hadoop
- 包资源管理用 rpm , yum
- CentOS提供系统服务管理的是 systemd , 所以使用 systemctl 打开相应的服务(如防火墙)
同
同样是安装tree命令(linux系统没有自带)
centos: yum install tree ( 默认最新版本且自动处理包间的依赖关系 )
ubuntu: sudo apt-get install tree
这两种方式都是在线版的安装,所以需要在有网的情况下进行