Tag Archives: directadmin

lnmp1.4安装whmcs7.2教程


使用DA面板的朋友。也可能用到whmcs,实际上whmcs+DA,一起销售虚拟主机,也是绝配。下面写点安装whmcs的教程,展示网站参考我公司网站https://www.eeqiu.com

最低要求参考:
https://docs.whmcs.com/System_Requirements
php5.6/mysql 5.5/curl/ionCube/imap

1、先安装lnmp
yum install screen
screen -S lnmp

wget -c http://soft.vpser.net/lnmp/lnmp1.4-full.tar.gz
tar zxvf lnmp1.4-full.tar.gz
cd lnmp1.4-full
./install.sh lnmp

安装完毕lnmp后显示:
Install lnmp takes 28 minutes.
Install lnmp V1.4 completed! enjoy it.

2、安装 ionCube,whmcs需要这个。
./addons.sh install ionCube
安装完ionCube后显示
====== ionCube install completed ======
ionCube installed successfully, enjoy it!
Continue reading

DA面板安装有4个选项,php.mysql版本选哪个好呢

da-4-choice

DA面板,在安装过程中,有4个选项让大家选择。老易感觉,通常选1就可以了。如果保守的话,可以选3,选3的话,软件比较老,显示是生产版本。选2的话,有些过时了。选4的话,是太新了,是beta版,如果愿意尝鲜的朋友,可以选4。

下面是老易今天给客户安装DA面板,默认选1,安装完毕后的php/mysql版本,供大家参考。

da-php

directadmin面板安装后named服务无法启动

da-named

cd /etc/init.d
mv named named.backup
wget http://www.directadmin.com/named
chmod 755 named
/sbin/chkconfig named reset

最后,重新启动named服务:

service named restart

da-named2

备注:named服务器没启动成功就没启动成功吧,对大多数虚拟主机业务的朋友来说,估计也用不到DNS服务,官方教程还有如何不要开启named服务的帖子呢。http://help.directadmin.com/item.php?id=25

directadmin模板NewWorld安装记录

cd /usr/local/directadmin/data/skins/ #进入主题所在目录
wget https://github.com/tension/NewWorld/archive/master.zip #下载NewWorld主题模版压缩包
unzip master #解压缩主题压缩包
mv NeWorld-For-DirectAdmin-master NewWorld #修改主题文件夹名称
chown -R diradmin:diradmin NewWorld #设置主题所有权
rm -f master.zip #删除主题模版压缩包
exit #退出

备注:原文参考https://tension.name/Design/NewWorld-3-0-For-DirectAdmin/

newword-da1

Continue reading

directadmin文件管理器上传文件提示:确保/home/tmp已存在并且设置权限为1777

da777

directadmin文件管理器上传文件提示:确保/home/tmp已存在并且设置权限为1777,老易也是第一次遇到DA面板这个问题。通常遇到的问题,其实老易已经在教程里面发出来了。这个问题,是通过DA文件管理器上传文件的话,大概是先要让文件有个缓冲保存的地方,也就是/home/tmp,没有这个文件夹的话,建立一个。

cd /home

mkdir tmp

chmod 1777 tmp

就算大功告成了。这里面其实有个文件夹权限,用到文件特殊权限SUID,SGID啥的。

da777-2

directadmin支持安装到ubuntu吗

DA授权后台是没有Unbuntu选项的,Ubuntu和Debian对应起来即可。
可以通过http://www.debian.org/releases/查看现在Debian发行版最新情况。

官方建议如果是debian 8的话,建议安装customer 2.0选项。

Ubuntu is based on the Debian OS. For this reason, any questions regarding which version of Ubuntu to use would fall back onto which version of Debian it uses.

Currently, DirectAdmin supports up to Debian 8.x. We recommend using CustomBuild 2.0 with Debian 8.

Info on released versions of Debian: http://www.debian.org/releases/

You can see which version of Debian the OS is running by typing:

cat /etc/debian_version
uname -m

Ubuntu 14以后的新版本,可以和debian8对应。之前的老版本大家看英文说明。

Ubuntu 14 and up use Debian 8, which is currently in beta testing. If my memory is correct, any Ubuntu version up to (and including) 13.x uses Debian 7 Versions 11.04 and older use Debian 6. Check your /etc/debian_version prior to installing DA to ensure you have the correct OS selected for your license.

directadmin安装nginx

da-nginx

directamin面板,安装完毕后,默认是lamp环境,也就是linux+apache+mysql+php环境,有的网友喜欢用nginx,其实DA官方很早都出教程支持这个Nginx了。看官方教程的请看http://help.directadmin.com/item.php?id=556

DA安装nginx,需要安装CustomBuild 2.0这个版本的,不要安装1.x版本。老易今天测试选择的是安装选项4,也就是CustomBuild 2.0 Beta版本,是支持安装nginx的。当然如果你之前安装的是1.x版本,也是可以先升级到CustomBuild 2.0然后再编译安装Nginx【老易升级安装了一下,失败了】. Continue reading

directadmin面板phpmyadmin登录错误

da-admin_mysql

最近帮网友安装了几个DA面板,结果客户想要通过phpmyadmin登录管理数据库的时候,死活进不去phpmyadmin,查了下,原来是后来DA面板更改了phpmyadmin登录验证方式。

DirectAdmin 默认的Phpmyadmin的授权为Http授权,大概的意思就是基于Apache的验证。其实这种授权在客户使用的时候非常容易出错。主要有以下两点; Continue reading

如何查看Directadmin的MySQL数据库管理员密码

DirectAdmin安装的时候并没用告诉我们MySQL的管理员密码,那如果想知道,如果去做呢?”

DirectAdmin安装的时候并没用告诉我们MySQL的管理员密码,那如果我们想用管理员密码做一些操作,例如批量导出MySQL的数据,该如何做呢?

用root登陆,然后执行如下cat命令

#cat /usr/local/directadmin/conf/mysql.conf

你将会看到Directadmin的MySQL的管理员和密码,如下图:

da-admin-mysql2

为什么是da_admin呢?因为Directadmin简称da,在安装Directadmin的时候,自己创建了一个和root具有同等权限的管理员账号da_admin

所以用这个管理员和密码就可以对数据库做相关的操作了。

备注:还有另外一种方法可以查看cat /usr/local/directadmin/scripts/setup.txt,里面有相关账户信息。

directadmin有名的capri模板安装过程

之前Directadmin安装教程:Centos安装DirectAdmin教程,里面提到的安装的capri模板是盗版的。后来听说capri模板的作者开源了,这样就不存在盗版问题了。安装capri后,显示是:Free Github Version。

da-capri2

安装capri模板命令:

wget -O capri.sh http://localserver.flaxe.eu/Capri-install/capri.sh

chmod +x capri.sh

./capri.sh

安装后capri模板长啥样子呢,具体看下图。

Continue reading