1. 程式人生 > >ifconfig 執行command not found

ifconfig 執行command not found

vi /home/lx/.bash_profile中新增 
PATH=$PATH:$HOME/bin:/sbin:/bin 
export PATH

 

linux檢視服務自啟動  chkconfig --list

linux修改服務自啟動 ntsysv  *為自啟動

關閉防火牆 service iptables stop

linux mysql中檢視配置變數 show variables like '%char%'

linux開啟mysql伺服器  service mysql start

linux重啟mysql伺服器  

service mysql restart