:: Cron: Auto restart daemon if it down
Posted by blackonsole on May 7th, 2012 04:20 AM | No Comment
:: How to create script for auto restart daemon if it down
+ create auto restart daemon script (nginx)
add the script, like these:
#!/bin/bash
alwaysup=ps aux | grep -v grep | grep -c nginx
if
then
/etc/init.d/nginx ...
:: Upgrade MySQL on WHM/cPanel
Posted by blackonsole on April 15th, 2012 02:26 AM | No Comment
:: How to upgrade MySQL in WHM/cPanel
Cli
WHM
:: Link
+ Google
+ cPanel
:: Setup Attachment Size Limit on Postfix
Posted by blackonsole on December 31st, 2011 02:51 AM | No Comment
:: What is Postfix
Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail. It is intended as a fast, easier-to-administer, and secure alternative to the widely-used Sendmail MTA. - WikiPedia
:: How to setup attachment size limit
:: CSF on WHM / cPanel
Posted by blackonsole on December 27th, 2011 12:14 PM | No Comment
:: What is csf
csf is ConfigServer Security&Firewall made by configserver
:: How to install and integrated to WHM / cPanel
+ download and install
:: Disable PF on OpenBSD
Posted by blackonsole on November 23rd, 2011 01:52 AM | No Comment
:: What is pf
Packet Filter (from here on referred to as PF) is OpenBSD's system for filtering TCP/IP traffic and doing Network Address Translation.
:: sudo: no tty present
Posted by blackonsole on October 20th, 2011 07:25 AM | No Comment
:: Error
sudo: no tty present and no askpass program specified
:: How to fix sudo error