{"id":87,"date":"2017-06-30T07:44:04","date_gmt":"2017-06-30T07:44:04","guid":{"rendered":"https:\/\/www.coimbatorewebhosting.com\/blog\/?p=87"},"modified":"2017-06-30T07:44:11","modified_gmt":"2017-06-30T07:44:11","slug":"list-of-commands-to-config-vps-through-ssh-putty","status":"publish","type":"post","link":"https:\/\/coimbatorewebhosting.com\/blog\/list-of-commands-to-config-vps-through-ssh-putty\/","title":{"rendered":"List of Commands to config VPS through SSH (PUTTY):-"},"content":{"rendered":"<p>step:1<\/p>\n<p>login into the Putty by using our login name and password in SSL Mode.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-88\" src=\"https:\/\/www.coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2017\/06\/Capture1-293x300.jpg\" alt=\"\" width=\"293\" height=\"300\" srcset=\"https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2017\/06\/Capture1-293x300.jpg 293w, https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2017\/06\/Capture1.jpg 469w\" sizes=\"auto, (max-width: 293px) 100vw, 293px\" \/><\/p>\n<p>By entering the Host name or IP address and suitable port &lt;--- enter<\/p>\n<p>Put the configuration type in SSH<\/p>\n<p>than the Putty Command Window is Open<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-89\" src=\"https:\/\/www.coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2017\/06\/Capture2-300x190.jpg\" alt=\"\" width=\"300\" height=\"190\" \/><\/p>\n<p>by entering root as login\/user name and Password:&lt;---- right clik in mouse<\/p>\n<p>we enter in to the VPS root ~<\/p>\n<p>Now follow the commands below:<\/p>\n<p lang=\"zxx\">1 yum install httpd php php-mysql------------ installation of apache,php and php-mysql(application)<\/p>\n<p lang=\"zxx\">2 service httpd start----------------------- that restart appache(httpd)<\/p>\n<p lang=\"zxx\">3 yum install mysql-server------------------- install mysql server<\/p>\n<p lang=\"zxx\">4 service mysqld start------------------------start mysql service<\/p>\n<p lang=\"zxx\">yum install nano----------------------------instakk of nano(text editing file)<\/p>\n<p lang=\"zxx\">5 nano \/etc\/httpd\/conf\/httpd.conf-------------open editing file to configure appache(httpd) according<\/p>\n<p lang=\"zxx\">to our details ip,<a  href=\"https:\/\/www.coimbatorewebhosting.com\/blog\/how-to-monitor-the-centos7-apache-server-using-cacti\/\" title=\"Doamin \" alt=\"Doamin \">Doamin <\/a> name,root...After editing the file save(ctl o) and exit(ctrl x)<\/p>\n<p lang=\"zxx\">6 service httpd restart-----------------------than <a  href=\"https:\/\/www.coimbatorewebhosting.com\/blog\/easy-steps-to-install-and-configure-lamp-in-centos-7\/\" title=\"restart \" alt=\"restart \">restart <\/a> httpd(appache)<\/p>\n<p lang=\"zxx\">7 nano httpd.conf-----------------------------creat a new httpd config file and to edit<\/p>\n<p lang=\"zxx\">8 touch httpd.conf----------------------------creat a new httpd config file and to edit<\/p>\n<p lang=\"zxx\">9 service httpd restart-----------------------than restart httpd(appache)<\/p>\n<p lang=\"zxx\">10 mysql_secure_installation-------------------starting installation of mysql<\/p>\n<p lang=\"zxx\">11 mysql -u root -p----------------------------entering into the mysql-&gt; by username and password<\/p>\n<p lang=\"zxx\">12 cd \/var\/www\/example.com\/--------------------entering unto the <a  href=\"https:\/\/www.coimbatorewebhosting.com\/blog\/how-to-increase-the-php-memory-upload-size-in-word-press\/\" title=\"particular\" alt=\"particular\">particular<\/a> diractory( example .com)<\/p>\n<p lang=\"zxx\">13 mkdir domainname.in------------------------make or create an new directory or folder(named =<\/p>\n<p lang=\"zxx\">domainname.in)<\/p>\n<p lang=\"zxx\">14 cd domainname.in--- ------------------------entering into an folder or directory<\/p>\n<p lang=\"zxx\">15 mkdir public_html---------------------------make or create an new directory or folder(named =<\/p>\n<p lang=\"zxx\">public_html)<\/p>\n<p lang=\"zxx\">16 ll -----------------------------------------look all the files and folders present inthe directory<\/p>\n<p lang=\"zxx\">17 cd -----------------------------------------get IN and OUT of the directory\/folder<\/p>\n<p lang=\"zxx\">18 cd \/var\/www\/domainname.in\/-----------------entering into the particular path\/ root directory<\/p>\n<p lang=\"zxx\">19 wget https:\/\/wordpress.org\/latest.zip-------get or download the wordpress file in Zip<\/p>\n<p lang=\"zxx\">20 unzip latest.zip ---------------------------extract the above downloaded zip file wordpress<\/p>\n<p lang=\"zxx\">21 wget http:\/\/wordpress.org\/latest.tar.gz-----get or download the wordpress file in Zip<\/p>\n<p lang=\"zxx\">22 tar -xzvf latest.tar.gzm -------------------extract the above downloaded zip file wordpress<\/p>\n<p lang=\"zxx\">23 unzip latest.zip ---------------------------extract the above downloaded zip file wordpress<\/p>\n<p lang=\"zxx\">24 yum install unzip---------------------------if ZIP software is not installed we want to install<\/p>\n<p lang=\"zxx\">25 cp wp-config-sample.php wp-config.php-------copy the content in wp-config-sample.php to the<\/p>\n<p lang=\"zxx\">new file wp-config.php<\/p>\n<p lang=\"zxx\">26 cp wp-config-sample.php wp-config.php<\/p>\n<p lang=\"zxx\">27 pwd ---------------------------------------to know where the current path is and the root<\/p>\n<p lang=\"zxx\">28 rm domainname.in\/ -f ----------------------to remove the file<\/p>\n<p lang=\"zxx\">29 rm domainname.in\/ -fr----------------------to remove the folder<\/p>\n<p lang=\"zxx\">30 cd var\/www\/domainname.in\/wp-config.php-----this cmd will<\/p>\n<p lang=\"zxx\">31 cd wordpress mv -Rf * \/var\/www\/domainname.in\/-- move the wordpress into the domainname.in<\/p>\n<p lang=\"zxx\">32 mv * \/var\/www\/domainname.in -f<\/p>\n<p lang=\"zxx\">33 cd ..<\/p>\n<p lang=\"zxx\">34 ll<\/p>\n<p lang=\"zxx\">35 pwd<\/p>\n<p lang=\"zxx\">36 mv wp-config-sample.php wp-config.php<\/p>\n<p lang=\"zxx\">37 mysql -u root -p-----------------------------entering into the mysql-&gt; by username and password<\/p>\n<p lang=\"zxx\">38 service mysql start--------------------------start the mysql service start<\/p>\n<p lang=\"zxx\">39 service httpd start--------------------------start the httpd service<\/p>\n<p lang=\"zxx\">40. nano \/etc\/httpd\/conf\/httpd.conf--------------to configure the appache (httpd) file acc to out details<\/p>\n<p lang=\"zxx\">ip,Doamin name,root...After editing the file save(ctl o) and exit(ctrl x)<\/p>\n<p lang=\"zxx\">41 service httpd restart------------------------Restart the httpd service<\/p>\n<p lang=\"zxx\">42 mysql -u root -p-----------------------------entering to the mysql by our password<\/p>\n<p lang=\"zxx\">43 cd \/var\/www\/domainname.in\/------------------going into the particular our path or directory<\/p>\n<p lang=\"zxx\">44 nano wp-config.php --------------------------config the wordpress file into our database name,use<\/p>\n<p lang=\"zxx\">name, and user pasword<\/p>\n<p lang=\"zxx\">45 cd wp-content--------------------------------enter into folder named wp-content<\/p>\n<p lang=\"zxx\">46 mkdir uploads 2017 --------------------------create an new folder or directory named uploads 2017<\/p>\n<p lang=\"zxx\">47 chmod 755 uploads\/ -rf-----------------------give permissions to the particular file uploads(755-<\/p>\n<p lang=\"zxx\">read ,write and execute)<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &lt;&#8212; enter Put the configuration type in SSH than the Putty Command Window is Open by entering root as login\/user name and Password:&lt;&#8212;- right [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pa2YU7-1p","_links":{"self":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":0,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"wp:attachment":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}