apache伪静态规则转nginx伪静态规则网站:https://winginx.com/en/htaccess
注意:安装宝塔需要64位的Linux系统
nginx+php+mysql 选择Centos
一定时刻记住你的系统是 Ubuntu还是 Centos ,因为博主的虚拟机是Ubuntu,而在测试安装一下软件时 却是假想的Centos,在当我在Ubuntu上安装了yum工具后使用此命令时,报以下错误:
There are no enabled repos. Run "yum repolist all" to see the repos you have. You can enable repos
一查才发现,我就不该安装yum,因为我用的是Ubuntu
也就是说Ubuntu 的安装一般都是执行: apt-get
杰