for english people:
how to fix the expired issue for directadmin,
when you trying to log into your DA control panel and it showing:
License has expired, it means you need to start a new subscription.
log into your DA server by ssh,
cd in your DA path ( default is /usr/local/directadmin/scripts)
run the getLicense.sh with your client id and new license , new IP address.
Eg, ./getLicense.sh Your_Client_ID Your_new_DA_Licnese NewIP
./getLicense.sh 112233 123456 1.2.3.4
finally,just type command to restart the DA service,
service directadmin restart
centos上配置vpn并指定出口IP
centos5 更新kernel
yum list kernel*
yum install kernel-PAE.i686 -y
# PAE为支持大内存的版本
reboot 后就可以
#查看32位或64位系统
file /sbin/init
未更新前: 2.6.18-164.el5PAE
更新后: 2.6.18-194.8.1.el5PAE
公司客户的机器,装的是webmin+virtualmin
上传文件提示550 forbidden filename
把/etc/proftpd.conf里的这两行注释掉
PathAllowFilter “”
PathDenyFilter “”
proftpd的官方网站上有详细的解释:
http://www.proftpd.org/docs/directives/linked/config_ref_PathDenyFilter.html
http://www.proftpd.org/docs/directives/linked/config_ref_PathAllowFilter.html
重启ftp服务恢复
客户讲放着没动过,FTP自己变成这样,这年头有的人可真厉害,睁眼说瞎话哈~
proftpd启动报错
proftpd默认没有开启日志的记录,所以/var/log/proftpd/ 这个目录下是空的
由于客户的服务器没有开启日志,查不到相关报错信息,/var/log/messages也没有
运行:
可以看到
写入/etc/hosts里
Your_IP_Address Your_domain_name
最好打开日志以便查找问题: