20170822 linux 課程

Post date: Aug 22, 2017 4:04:29 AM

昨天沒來,不知道今天在說什麼

而且這個竟然是進階班?

我明明是報初階阿?

關閉圖形化桌面

systemctl set-default multi-user.target

systemctl isoloate multi-user.target

apt更新

apt-get update

安裝apache

apt-get install apache2 -y

臨時出現錯誤,原來是某執行序擋住

檢查

fuser /xxx/xxx/xxx.xxx

出現執行續號碼,

ps aux |grep 913

練習暖kilL程式、硬KILL

vi /etc/passwd

另一個login

ps aux|grep passwd

kill -TERM <PID>

kill -KILL <PID>

TERM會安全關閉城市,等待人員進屋....

KILL會強制殺戮....