yum update
sudo yum install httpd
sudo service httpd start
ifconfig eth0 | grep inet | awk '{ print $2 }'
sudo yum install mysql mysql-server sudo service mysqld start
sudo /usr/bin/mysql_secure_installation
Enter current password for root (enter for none): OK, successfully used password, moving on...
By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? [Y/n] y ... Success! Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? [Y/n] y ... Success! By default, MySQL comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? [Y/n] y - Dropping test database... ... Success! - Removing privileges on test database... ... Success! Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Reload privilege tables now? [Y/n] y ... Success! Cleaning up... All done! If you've completed all of the above steps, your MySQL installation should now be secure. Thanks for using MySQL!
sudo yum install php php-mysql
yum search php-
php-fpdf-doc.noarch : Documentation for php-fpdf php-libvirt-doc.noarch : Document of php-libvirt php-pear-Auth-radius.noarch : RADIUS support for php-pear-Auth php-pear-Auth-samba.noarch : Samba support for php-pear-Auth ice-php-devel.i686 : PHP tools for developping Ice applications ice-php-devel.x86_64 : PHP tools for developping Ice applications perl-PHP-Serialization.noarch : Converts between PHP's serialize() output and : the equivalent Perl structure php-IDNA_Convert.noarch : Provides conversion of internationalized strings to : UTF8 php-Kohana.noarch : The Swift PHP Framework php-LightweightPicasaAPI.noarch : A lightweight API for Picasa in PHP php-PHPMailer.noarch : PHP email transport class with a lot of features php-Smarty.noarch : Template/Presentation Framework for PHP php-ZendFramework.noarch : Leading open-source PHP framework php-ZendFramework-Auth-Adapter-Ldap.noarch : Zend Framework LDAP : Authentication Adapter php-ZendFramework-Cache-Backend-Apc.noarch : Zend Framework APC cache backend
yum info name of the module
sudo yum install name of the module
sudo chkconfig httpd on sudo chkconfig mysqld on
sudo nano /var/www/html/info.php
<?php phpinfo(); ?>
sudo service httpd restart
Article ID: 243
Created On: Thu, Jan 2, 2014 at 2:50 AM
Last Updated On: Thu, Jan 2, 2014 at 2:50 AM
Authored by: ASPHostServer Administrator [asphostserver@gmail.com]
Online URL: http://faq.asphosthelpdesk.com/article.php?id=243