How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
Sources: http://edoceo.com/blog/2009/02/amazon-ebs-how-to-grow-storage http://stackoverflow.com/questions/9604337/how-do-i-increase-the-ebs-volume-size-of-a-running-instance
source: http://stackoverflow.com/questions/11535617/add-ebs-to-ubuntu-ec2-instance additional info: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-creating-volume.html Since this is a new volume, you need to format the EBS volume (block device) with a file system between step 1 and step 2. So the entire process with your sample mount point is:…
Lets say we want to mount /var into new partition: 1. create new volume (leave snapshot id empty) 2. name new volume [var-vol] 3. attach volume to instance: right-click on volume/attach and choose the ec2 instance 4. format the instance:…
*** /dev/xvda1 will be checked for errors at next reboot *** It is a bug on Ubuntu 11.04 and 12.04 ... which causes a file to be created with a future time stamp that contains that message. The simplest solution…
To backup: mysqldump -u username -p database_to_backup > backup_name.sql To restore: mysql -u username -p CREATE DATABASE database_name; exit mysql -u username -p database_name < backup_name.sql
- problem: W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8AB767895ADC2037 - to fix: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AB767895ADC2037
To view the contents of tar file without extracting tar -tf filename.tar.gz To extract specific file from tarball tar --extract --file={tarball.tar} {file} tar --extract --file=cbz.tar css
https://drupal.org/node/793264 https://drupal.org/node/1332446
http://www.dev-metal.com/how-to-install-latest-php-5-4-x-on-ubuntu-12-04-lts-precise-pangolin/
https://www.digitalocean.com/community/articles/how-to-use-top-netstat-du-other-tools-to-monitor-server-resources
GRANT ALL PRIVILEGES ON *.* TO 'root'@'web.webhost.net' IDENTIFIED BY 'root-password-here';
http://www.akadia.com/services/check_dns.html
https://skeddly.desk.com/customer/portal/articles/1348385-changing-ec2-instance-security-groups
For example you want to rsync "/var/lib/mysql" from "/somefolder/var/lib/mysql", use the following syntax ( for local folders): rsync -avz /somefolder/var/lib/mysql/ /var/lib/mysql (notice the trailing '/' at the end of the source path and the lack of it at the destination path!)…
To flush queue Traditionally you use the "sendmail -q" command to flush mail queue under Sendmail MTA. Under Postfix MTA, just enter the following command to flush the mail queue: # postfix flush OR # postfix -f To see mail…