WenRou's Blog

新浪微薄腾讯微薄

最新碎语:测试图片碎语哦

您的位置:WenRou's Blog >面板> DirectAdmin 一键程序上传

DirectAdmin 一键程序上传

安装方式
进SSH,先切换到DA文件夹

cd /usr/local/directadmin

  • cd/usr/local/directadmin
     


创建插件文件夹
mkdir plugins

  • mkdirplugins
     


然后切换到插件文件夹
cd /usr/local/directadmin/plugins

  • cd/usr/local/directadmin/plugins
     



然后呢...当然是下载啦!
wget http://easyinstall.googlecode.com/files/lastest.tar.gz

  • wgethttp://easyinstall.googlecode.com/files/lastest.tar.gz
     


嗯,然后解压吧.
tar zxvf lastest.tar.gz

  • tarzxvf lastest.tar.gz
     


最后,批量设置777权限,搞定!
chmod 777 -R /usr/local/directadmin/plugins/easyinstall

  • chmod777 -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

  • cd/usr/local/directadmin/plugins/easyinstall/user/
  • rm-rf index.html
  • wgethttp://easyinstall.googlecode.com/files/index.html
  • chmod777 index.html
  • cd/usr/local/directadmin/plugins/easyinstall/hooks/
  • rm-rf user_txt.html
  • wgethttp://easyinstall.googlecode.com/files/user_txt.html
  • chmod777 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

  • cd/usr/local/directadmin/plugins/easyinstall/user/
  • rm-rf connect.php
  • rm-rfinstall.php
  • wgethttp://easyinstall.googlecode.com/files/connect.php
  • wgethttp://easyinstall.googlecode.com/files/install.php
  • chmod755 -R /usr/local/directadmin/plugins/easyinstall
     


注:
此插件可以作为您主机营销的一个亮点,但是宣传的时候切勿说这个东西你是做的,切勿去除版权
否则在我在的地方上你都将会身败名裂.[欢迎大家检举,查实加分奖励]
任何人都不得在其他地方转载或者发布其衍生版本,记住一点,你只有使用权,没有传播权.
最后,祝大家使用愉快.
PS:里面的程序之中,Discuz!X1.5是我精心为大家准备的,里面包含了默认开启gzip加速状态以及DSU的所有X1.5插件
 


---

转载请注明本文标题和链接:《DirectAdmin 一键程序上传

分享到:

发表评论

9 + 3 =
路人甲 表情
看不清楚?点图切换 Ctrl+Enter快速提交