Then, a clock this morning, finally Burst.Net my server is running and for me to use it. Unfortunately for me, I was already asleep and I had to work today so that I can actually play with it until tonight. As VPS and dedicated servers are the server is usually bare bones with no software except the operating system. For me, I decided to use CentOS 5 64-bit edition on my web server up and running. Burst.NET had installed Apache 2 installed on my VPS for me, but thewas more or less on it. So I had to go around and find an easy way to install MySQL and PHP, to go with my Linux Apache server.
After some research, I realized that it is really easy since Linux CentOS 5 is the factory bundled with Yum. Yum is a feature that allows you to download and install the software automatically. It should be noted all the dependencies and take care of the rest I decided what packages I needed and I sent the command:
yum install php php-mysqlpostgres mysql-server php-gd ImageMagick ImageMagick-devel
This determines all the dependencies and install PHP and MySQL on my CentOS Linux server! It 'been so easy! I needed to make only a restart Apache and PHP was more or less up and running. To make a test, I just wrote a simple line of code in / var / www / html / test.php.
phpinfo ();
Visit your host / test.php If your PHP server is set correctly, this should release all information about your PHP installation andvarious components that were installed with it. It will give you a list of all configurations and plug-ins that are enabled.
The next step was to MySQL up and running. After installing yum, the daemon does not start automatically, so you should start by themselves. You can use the MySQL daemon, but with the following command:
Service mysqld start
If all goes well, the service should start without any problems and give you a list of instructions forfirst-time users. One of the most important things to do right now to add a password for root set in MySQL. Again, like everything else is just a simple one-liner with the change of password for MySQL:
/ Usr / bin / mysqladmin-u root password 'mynewpassword'
That's it! After just a few simple commands in Linux, I could get a bare bones CentOS 5, running with a light installation completed. The process will take more than 5 minutes. But for me .. I was busyGoogle took me about 30 minutes to an hour .. so hopefully we will help you.
For more information about PHP and WordPress visits http://www.websitejourney.com/
My Links : find more best about Desktop Computer you can find more best about Imac Computer PowerShot SD can help you to find more best Digital Camera PowerShot
No comments:
Post a Comment