How to install dig on CentoS 7
How to install dig on CentoS 7 sudo yum install bind-utils
Clear ssh history on Cenos And Ubuntu.
cat /dev/null > ~/.bash_history && history -c && exit
error: db5 error(-30973)
error: db5 error(-30973) from dbenv->open: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db5 - (-30973) error: cannot open Packages database in /va
DirectAdmin Auto block Bruteforce attack
สร้างไฟล์ block_ip.sh touch /usr/local/directadmin/scripts/custom/block_ip.sh chmod 755 /usr/local/directadmin/scripts/custom/block_ip.sh vi /usr/local/directadmin/scripts/custom/block_ip.sh ใ
xfs_repair CentOS7
sudo xfs_repair -v -L /dev/sda3
directadmin Add modules pdo-pgsql to php with custombuild
1.First, figure out which configure file your system is using. Type: cd /usr/local/directadmin/custombuild ./build used_configs | grep configure.php It might look like this: PHP (default) configuratio
auto run script at boot time in centos7
ตั้งค่า ในไฟล์ /etc/rc.d/rc.local กำหนดสิทธิ์ chmod +x /etc/rc.d/rc.local
Speedtest-cli บน CentOS / RHEL
Install python sudo yum install python Download speedtest_cli.py wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py chmod +x sp
ติดตั้ง Sentora บน CentOS
Sentora - (Current Version) MySql -5.5.29 Apache - 2.4.3 PHP -5.3.20 Bind - 9.9.2-P1 phpMyAdmin - 3.5.8.1 RoundCube - 0.9.2 Dovecot - 2.0.9 Postfix - 2.6.6 proFTPd - 1.3.3g การติดตั้ง yum -y u
DirectAdmin Apache 2.2 to Apache 2.4
DirectAdmin Apache 2.2 to Apache 2.4 cd /usr/local/directadmin/custombuild ./build set apache_ver 2.4 ./build update ./build clean ./build apache n ./build
Upgrade Python from 2.6 to 2.7 on Centos 6.5
How can I upgrade it in Centos 6.5? I try below Download Python and extract it wget http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tar.xz xz -d Python-2.7.8.tar.xz tar -xvf Python-2.7.8.tar
[Plugin Directadmin] Site Scanner (ClamAV run)
Site Scanner is free open-source plugin for daily ClamAV run. https://bitbucket.org/ruweb/site_scan WARNING: Plugin is in BETA state! Plugin still lacks english localization (only text placeholders wi
ตั้งค่า exim ส่งอีเมล์ จาก IP อื่น
/etc/exim.conf. เปลี่ยน : remote_smtp: driver = smtp เป็น remote_smtp: driver = smtp interface = 1.2.3.4