Linux: Install Apache with Yum
Monday, August 16th, 2010yum install httpd yum install mod_ssl
yum install httpd yum install mod_ssl
yum install mysql yum install mysql-server
service mysqld start
mysqladmin -u root password MYPASSWORD
mysqladmin -u root -p'oldpassword' password newpass
Add group to user
usermod -a -G mygroup myuser
Change primary user group
usermod -g mygroup myuser
df -h
du -sh /path/to/folder
du /var/log/ | sort -nr | less
C:\PuTTY\pageant.exe d:\main.ppk
iptables -I INPUT 1 -s 0/0 -i eth0 -d 0/0 -p TCP --dport 443 -j ACCEPT
Here is the minimum configuration to enable SSL
….
NameVirtualHost *:443
<VirtualHost *:443>
DocumentRoot /path/to/html/
ServerName www.mysecuredomain.com
SSLEngine on
</VirtualHost>
Pre-requisites:
Tar and gzip the folder panda/ in the panda.tar.gz
tar -cvzf panda.tar.gz panda/
Untar
tar -xvzf panda.tar.gz
or (to change the base folder name)
tar -xvzf latest.tar.gz -C ./(folder name)
Source: lowfatlinux.com
tdy=`date +%Y-%m-%d-%H-%M` mkdir /var/backup/db_name/$tdy mysqldump -u db_user -p --opt db_name > /var/backup/db_name/$tdy/db_name-$tdy.sql
CSR-Generation Instructions
To generate a triple-DES encrypted key pair and a Certificate Signing Request (CSR):
Enter the following commands:
If you are requesting a Wildcard certificate, please add an asterisk (*) on the left side of the Common Name (e.g., “*.domainnamegoes.com” or “www*.domainnamegoeshere.com”). This will secure all subdomains of the Common Name.
(source: Godaddy’s help)
BTW, Godaddy has the cheapest certificates you can find (with great support).