Submitted by admin on Thu, 04/21/2011 - 18:43
Installation empty server in EC2 using Ubuntu maverick is less than 1 hour to be ready for production. Here are shortcut from me :
1. Using EBS partition.
Update & Upgrade Ubuntu, Install Xfs-progs & formatting by :
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install xfsprogs
sudo mkfs.xfs /dev/xvdf
Backup /var folder and restored it later :
Submitted by admin on Tue, 01/25/2011 - 11:16
When we using Amazon, usually we put all files, mysql, apache in / which usually have 14GB only. When it full, then your EC2 will be crash and can't be accessed. To avoid this problem, there is safe ways to do. Using /mnt that have more than 100GB for website files. Here are the steps :
1. Moving your /var/www
rsync -avr /var/www /mnt/
If there are permission problem, you can use sudo and sudo chmod ubuntu:ubuntu -R /mnt/www for fixing permission user.
Submitted by admin on Wed, 01/12/2011 - 22:39
Updated!
Before you do this, backup all /var into /var-backup by sudo rsync -avr /var/* /var-backup/
After mounting EBS, you can rsync restore /var by sudo rsync -avr /var-backup/* /var/
Submitted by admin on Wed, 01/12/2011 - 18:27
This is complete guide instalation EC2 Large Ubuntu 10.10 Maverick. I assumed you install Community AMI Ubuntu Final ( no testing , no milestone and no daily ) 64 bit.
1. Configure Security Groups for allowing access.
DNS (TCP & UDP) on port 53, SSH on port 22
2. Login into server using SSH. Upgrade server by : sudo apt-get update and sudo apt-get upgrade
Submitted by admin on Mon, 12/13/2010 - 15:47
When we re-indexing content into SOLR in Drupal 6 or another CMS / Framework, we look that procees indexing stop suddenly. Then, when we go to localhost:8080/solr, we facing problem like this :
Submitted by admin on Mon, 12/13/2010 - 15:12
I have tomcat 6 installed in my large server Ubuntu maverick but seem it's performance not good eventhough tweak on memory and anothers. So, now i try with Glassfish. Installing Glassfish same easy with installing tomcat 6. But, i use independent zip files rather try to finding .deb or native package for it. Here are steps for installing :
Submitted by admin on Fri, 12/10/2010 - 14:33
Here are steps to install and configuring Amazon EC2 Instance using Ubuntu 10.10, from start till production. In this guide, i using Ubuntu 10.10 Maven Maverick from Community AMI, which i will install bind9, apache2, mysql, phpmyadmin and few configuration. So, here we go :
1. Setup big space hardisk capacity Amazon EC2
We know that EC2 have 2 structure of hardisk which are system and storage. If you use df -Ht, then you will know why system only have 15 GB and mnt have hundred GB.
We need to pointing some system folder into mnt which have larger capacity. Read thow to enable large space in EC2
Submitted by admin on Sat, 12/04/2010 - 10:52
Configure Bind9 in Amazon EC2 is easy as following this tutorial guide. Here are steps installing and configuring NS Ubuntu 10.10 :
1. Install Bind9 using apt-get
Using sudo apt-get install bind9 to install bind9 in our EC2 Server.
2. Creating Bind configuration in Ubuntu Maverick
Bind configuration located in /etc/bind. We will edit one files and creating one files for domain pointing.
Now, open /etc/bind/named.conf.local and edit. This is some example to configure your domain :
Submitted by admin on Tue, 11/23/2010 - 16:00
Updated! After installing many software in Amazon EC2 Ubuntu, we realize that our partition doesn't enough. What happen? It because our main system / sda1 storage ( EBS/Instant Store ) limit only 15 GB. Try using sudo df -hT, we will see that there are 2 kind of partition, sda1 ( 15GB ) and sda2 ( 116 GB or more depend on EC package ) pointing on /mnt. Then, we should use sda2 for storing our files. If you use ubuntu, all files usually large at /var where all www, mysql, temporary, and another been placed. So, the solution is we need to pointing sda2 to /var. Remember, using symbolic link will give bad effect to future development.
Here the solution to fixing storage partition EC2 problem :
1. Backup /var
We need to backup /var to avoid problem. We create folder /var-old in /. Then, we will syncronize /var into /mnt as we pointing it later.
cd /
sudo mkdir var-old
sudo rsync -avr /var/* /var-old/
sudo rsync -avz /var/* /mnt/
Submitted by admin on Thu, 11/04/2010 - 18:15
We were heard that google launching they Page Speed Module . It's pretty useful in my EC2 Ubuntu 10.10. Now, i will give you simple recipe about how to cache drupal sites with great result! Here to do :
1. Install Google Page Speed
Download page speed and install on your server. If you using Amazon EC2 Ubuntu, please use 10.10 version. Using lower that 10.10 or Karmic Koala will give error and not satishfied result.
Pages
Recent comments