To upgrade an incremental version of Drupal – say from 7.12 to 7.26, you download the new core base files and replace the current files in the web root apart from the Sites directory, and if customized, also the. htaccess needs a tweak as the install is in a subdirectory, the “RewriteBase” needs to be explicitly set: # If your site is running in a VirtualDocumentRoot at ,Īnd also for smoother compatibilities for Drupal upgrades and module/theme add on installs change the local ownership to _www on your drupal web shared directory sudo chown -R _www ~/Sites/drupal Upgrading Drupal Next steps are to create a master admin account and a few generic system settings and you are done.Īs a foot note, to sort out clean URLs, the. In the advanced options you can tweak the db prefix, port and host, the default “localhost” should be fine for this purpose. Then when you get to the Database configuration put in the details you used to set up MySQL in this case the db was “drupal” and the db user was “root”. Open – All done! faster than you can say “bitnami” If this is your first time installing Drupal, go with the Standard option Remove compressed archive and empty directory rm -rf drupal-*Ĭreate a settings file cp ~/Sites/drupal/sites/default/ ~/Sites/drupal/sites/default/settings.phpįix permissions on the default directory and settings file chmod -R a+w ~/Sites/drupal/sites/defaultĬreate a new database (no space between -p and password – as an alternative this can be done in phpmyadmin mysql -u -p -e "create database " Move hidden files one level up mv drupal-7.26/.*. Move all files into shared directory one level up mv drupal-7.26/*. Get the latest drupal, swap 7.x for incremental updates[ curl -O Make a sharing directory and move into it: mkdir ~/Sites/drupal cd ~/Sites/drupal The mysql database will be called drupal and the mysql user is root. This tutorial assumes that the shared drupal directory will be called “ drupal“. OS X has 2 web document roots ‘/Library/WebServer/Documents’ and ‘/Users/username/Sites/’ also known as ‘~/Sites’ this guide uses ‘~/Sites’. Or you may already have an AMP stack by using MAMP or XAMPP. Once these components are in place you are OK to proceed. To get the AMP stack working correctly on OS X follow this guide on Apache/MySQL/PHP and for phpMyAdmin if required. Optionally and preferably also install phpmyadmin to manage the database from a browser. Apache and PHP already come bundled in OS X and just need to be enabled but MySQL needs to be downloaded and configured, luckily a point and click installer is provided. If you would rather have a point and click install – follow the Drupal OSX guide here.īefore proceeding Drupal needs a couple of things to get going and those things are what is called an AMP stack – Apache, MySQL and PHP. This tutorial assumes a certain degree of comfort in the command line application (in the Utilities folder) Terminal for installing Drupal 7 on Mac OS X Lion or Snow Leopard but if the instructions below are followed correctly it will get the job done easily. Fastest Way to install the latest Drupal 7 version on Mac OS X Mavericks 10.9 or 10.8ĭrupal is a quality CMS application and is as simple or complex as your needs vary, it runs on the same foundations that Mac OS X Mavericks or Mountain Lion, Lion or Snow Leopard provides similar to a Linux environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |