See also:
distro: bit.ly/s_distro
router: bit.ly/s_router

Install

automaic / unattended installation of ubuntu

  1. http://askubuntu.com/questions/122505/how-do-i-create-a-completely-unattended-install-of-ubuntu
  2. Completely-Automatic-Unattended-Install-of-Ubuntu-Auto-system-config-kickstart

multi systems selection

multi-operating-system-installation

init after installation

linux-init

Boot & Reboot

  1. linux, ubuntu emergency safe reboot
  2. Boot to text console terminal mode [Ubuntu Kubuntu Nix Linux]
  3. GRUB rescue mode

Common Performance Improvement Tools

Git

bit.ly/s_git

SSH

bit.ly/s_ssh

Locale

bit.ly/s_locale

Timezone

rm /etc/localtime; ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime
reboot
see all available timezone: ls -R --group-directories-first /usr/share/zoneinfo or lg /usr/share/zoneinfo
ref

Learning Linux Basics

Chinese 鸟哥

SELinux

set right for apache/httpd:

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Working_with_SELinux-SELinux_Contexts_Labeling_Files.html

to disable selinux:

http://www.thegeekstuff.com/2009/06/how-to-disable-selinux-redhat-fedora-debian-unix/

SElinux > Allow apache to use remote DB:

setsebool -P httpd_can_network_connect_db=1

SELinux > Allow apache /php to send email:

sudo setsebool -P httpd_can_sendmail 1## with the “-P” for persistent (across reboots).

Trouble shooting:

"You have new mail ...": install mailx
updatedb / locate: command not found: install mlocate

Install RHEL EPEL Repo on Centos 6

OBS: when installing CentOS, it is suggested to install the “with updates” version.

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
sudo vim /etc/yum.repos.d/remi.repo 
    enabled=1

ref