{"id":721,"date":"2014-02-28T07:50:12","date_gmt":"2014-02-28T15:50:12","guid":{"rendered":"http:\/\/systemsolver.com\/StatlerBlog\/?p=721"},"modified":"2014-02-28T07:50:12","modified_gmt":"2014-02-28T15:50:12","slug":"virtual-box-linux-mint-drupal-and-civicase-part-3","status":"publish","type":"post","link":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/2014\/02\/28\/virtual-box-linux-mint-drupal-and-civicase-part-3\/","title":{"rendered":"Virtual Box, Linux Mint, Drupal and civiCASE &#8212; Part 3"},"content":{"rendered":"<p>Now we are ready to install Drupal. Open the clone you named with the word Drupal.<br \/>\n<!--more--><\/p>\n<h2>Install Drupal<\/h2>\n<p>First, just to test things out:<\/p>\n<ol>\n<li>Open a web browser and go to &#8216;localhost&#8217;, you should see a success page<\/li>\n<li>Now, go to <a href=\"http:\/\/localhost\/phpmyadmin\/\">http:\/\/localhost\/phpmyadmin\/<\/a><\/li>\n<li>A new web page should open<\/li>\n<li>You will be asked for a username and password. The username is &#8216;root&#8217; and the password you should know.<\/li>\n<li>Test completed.<\/li>\n<\/ol>\n<p>Now install drupal. Go to the drupal.org and check to see the most current version. Type that into the following commands (in place of the 7.26):<\/p>\n<p><strong>Type the following into a terminal window:<\/strong><\/p>\n<ol>\n<li>wget http:\/\/ftp.drupal.org\/files\/projects\/drupal-7.26.tar.gz<\/li>\n<li>tar -xvzf drupal-7.26.tar.gz<\/li>\n<li>sudo mkdir \/var\/www\/drupal<\/li>\n<li>sudo mv drupal-7.26\/* drupal-7.26\/.htaccess drupal-7.26\/.gitignore \/var\/www\/drupal<\/li>\n<li>sudo mkdir \/var\/www\/drupal\/sites\/default\/files<\/li>\n<li>sudo chown www-data:www-data \/var\/www\/drupal\/sites\/default\/files<\/li>\n<li>sudo cp \/var\/www\/drupal\/sites\/default\/default.settings.php \/var\/www\/drupal\/sites\/default\/settings.php<\/li>\n<li>sudo chown www-data:www-data \/var\/www\/drupal\/sites\/default\/settings.php<\/li>\n<li>open as root: \/etc\/apache2\/sites-enabled\/<\/li>\n<li>edit \/etc\/apache2\/sites-enabled\/000-default.conf<\/li>\n<\/ol>\n<blockquote>\n<ul>\n<li>where it says<\/li>\n<li>ServerAdmin webmaster@localhost<br \/>\nDocumentRoot \/var\/www\/html<\/li>\n<li>Change that second part to<\/li>\n<li>DocumentRoot \/var\/www\/drupal<\/li>\n<\/ul>\n<\/blockquote>\n<p><strong>Now for some sql database work:<\/strong><\/p>\n<ol>\n<li>mysqladmin -u root -p create drupal<\/li>\n<li>mysql -u root -p<\/li>\n<li>\n<pre>GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE<\/pre>\n<pre> TEMPORARY TABLES, LOCK TABLES<\/pre>\n<pre> ON drupal.*<\/pre>\n<pre> TO 'adminuser'@'localhost' IDENTIFIED BY 'adminuser';<\/pre>\n<\/li>\n<li>[<strong>NOTE<\/strong>: &#8216;adminuser&#8217;@&#8217;localhost&#8217; is probably more like &#8216;root&#8217;@&#8217;localhost&#8217; and then IDENTIFIED BY &#8216;useyourpassword&#8217;]<\/li>\n<li>[ALSO NOTE: those stupid sinqle quote marks might be the wrong kind] fixed that<\/li>\n<li>FLUSH PRIVILEGES;<\/li>\n<li>\\q<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><strong>Now restart the server, get another file, and rename a couple of folders<\/strong><\/p>\n<ol>\n<li>sudo service apache2 restart<\/li>\n<li>probably better now to reboot to make\u00a0 sure everythings okay<\/li>\n<\/ol>\n<p><strong>[End]<\/strong><\/p>\n<p>Now open a web browser and go to: http:\/\/localhost\/install.php<\/p>\n<p>The next step is to setup Drupal. But first make a clone and use the name Drupal setup<\/p>\n<h3><a title=\"Virtual Box, Linux Mint, Drupal and civiCASE \u2014 Part 4\" href=\"http:\/\/systemsolver.com\/StatlerBlog\/index.php\/2014\/03\/01\/virtual-box-linux-mint-drupal-and-civicase-part-4\/\">\u00a0Click for Part 4<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Now we are ready to install Drupal. Open the clone you named with the word Drupal.<\/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-721","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\/721","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=721"}],"version-history":[{"count":0,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/721\/revisions"}],"wp:attachment":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/media?parent=721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/categories?post=721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/tags?post=721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}