para instalar un rpm es --- rpm -ivh nombre del paquete Justo despues de instalar hacemos el ultimo update. para hacer un servicio que arranque al inicio hay que hacer un archivo.sh copiarlo en /etc/init.d/ hacer un link virtual (acceso directo)con ln -s nombre del archivo .sh al /etc/rc3.d/nombre de acceso directo y listo yum -y update yum install vim-enhanced para instalar el firefox yum install firefox modificar la configuracion local en /etc/httpd/conf/httpd.conf - haciendo /etc/init.d/httpd start Install MySQL Database Server yum install mysql mysql-server mysql-devel ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ To fix: First start the mysql daemon, then type mysql: /etc/init.d/mysqld start mysql Changing MySQL Root Password By default the root password is empty for the mysql database. It is a good idea to change the mysql root password to a new one from a security point of view. mysql> USE mysql; mysql> UPDATE user SET Password=PASSWORD('newpassword') WHERE user='root'; mysql> FLUSH PRIVILEGES; Once done, check by logging in: mysql -u root -p Enter Password: To Create A New MySQL User To create a new mysql user 'guest' with 'all privileges' on the database 'demo': mysql > create database demo mysql >GRANT ALL PRIVILEGES ON demo.* TO 'guest'@'localhost' IDENTIFIED BY 'guest' WITH GRANT OPTION; mysql> UPDATE user SET Password=PASSWORD('guest') WHERE user='guest'; That's it! MySQL is ready! Don't forget to remember the root password as we might be using it with phpmyadmin. Install PHP5 Scripting Language Installing PHP5 with the necessary modules is so easy and can be configured for both the Apache and mysql environment. yum install php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml Don't forget to install php-gd (gd library). It is very important if we plan to run captcha scripts on our server and so as other which are dependent on mysql and other functions.