教你兩分鐘裝好寶塔
Centos安裝命令:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
Ubuntu/Deepin安裝命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh
Debian安裝命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
Fedora安裝命令:
wget -O install.sh http://download.bt.cn/install/install.sh && bash install.sh 如果報錯:psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory 解決辦法:
我係統是centos 7 1.可以先檢視一下含python-devel的包
命令:
1. yum search python | grep python-devel
2.64位安裝python-devel.x86_64,32位安裝python-devel.i686,我這裡安裝:
命令:2. sudo yum install python-devel.x86_64