FreeBSD knowledgebase

Services location in FreeBSD ========================= /usr/local/etc/rc.d/services.sh Crontab useful paths ================== Root user crons are at /etc/crontab System user crons are at /var/cron/tabs For other cron jobs please check /var/cron/atjobs   Alternative for yum command ======================= pkg_add Command In FreeBSD is the...

APF, BFD and DDOS installation steps

======================================================= APF ======================================================= APF stands for Advanced policy firewall, is a software for unix based systems. Let me explain the steps to be followed in installing APF in your Linux system. #cd /usr/local/src/ [user@linux]#wget http://www.rfxn.com/downloads/apf-current.tar.gz [user@linux]#tar -xvzf apf-current.tar.gz [user@linux]#./install.sh [user@linux]#vi...

MySQL command help

Command to create mysql user ============================ CREATE USER 'username'@'localhost' IDENTIFIED by 'password'; Command to grant all privileges to a user to databases starting with any name ============================================================================= GRANT ALL PRIVILEGES ON database_.* TO 'username'@'localhost' IDENTIFIED BY 'password'; flush privileges; The...