WenRou's Blog
DirectAdmin 一键程序上传
2013-9-27 温柔哥

安装方式

进SSH,先切换到DA文件夹



cd /usr/local/directadmin





创建插件文件夹

mkdir plugins





然后切换到插件文件夹

cd /usr/local/directadmin/plugins







然后呢...当然是下载啦!

wget http://easyinstall.googlecode.com/files/lastest.tar.gz





嗯,然后解压吧.

tar zxvf lastest.tar.gz





最后,批量设置777权限,搞定!

chmod 777 -R /usr/local/directadmin/plugins/easyinstall





补充步骤[由于我的疏忽,打包了旧的index.html,所以要替换掉里面的index.html],步骤如下:

cd /usr/local/directadmin/plugins/easyinstall/user/rm -rf index.htmlwget http://easyinstall.googlecode.com/files/index.htmlchmod 777 index.htmlcd /usr/local/directadmin/plugins/easyinstall/hooks/rm -rf user_txt.htmlwget http://easyinstall.googlecode.com/files/user_txt.htmlchmod 777 user_txt.html





如果你安装了SUPHP模式的DIRECTADMIN,那么很抱歉,你还要再进行下列的操作:

cd /usr/local/directadmin/plugins/easyinstall/user/rm -rf connect.phprm -rf install.phpwget http://easyinstall.googlecode.com/files/connect.phpwget http://easyinstall.googlecode.com/files/install.phpchmod 755 -R /usr/local/directadmin/plugins/easyinstall





注:

此插件可以作为您主机营销的一个亮点,但是宣传的时候切勿说这个东西你是做的,切勿去除版权

否则在我在的地方上你都将会身败名裂.[欢迎大家检举,查实加分奖励]

任何人都不得在其他地方转载或者发布其衍生版本,记住一点,你只有使用权,没有传播权.

最后,祝大家使用愉快.

PS:里面的程序之中,Discuz!X1.5是我精心为大家准备的,里面包含了默认开启gzip加速状态以及DSU的所有X1.5插件

 


发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容