First of all login to your VPS as root using SSH.
Now type this command and press enter.
nano -w /etc/yum.repos.d/utterramblings.repo
and then following lines into editor. Save the file and quit editor.
[utterramblings]
name=Jason’s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
For those new to linux, the nano command is for a linux editor, and once you type the 6 lines, press ctrl O to write the file and press enter to save to the file name given.
Now type this command and press enter.
yum install httpd
Now type this
yum install php
Now type this
yum install mysql mysql-server mysql-devel
apache, php and mysql are now install on your VPS. time to start these services
Type this command and press enter
/etc/init.d/httpd start
Now type this command
/etc/init.d/mysqld start
After starting mysql it will ask you to setup password for root user.
Type this command to do this
mysqladmin -u root -h localhost -p password NEWPASSWORD
Latest version of apache,php and mysql are now install and running on your VPS.
Enjoy!
Can You give me tutorial of How to install php and mysql on my computer without using programs like xampp.
Yes! tutorial to install Apache is just published. I will post on php and mysql soon.
You’re missing like 20 different packages that need to be installed for everything to actually work.
Like, mod_php, and etc.
Google LAMP, install it, boom, apache, mysql, php, all installed and working together inperfect harmony.
4:36 PM
I’ve been looking around zubairtech.info and really am impressed by the terrific content here. I work the nightshift at my job and it really gets boring. I’ve been coming here for the previous couple nights and reading. I just needed to let you know that I have been enjoying what I have seen and I look forward to reading more.