Ubuntu 日常使用

制作 U 盘安装盘

制作工具: Rufus

https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#6

Ubuntu 设置(基于16.04)

1
2
3
4
5
6
7
# 设置 root 密码, 启用 root 用户
sudo passwd root
# 切换到 root 用户
su root
# 修改 /etc/ssh/sshd_config, 允许 root SHH 远程登陆(PermitRootLogin yes)
# 重启 SSH 服务
sudo service ssh restart
1
2
3
4
5
6
7
# 更新源
apt udpate
# 更新包
apt --upgrade

# 全局查找 nginx 相关文件
sudo find / -name nginx*

参考资料

https://tutorials.ubuntu.com/