So at about 1am this morning, Burst.Net ultimately got my server up and running for me to use. Unfortunately for me, I was already sleeping and I had work today so I wasn’t able to undoubtedly play with it until tonight. Like other vps‘s and dedicated servers out there, the server is ordinarily bare boned with no software except the operating system. For me I decided to use CentOs 5 64-bit edition to get my web server up and running. Burst.Net had Apache 2 pre-installed on my vps for me but that was pretty much about it. So I had to scramble nearby and hunt for an easy way to setup Mysql and Php to go with my Linux Apache Server.
After some searching, I realized that it is undoubtedly easy because Linux CentOs 5 comes pre-bundled with Yum. Yum is a highlight that allows you to download and setup software automatically. It will decree all of the dependencies and take care of the rest. I determined which packages I needed and sent off my command:
Dedicated Server
yum setup php php-mysql mysql-Server php-gd postgres ImageMagick ImageMagick-devel
This determined all of the dependencies and installed Php and Mysql on my CentOs Linux Server! It was so easy!! I just needed to give Apache a reboot and php was pretty much up and running. To give it a test, I just wrote a easy line of code in /var/www/html/test.php.
phpinfo();
Then visit yourhost/test.php If your php server is setup correctly, this should production all of the data about your php setup and the dissimilar components that were installed with it. It will give you a list of all your configurations and plugins that are enabled.
The next step was getting mysql up and running. After the yum install, the daemon is not automatically started so you will need to start it yourself. You can start the mysql daemon but running the following command:
service mysqld start
If all things goes well, the aid should start without a hitch and it will give you a list of directions for first time users. One of the most leading things to do now is to set a password for the root user in mysql. Again just like all things else it is just a easy 1 liner to change the mysql password:
/usr/bin/mysqladmin -u root password ‘mynewpassword’
Thats it! After only a few easy commands in Linux, I was able to get a bare-boned CentOs 5 law up and running with a full Lamp install. This process will take a max of 5 minutes to complete. But for me.. I was busy googling it took me about 30 minutes to an hour.. So hopefully this will help you.
For more data about Php and WordPress check out http://www.websitejourney.com/
Lamp Server Setup CentOs 5 64-Bit
Tags : SEO Thailand Dedicate Server CoLocation, Hosting, VPS และ Dedicated Server เช่า/เช่าซื้อ ราคาถูก CoLocation, Hosting, VPS และ Dedicated Server เช่า/เช่าซื้อ ราคาถูก
Leave a Reply