{"id":275,"date":"2017-10-13T18:53:00","date_gmt":"2017-10-13T18:53:00","guid":{"rendered":"http:\/\/www.infotheme.in\/blog\/?p=275"},"modified":"2022-08-10T11:44:23","modified_gmt":"2022-08-10T11:44:23","slug":"digital-ocean-setup-ubuntu-apache-mysql-php-vsftpd-ftp-phpmyadmin-and-wordpress","status":"publish","type":"post","link":"https:\/\/infotheme.net\/blog\/digital-ocean-setup-ubuntu-apache-mysql-php-vsftpd-ftp-phpmyadmin-and-wordpress\/","title":{"rendered":"How to Setup Ubuntu on Digital Ocean with Apache, Mysql, PHP, Vsftpd(FTP), PhpMyAdmin and WordPress"},"content":{"rendered":"<p>Hey Guys ! Here I am feeling good to writing back something for you, So guys last week I was working on a <a href=\"https:\/\/m.do.co\/c\/4cf5793a9195\" target=\"_blank\" rel=\"nofollow noopener\">Digital Ocean<\/a> server setup with Ubuntu. So I faced too many problems during server setup where I am running a <strong>wordpress<\/strong> website which need <strong>Apache, MySql and PHP<\/strong> to run well on any server. And if you guys are web developer you must need ftp access to manage your website and phpmyadmin too. So here I tried to create a tutorial how you can <strong>solve out major problems during Digital Ocean server setup<\/strong>. So first we will <strong>review service of Digital Ocean<\/strong> here and understand why use Digital Ocean for best performance, because i don&#8217;t want to force you guys to change your hosting providers there are many VPS and Cloud Hostings are very nice.<\/p>\n<p>So here we will learn today &#8220;<strong>How to setup ubuntu on Digital Ocean<\/strong> and<strong> How to Install Apache, Mysql, PHP, Vsftpd (FTP Service), phpmyadmin and WordPress<\/strong>&#8220;. &nbsp;Here first we will learn and understand why digital ocean is best for your website.<\/p>\n<figure id=\"attachment_279\" aria-describedby=\"caption-attachment-279\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"size-large wp-image-279\" src=\"http:\/\/http:\/\/www.infotheme.in\/blog\/wp-content\/uploads\/2016\/10\/How-to-Setup-Ubuntu-on-Digital-Ocean-With-PHP-APACHE-MYSQL-PHPMYADMIN-FTP-Wordpress-1024x576.jpg\" alt=\"How to Setup Ubuntu on Digital Ocean With PHP, APACHE, MYSQL PHPMYADMIN FTP WordPress\" width=\"1024\" height=\"576\"><figcaption id=\"caption-attachment-279\" class=\"wp-caption-text\">How to Setup Ubuntu on Digital Ocean With PHP, APACHE, MYSQL PHPMYADMIN FTP WordPress<\/figcaption><\/figure>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#Why_Digital_Ocean_is_best_for_your_website_8211_Digital_Ocean_Technical_Review\"><span class=\"toc_number toc_depth_1\">1<\/span> Why Digital Ocean is best for your website &#8211; Digital Ocean Technical Review<\/a><\/li><li><a href=\"#How_to_Create_A_Droplet_Into_Digital_Ocean\"><span class=\"toc_number toc_depth_1\">2<\/span> How to Create A Droplet Into Digital Ocean<\/a><\/li><li><a href=\"#How_to_use_Droplet_Credentials_for_first_timenbspnbspHow_to_Access_Digital_Ocean_Droplet\"><span class=\"toc_number toc_depth_1\">3<\/span> How to use Droplet Credentials for first time&nbsp;|&nbsp;How to Access Digital Ocean Droplet<\/a><\/li><li><a href=\"#How_to_Install_Apache_in_Ubuntu_over_Digital_Ocean\"><span class=\"toc_number toc_depth_1\">4<\/span> How to Install Apache in Ubuntu over Digital Ocean<\/a><\/li><li><a href=\"#Conclusion\"><span class=\"toc_number toc_depth_1\">5<\/span> Conclusion<\/a><\/li><\/ul><\/div>\n<h2><span id=\"Why_Digital_Ocean_is_best_for_your_website_8211_Digital_Ocean_Technical_Review\">Why Digital Ocean is best for your website &#8211; Digital Ocean Technical Review<\/span><\/h2>\n<p>So if you will ask me why digital ocean, i will tell you just one thing &#8220;There is nothing like digital ocean&#8221;. Oh Really \ud83d\ude42 Yes it&#8217;s right! But Why it&#8217;s best, do you have any proof show me. Oh you always want proof, it&#8217;s sounds like cheap. Yes the first thing i wanna tell you about digital ocean, it have really cheap prices as compared to others. You can get just one droplet and host multiple website in it, while they recommend one website per droplet and i will recommend the same thing for you. So you can buy a droplet just at <strong>$5\/month<\/strong>. Your Question &#8220;Hey Rahul It&#8217;s Really costly man ?&#8221; &nbsp;I can&#8217;t afford that. \ud83d\ude42 Seems Greedy hmm!, ok I know you don&#8217;t know budget like this, wait<strong> &#8220;DROPLET10&#8221;<\/strong> it&#8217;s for you man, you can get 2 months hosting free with this $20 credit use this coupon code. So I think your problem solved, now just take a look at this <strong>$5\/month<\/strong> means <strong>$5 x 12 &#8211; $10 = $50 \/ year<\/strong> is it costly. No \ud83d\ude41 , but why, you are still sad, just go for it man. You will enjoy these few technical features in it.<\/p>\n<p><strong>Technically Best Digital Ocean Tech Review:<\/strong><\/p>\n<ol>\n<li>Full SSH Access<\/li>\n<li>512 MB Ram Server<\/li>\n<li>20 Gb of Disk (Storage)<\/li>\n<li>Fast and Reliable<\/li>\n<\/ol>\n<p>Everything in your hand, with an dedicated IP, you also have option of primary and secondary ip for your droplet.<\/p>\n<p>So man what you want now in just $5, grow up and go for it. Buy Digital Ocean Droplet at Lower Price Use below link and <strong>use coupon &#8220;DROPLET10&#8221; to get $10 credit<\/strong>.<\/p>\n<p><a href=\"https:\/\/m.do.co\/c\/4cf5793a9195\" target=\"_blank\" rel=\"nofollow noopener\">Buy Digital Ocean&nbsp;Droplet<\/a>&nbsp;, I will help you in server setup with ubuntu, apache, php, mysql and phpmyadmin. So here you read why digital ocean is best. Now we will learn how to create a droplet in digital ocean.<\/p>\n<h2><span id=\"How_to_Create_A_Droplet_Into_Digital_Ocean\">How to Create A Droplet Into Digital Ocean<\/span><\/h2>\n<p>It&#8217;s a simple process signup using above given link and confirm your email after that link your paypal or credit card with your digital ocean account for future payment and when you after that create an droplet.<\/p>\n<p>Don&#8217;t forget to use coupon, and see this image how to create droplet<\/p>\n<figure id=\"attachment_276\" aria-describedby=\"caption-attachment-276\" style=\"width: 613px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"size-full wp-image-276\" src=\"http:\/\/www.infotheme.in\/blog\/wp-content\/uploads\/2016\/10\/digital-ocean-create-droplet.png\" alt=\"How to Create Digital Ocean Droplet\" width=\"613\" height=\"550\"><figcaption id=\"caption-attachment-276\" class=\"wp-caption-text\">How to Create Digital Ocean Droplet<\/figcaption><\/figure>\n<p>As you can see there $5\/month plan you can use that and select server location as per your choice. At last click to create droplet button. Your droplet will be ready to use within few minutes or seconds. After that you will receive a detailed mail of your droplet&#8217;s credentials, see below image:<\/p>\n<figure id=\"attachment_278\" aria-describedby=\"caption-attachment-278\" style=\"width: 846px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"size-full wp-image-278\" src=\"http:\/\/www.infotheme.in\/blog\/wp-content\/uploads\/2016\/10\/Digital-Ocean-Droplet-Creation-Email-Sample.png\" alt=\"Digital Ocean Droplet Creation Email Sample\" width=\"846\" height=\"151\"><figcaption id=\"caption-attachment-278\" class=\"wp-caption-text\">Digital Ocean Droplet Creation Email Sample<\/figcaption><\/figure>\n<p>Now you have credentials of your new droplet, It&#8217;s time to install apache, php and mysql to your server. So it&#8217;s too easy to do, you need only&nbsp;SSH client to do it. As i am using windows so i have downloaded an open source SSH client <strong><a href=\"http:\/\/www.putty.org\/\" target=\"_blank\" rel=\"nofollow noopener\">Putty<\/a>&nbsp;(A SSH Client).<\/strong>&nbsp;For Mac you can search over google how to use SSH and for&nbsp;linux you can do it easily without any client.<\/p>\n<h2><span id=\"How_to_use_Droplet_Credentials_for_first_timenbspnbspHow_to_Access_Digital_Ocean_Droplet\">How to use Droplet Credentials for first time&nbsp;|&nbsp;How to Access Digital Ocean Droplet<\/span><\/h2>\n<p>So &nbsp;go to SSH client and it will ask you to enter IP, or you can access directly using IP. After that it will ask you for your username use root as username, after that it will ask for password, enter your password and press enter button.<\/p>\n<p>Now it&#8217;s time to set your own password but before it will ask for you your existing password and then will give you options to create a new password and confirm new password. When you will be done with this. You will successfully access your droplet.<\/p>\n<p>So first here as i want to install wordpress on this droplet and as we know i need apache, php, mysql to run it easily. So first we will install apache so we can run apache server.<\/p>\n<h2><span id=\"How_to_Install_Apache_in_Ubuntu_over_Digital_Ocean\">How to Install Apache in Ubuntu over Digital Ocean<\/span><\/h2>\n<p><strong>Step1: First use this command to&nbsp;get information about which service you already having in your system, and what updated versions of packages are available.<\/strong><\/p>\n<p>sudo apt-get update<\/p>\n<p><strong>Step 2: Install Apache Server<\/strong><\/p>\n<p>sudo apt-get install apache2<\/p>\n<p><strong>Step 3: It will ask you for an confirmation press Y for yes<\/strong><\/p>\n<p><strong>Step 4: After that you will see apache is installed in your system, you can check apache version by below command line<\/strong><\/p>\n<p>sudo apache2 -v<\/p>\n<p><strong>Step 5 : At-last restart your apache server and type your ip in your browser and you will see a webpage means your apache server is ready to use<\/strong><\/p>\n<p>sudo service apache2 restart<\/p>\n<h2><span id=\"Conclusion\">Conclusion<\/span><\/h2>\n<p>Hey guys hopefully this post will help you to configure ubuntu on digital ocean with Apache. As i mentioned before we will learn how to <strong>install Apache, MySql, PHP, vsftpd, PhpMyadmin and WordPress<\/strong>, so yes will surely learn about it here. I am writing next part of this article mean while you can do above given steps and enjoy digital ocean cloud hosting. I will update it soon waiting for your comments and problem during wordpress, apache, mysql, phpmyadmin, php, vsftpd (ftp) installation over digital ocean ubuntu.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey Guys ! Here I am feeling good to writing back something for you, So guys last week I was working on a Digital Ocean [&hellip;] <span class=\"read-more-link\"><a class=\"read-more\" href=\"https:\/\/infotheme.net\/blog\/digital-ocean-setup-ubuntu-apache-mysql-php-vsftpd-ftp-phpmyadmin-and-wordpress\/\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":279,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[135,132],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/posts\/275"}],"collection":[{"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/comments?post=275"}],"version-history":[{"count":2,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/posts\/275\/revisions"}],"predecessor-version":[{"id":1478,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/posts\/275\/revisions\/1478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/media?parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/categories?post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infotheme.net\/blog\/wp-json\/wp\/v2\/tags?post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}