{"id":706,"date":"2014-02-28T06:17:24","date_gmt":"2014-02-28T14:17:24","guid":{"rendered":"http:\/\/systemsolver.com\/StatlerBlog\/?p=706"},"modified":"2014-02-28T06:17:24","modified_gmt":"2014-02-28T14:17:24","slug":"virtual-box-linux-mint-drupal-and-civicase-part-2","status":"publish","type":"post","link":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/2014\/02\/28\/virtual-box-linux-mint-drupal-and-civicase-part-2\/","title":{"rendered":"Virtual Box, Linux Mint, Drupal and civiCASE &#8212; Part 2"},"content":{"rendered":"<p>Here we will set up the web server<br \/>\n<!--more--><\/p>\n<h2>Upgrade and Install LAMP<\/h2>\n<h3>Make a clone<\/h3>\n<p>As we progress through major milestones we want to create virtual machine clones so we can always start again from the previous efforts. Name the clone for the next process. In this case, create a clone with a name that includes the word &#8216;upgrade&#8217; because that&#8217;s what we are going to do next.<\/p>\n<h3>Upgrade Linux Mint<\/h3>\n<p>First step is to upgrade our Linux Mint installation.<\/p>\n<ol>\n<li>Open a Terminal Emulator<\/li>\n<li>Type: sudo apt-get update<\/li>\n<li>Type: your password<\/li>\n<li>Type: sudo apt-get dist-upgrade\n<ol>\n<li>That part takes some real time.<\/li>\n<li>Also, at a certain point it will ask you aboutAnswer with yes (y)<\/li>\n<li>Then the a message about configuring Grub-PC shows upUse the Enter key and the next window asksUse the space bar to select the first options then<br \/>\nTab to get the OK ready, then use the Enter key.<\/li>\n<\/ol>\n<\/li>\n<li>Once completed, Stop the virtual machine and clone it with a new name using LAMP<\/li>\n<\/ol>\n<h3>Install LAMP (Linux,\u00a0 Apache, MySQL, PHP<\/h3>\n<ol>\n<li>\u00a0Start the virtual machine with the new name LAMP<\/li>\n<li>Open a Terminal Emulator window<\/li>\n<li>Type: sudo apt-get install tasksel<\/li>\n<li>Type: sudo tasksel<\/li>\n<li>Use the arrow keys to highlight LAMP Server<\/li>\n<li>Use the space bar to select it<br \/>\nAlthough they may already be selected, choose<br \/>\nPrint Server and SAMBA Server at the same time.<\/li>\n<li>Use tab to highlight the OK and use the Enter key.<\/li>\n<li>You&#8217;ll be asked for a password for the &#8220;root&#8221; user of MySQL<\/li>\n<li>Now install MySQLadmin &#8212;<\/li>\n<li>Type: sudo apt-get install phpmyadmin<br \/>\nYou&#8217;ll be asked to configure phpmyadmin and select a web serverUse the space bar to select apache2<br \/>\nThen tab to select OK and hit the Enter key<br \/>\nAnother window will appear.Select the default answer by hitting the Enter key.<br \/>\nEnter the database administrators password, use tab to go to the OK, use the Enter key<br \/>\nYou&#8217;ll be asked to create a user password, then to confirm the password.<br \/>\nThat should end that.<\/li>\n<li><strong>Now do a bit of file editing<\/strong>\n<ol>\n<li>\/etc\/apache2\/apache2.conf<\/li>\n<li>open as root, add at the top<\/li>\n<li>ServerName 10.0.0.23<\/li>\n<li>and\/or<\/li>\n<li>ServerName localhost<\/li>\n<li>and\/or<\/li>\n<li>some other server name for when you\u00a0 open a browser and enter an address. If this is setup on a vpn then use the machine&#8217;s vpn ip address.<\/li>\n<li>Thanks to<a href=\"http:\/\/stackoverflow.com\/questions\/9541460\/httpd-could-not-reliably-determine-the-servers-fully-qualified-domain-name-us\"> http:\/\/stackoverflow.com\/questions\/9541460\/httpd-could-not-reliably-determine-the-servers-fully-qualified-domain-name-us<\/a><\/li>\n<li>Finally, if you get a 404 error upon visiting <a class=\"postlink\" href=\"http:\/\/localhost\/phpmyadmin\">http:\/\/localhost\/phpmyadmin<\/a>:<br \/>\nOpen for editing: <code>\/etc\/apache2\/apache2.conf<\/code>Add the following two lines# To fix phpmyadmin not opening<br \/>\nInclude \/etc\/phpmyadmin\/apache.confRestart apache2, in a command prompt type:<br \/>\n<code>sudo \/etc\/init.d\/apache2 restart<\/code><\/li>\n<\/ol>\n<\/li>\n<li>Now for some little clean up run these two commands:<\/li>\n<li>sudo apt-get install php5-gd<\/li>\n<li>sudo php5enmod mcrypt<\/li>\n<li>You can test the Apache web server by typing: localhost (or whatever you put in step 3) \u00a0 into a web browser to see a success page.<\/li>\n<li>Close the Machine<\/li>\n<li>Make a clone and name the new clone with the word Drupal (&#8217;cause we&#8217;s gonna install that next).<\/li>\n<\/ol>\n<h3><a title=\"Virtual Box, Linux Mint, Drupal and civiCASE \u2014 Part 3\" href=\"http:\/\/systemsolver.com\/StatlerBlog\/index.php\/2014\/02\/28\/virtual-box-linux-mint-drupal-and-civicase-part-3\/\">Click for Part 3<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Here we will set up the web server<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6],"tags":[],"class_list":["post-706","post","type-post","status-publish","format-standard","hentry","category-general","category-linux"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/comments?post=706"}],"version-history":[{"count":0,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/706\/revisions"}],"wp:attachment":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/media?parent=706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/categories?post=706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/tags?post=706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}