Jason Lee
  • Home
  • Github
Sign in Subscribe

ubuntu

A collection of 2 posts
ubuntu

upgrade ubuntu 14.04 LTS to ubuntu 16.04 LTS

1. make sure your server system up-to-date as follows $ sudo apt-get update && sudo apt-get dist-upgrade 2. reboot $ sudo reboot 3. install the update-manager-core package using the command below that is if it is not yet installed on your server: $ sudo apt-get install update-manager-core 4. After that, edit this file, /etc/
May 15, 2016
ubuntu

禁止 root 帳號從 ssh 登入

因為安全性的問題,通常我們都會禁止 root 帳號從 ssh 登入,當需要 root 權限的時候,我們依然可以透過 sudo su來切換。 以下適用 Ubuntu 14.04 1. 修改 /etc/ssh/sshd_config 檔案 2. 把 PermitRootLogin 值從 yes 改成 no 3. 儲存修改
Mar 4, 2016
Page 1 of 1
Jason Lee © 2025
Powered by Ghost