Saturday, June 12, 2010

Configuring Drupal on a QNAP NAS (TS-239 Pro II) using GUIs only!

Below are instructions in configuring Drupal on the TS-239 Pro II NAS without using the Linux command line.

* Enable the web server role and ensured it configured to run on TCP 80
* Launch QNAP admin page and configure MySQL to listen on TCP/3306
* Reset the "root" password for MySQL on the same page by clicking on the "Reset Root Password" button
* Open the QPKG menu and click on "Get QPKG". This should open a new window with a list of packages you can download for your QNAP NAS. If you are unable to find the "Get QPKG" button you can download phpMyAdmin with the link below - "http://gator368.hostgator.com/~qnap/Storage/QPKG/phpMyAdmin_3.2.0.zip".
* Extract the phpMyAdmin zip file to your workstation. You should now have a .qpkg file.
* Go back to the QNAP admin page and visit the QPKG menu. Click on the Installation tab.
* Click "Browse" and select the .qpkg file. Click OK and "Install". This will install phpMyAdmin.
* After installation click a phpMyAdmin icon should appear under the QPKG menu. Click on this and the link to launch the phpMyAdmin webpage.
* Log in using the root account (password is the one you reset eariler)
* On the main menu you should be able to create a mysql database. Create one called "drupal"
* Once database has been created click on "Privileges" and create a new user called "drupaluser"
* Visit www.drupal.org and download the .tar.gz file
* Launch the QNAP web file manager
* Upload the .tar.gz file to the "Web" folder
* Extract the .tar file to the "Web" folder
* Extract the drupal folder within the .tar file into the "Web" folder. Note: The QNAP NAS web file manager has the ability to extract .tar and .gz files.
* Rename the drupal folder so it doesn't have the version numbers
* Delete .tar and .tar.gz files (Clean up)
* Visit the website by hitting the IP address and drupal folder (i.e. http://192.168.1.100/drupal
* Click on "Install Drupal in English"
* You most likely recieve an error regarding default.setting.php file. Follow the instructions on the screen using the QNAP web file manager and click continue. NOTE: There is a button below to try again.
* Type in the name of the database, newly created user and password (i.e. drupal, drupaluser, password) and click continue. This will start populating tables inside the drupal database.
* Again, following the directions on the drupal configuration page such as removing write access to default.settings.php and settings.php (444 - Clean up), Site info, admin details and server settings. Click "Save and Continue".
* DONE! Now visit your site by visting "http://IPAddressoftheNAS/drupal".

To customise your solution, visit www.drupal.org for themes, modules and funky ideas.

Chewy

1 comment:

  1. Look at you go! Sounds like you are having fun.

    ReplyDelete