Amazon / AWS / EC2 linux version

cat /proc/version Linux version 2.6.35.11-83.9.amzn1.x86_64 ([email protected]) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Sat Feb 19 23:42:04 UTC 2011   file /bin/bash /bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped   cat /proc/cpuinfo   processor : 0 vendor_id : GenuineIntel cpu … Read more

amazon aws ami LAMP / NGINX / PHP / memcache steps

// —– Using NGINX + PHP5-FPM sudo apt-get install nginx php5-fpm php5-mysql cd /etc/init.d/ sudo service apache2 stop sudo update-rc.d -f apache2 remove http://yoodey.com/how-install-configure-nginx-php-fpm-memcached-work-drupal-7-ubuntu-1010-maverick Install Memcached sudo apt-get install memcached libmemcached-dev php5-memcached php5-memcache // ==================== Getting a new virtual machine up and running from the default AMI is easy. Here’s my cookbook: Install basic services … Read more

[monster] monster.tw 記錄 / memo / ubuntu / 裝 圖形介面 / GUI / gnome desktop / ip address / setting

昨天晚上去一位朋友公司幫忙用他們的 server , 回來就想要做幾件事: 1. 記錄一下自己的 server 某些重要檔案, 也可供其他人參考 2. 備份重要 file 3. 隨時準備好最新版的救援CD/Live CD/Live USB , 最新版的 Monster LAMP pack 也要燒好收著. 4. 準備一個 “萬用” 含各類 driver 的 linux kernel , 以供救援使用. 5. 搞懂 booting steps / GRUB setting [email protected]:~# cat /etc/fstab # /etc/fstab: static file system information. # # Use ‘vol_id –uuid’ to print … Read more