Blog

Install Mail-in-a-Box

Mail-In-A-Box is a complete mail server, that included webmail, smtp, imap, pop3. https://mailinabox.email Installation You need Ubuntu 14.04 to install Mail-In-A-Box. Before…

logrotate

logrotate is a program to rotates logs. This is run daily using cronjob /etc/cron.daily/logrotate Logrotate config files are stored in /etc/logrotate.d/ To…

npm

To install npm on Ubuntu, run apt install npm To install a node package, run npm install mongodb@2.2 –save How to change…

Dovecot

Dovecot is a IMAP/POP3 server. To install on Debian/Ubuntu, run apt install dovecot-core -y To see dovecot config, run root@ok:~# doveconf -n…

Restart php-fpm in Cpanel Server

To restart php-fpm on Cpanel server, run /scripts/restartsrv_apache_php_fpm For Cpanel php-fpm, run /scripts/restartsrv_cpanel_php_fpm php-fpm config stored in /opt/cpanel/ea-php70/root/etc/php-fpm.conf, pool config available in…

sendy

Sendy cronjob */5 * * * * /usr/bin/curl –silent https://URL/scheduled.php &> /var/log/sendy.log Or */5 * * * * /usr/bin/php /var/www/html/scheduled.php > /dev/null…