查看系統中shell的類型 cat /etc/shells 切換用戶使用的shell chsh s /bin/bash username sudo usermod s ...
- 查看系統中shell的類型
cat /etc/shells
- 切換用戶使用的shell
chsh -s /bin/bash username
sudo usermod -s <shell> <username>
gitlab uninstall
** Remove services
sudo gitlab-ctl uninstall
** Clean any data generated by usage of the package
sudo gitlab-ctl cleanse
** You may also want to remove any accounts you configured. To do so
sudo gitlab-ctl remove-accounts
** Then remove the package using
sudo dpkg -P gitlab-ce
apache
** 進程
ps -ef |grep httpd
** 啟動
apachectl start
nginx
** nginx進程
ps -ef|grep nginx
** nginx停止
nginx -s stop
查看埠
lsof -i :port
選擇系統安裝組件
sudo tasksel