Set time Log Proftpd same Server(Debian+DirectAdmin)
How to set time log proftp same Server (OS: Debian + CP: DirectAdmin) 1. edit proftpd.conf vim /etc/proftpd.conf 2. edit to config TimesGMT off SetEnv..
Problem: owner ?? in folder user directadmin when tranfer data with rsync -va -e 'ssh'
Solution:
ls -l /home | grep '^d' | awk '{print "chown", "-R", $3 ":" $4 " /home/" $9 "/domains"}'
copy code show and paste in command line.
OR with directadmin script
/usr/local/directadmin/scripts/set_permissions.sh user_homes
/usr/local/directadmin/scripts/set_permissions.sh email
September 21, 2009
Blog | #DirectAdmin
How to set time log proftp same Server (OS: Debian + CP: DirectAdmin) 1. edit proftpd.conf vim /etc/proftpd.conf 2. edit to config TimesGMT off SetEnv..
#การใช้ netstat ตรวจสอบการถูกยิงด้วย syn คำสั่ง netstat -ntu | grep SYN_RECV | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nrอันนี้จะบอกว่..
ติดตั้ง squid รุ่นล่าสุด https://www.squid-cache.org/Versions/ cd /tmp wget http://www.squid-cache.org/Versions/v3/3.4/squid-3.4.9.tar.gz tar xvfz squ..
find /home/*/domains/*/public_html/ -maxdepth 2 -type f -name '.htaccess' -print0 | xargs -0 grep -il '(py|exe|php)' find /home/*/domains/*/public_htm..
#1. Install file module (PHP 5.2.x) cd /tmp/ wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz tar xvfz Z..
Nginx + DirectAdmin cd /tmp wget http://nginx.org/download/nginx-1.5.10.tar.gz tar xzvf nginx-1.5.10.tar.gz cd nginx-1.5.10 ./configure --sbin-path=/u..