Vultr debian7 Wheezy 64位安装wordpress

 

1.)apt-get update&&apt-get install sudo&&apt-get update&&apt-get install nano &&mkdir tuxlite&&cd tuxlite&&wget http://tuxlite.com/scripts/tuxlite.tar.gz&&tar xzf tuxlite.tar.gz&&nano options.conf

改hostname、ssh端口、mysql root密码、

2.)chmod 700 *.sh&&chmod 700 options.conf&&apt-get update && apt-get -y install aptitude&&./install.sh&&./setup.sh dbgui

3.)adduser ryan

4.)./domain.sh add ryan yourdomain.com

5.)./wordpress.sh

6.)nano /etc/sudoers 给ryan加root权限

ryan ALL=(ALL:ALL) ALL

7.) ln -s /usr/local/share/phpmyadmin/ /home/ryan/domains/yourdomain.com/public_html/

8.) 开启或者关闭phpmyadmin:

./domain.sh dbgui on
./domain.sh dbgui off

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据