step:1

login into the Putty by using our login name and password in SSL Mode.

By entering the Host name or IP address and suitable port <— enter

Put the configuration type in SSH

than the Putty Command Window is Open

by entering root as login/user name and Password:<—- right clik in mouse

we enter in to the VPS root ~

Now follow the commands below:

1 yum install httpd php php-mysql———— installation of apache,php and php-mysql(application)

2 service httpd start———————– that restart appache(httpd)

3 yum install mysql-server——————- install mysql server

4 service mysqld start————————start mysql service

yum install nano—————————-instakk of nano(text editing file)

5 nano /etc/httpd/conf/httpd.conf————-open editing file to configure appache(httpd) according

to our details ip,Doamin name,root…After editing the file save(ctl o) and exit(ctrl x)

6 service httpd restart———————–than restart httpd(appache)

7 nano httpd.conf—————————–creat a new httpd config file and to edit

8 touch httpd.conf—————————-creat a new httpd config file and to edit

9 service httpd restart———————–than restart httpd(appache)

10 mysql_secure_installation——————-starting installation of mysql

11 mysql -u root -p—————————-entering into the mysql-> by username and password

12 cd /var/www/example.com/——————–entering unto the particular diractory( example .com)

13 mkdir domainname.in————————make or create an new directory or folder(named =

domainname.in)

14 cd domainname.in— ————————entering into an folder or directory

15 mkdir public_html—————————make or create an new directory or folder(named =

public_html)

16 ll —————————————–look all the files and folders present inthe directory

17 cd —————————————–get IN and OUT of the directory/folder

18 cd /var/www/domainname.in/—————–entering into the particular path/ root directory

19 wget https://wordpress.org/latest.zip——-get or download the wordpress file in Zip

20 unzip latest.zip —————————extract the above downloaded zip file wordpress

21 wget http://wordpress.org/latest.tar.gz—–get or download the wordpress file in Zip

22 tar -xzvf latest.tar.gzm ——————-extract the above downloaded zip file wordpress

23 unzip latest.zip —————————extract the above downloaded zip file wordpress

24 yum install unzip—————————if ZIP software is not installed we want to install

25 cp wp-config-sample.php wp-config.php——-copy the content in wp-config-sample.php to the

new file wp-config.php

26 cp wp-config-sample.php wp-config.php

27 pwd —————————————to know where the current path is and the root

28 rm domainname.in/ -f ———————-to remove the file

29 rm domainname.in/ -fr———————-to remove the folder

30 cd var/www/domainname.in/wp-config.php—–this cmd will

31 cd wordpress mv -Rf * /var/www/domainname.in/– move the wordpress into the domainname.in

32 mv * /var/www/domainname.in -f

33 cd ..

34 ll

35 pwd

36 mv wp-config-sample.php wp-config.php

37 mysql -u root -p—————————–entering into the mysql-> by username and password

38 service mysql start————————–start the mysql service start

39 service httpd start————————–start the httpd service

40. nano /etc/httpd/conf/httpd.conf————–to configure the appache (httpd) file acc to out details

ip,Doamin name,root…After editing the file save(ctl o) and exit(ctrl x)

41 service httpd restart————————Restart the httpd service

42 mysql -u root -p—————————–entering to the mysql by our password

43 cd /var/www/domainname.in/——————going into the particular our path or directory

44 nano wp-config.php ————————–config the wordpress file into our database name,use

name, and user pasword

45 cd wp-content——————————–enter into folder named wp-content

46 mkdir uploads 2017 ————————–create an new folder or directory named uploads 2017

47 chmod 755 uploads/ -rf———————–give permissions to the particular file uploads(755-

read ,write and execute)