个人常用代码处理

Linux BT Panel

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh

wp-config.php

define( 'ALLOW_UNFILTERED_UPLOADS', true );

Terminal For Mac. For Windows, PuTTY.

Once you’re logged in, use the commands from the instructions:

cp /etc/nginx/conf.d/*.conf /root/
vi /etc/nginx/conf.d/*.conf (this should open up an editor for what I expect are the only two conf files on your server. I use vi because that's what I've been using for forever)
Use the 'j' key to go down line by line until you get to the wp-admin block.
Use 'dd' to delete each line in that block.
Use ':w' to save the file.
Use ':n' to go to the next file.
Use ':q' to quit.
Then: 'service nginx restart && service php-fpm restart'

显示BT密码

/etc/init.d/bt default

ns lookup