Apache Require IP address
Require ip 10.1.2.3
Require ip 10.1.2.1 10.1.2.2
Require ip 10.1.0.0/24
Apache Require IP address
Require ip 10.1.2.3
Require ip 10.1.2.1 10.1.2.2
Require ip 10.1.0.0/24
sdiff <(mysql -B -e "show tables;" -D a_database) <(mysql -B -e "show tables;" -D b_database)
skip same record from first col:
sdiff <(mysql -B -e "show tables;" -D a_database) <(mysql -B -e "show tables;" -D b_database) | grep '[<>]'
service amavisd start
netstat -natp | grep :10024
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 16736/amavisd (mast
tcp6 0 0 ::1:10024 :::* LISTEN 16736/amavisd (mast
disable_functions = proc_open,phpinfo,show_source,system,shell_exec,passthru,exec,popen
bind-address=127.0.0.1
https://www.zabbix.com/download_agents/
c:\zabbix\zabbix_agentd.exe -c c:\zabbix\zabbix_agentd.conf -i
dnf install -y torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.2
https://github.com/micahflee/torbrowser-launcher
Creating GnuPG homedir /home/user/.local/share/torbrowser/gnupg_homedir
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
Latest version: 10.0
Downloading https://dist.torproject.org/torbrowser/10.0/tor-browser-linux64-10.0_en-US.tar.xz.asc
Downloading https://dist.torproject.org/torbrowser/10.0/tor-browser-linux64-10.0_en-US.tar.xz
Verifying Signature
Extracting tor-browser-linux64-10.0_en-US.tar.xz
Running /home/user/.local/share/torbrowser/tbb/x86_64
Reseller Level -> enhanced
PURGE BINARY LOGS BEFORE DATE_SUB( NOW( ), INTERVAL 3 DAY)
PURGE BINARY LOGS BEFORE DATE(NOW()) + INTERVAL 0 SECOND - INTERVAL 3 DAY;
To fix directadmin install/setup:
dnf install libjpeg-turbo-devel libpng-devel freetype-devel
cd /usr/local/directadmin/custombuild/
vi options.conf
mod_ruid2=no
php1_release=7.2
php1_mode=php-fpm
./build iconv
./build php y
php -v
PHP 7.2.33 (cli) (built: Sep 25 2020 20:48:19) ( NTS )
If still ERROR: Unable to globalize '/usr/local/directadmin/data/users/*/php/php-fpm72.conf' (ret=2) from /usr/local/php72/etc/php-fpm.conf at line 68
./build all d
./build rewrite_confs
./build rewrite_confs
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using xx.xx.xx.xx for your server IP
ls: cannot access '/usr/local/directadmin/data/users/*/httpd.conf': No such file or directory
grep: /usr/local/directadmin/conf/directadmin.conf: No such file or directory
Enabling http2 in directadmin.conf.
grep: /usr/local/directadmin/conf/directadmin.conf: No such file or directory
Enabling http2 in directadmin.conf.
Job for php-fpm72.service failed because the control process exited with error code.
See "systemctl status php-fpm72.service" and "journalctl -xe" for details.
Restarting apache.
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.
cd /usr/local/directadmin
./directadmin i
./directadmin p
./build rewrite_confs
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using xx.xx.xx.xx for your server IP
Restarting apache.
systemctl status httpd.service | grep active
Active: active (running) since Fri 2020-09-25 21:15:35 CEST; 2min 36s ag
systemctl status php-fpm72.service | grep active
Active: active (running) since Fri 2020-09-25 21:15:32 CEST; 3min 39s ago
Status: "Processes active: 0, idle: 0, Requests: 0, slow: 0, Traffic: 0req/sec"
run-parts --list /etc/cron.hourly/
/etc/cron.hourly/some_script
run-parts --test /etc/cron.hourly/
/etc/cron.hourly/some_script
Make sure some_script was set executable
ubuntu fix time
ntpdate 1.lt.pool.ntp.org
server 0.lt.pool.ntp.org
erver 3.europe.pool.ntp.org
server 2.europe.pool.ntp.org
max_binlog_files = 10
du -ach /tmp/something*
show global variables like "%expire_logs_days%";
show global variables like "%binlog_expire_logs_seconds%";