NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

SWhetsel's avatar
SWhetsel
Aspirant
Jan 24, 2011

How to install Joomla on ReadyNAS - Walkthrough

To install Joomla 1.5 on the ReadyNAS, you’ll need to do the following. (detailed steps below)

    1. Create a share on the ReadyNAS where you will run Joomla 1.5 and enable Internet access to the share.
    2. Enable Root SSH on the ReadyNAS.
    3. Install PHP on the ReadyNAS.
    4. Install the PHP5-MySQL package.
    5. Download and install Joomla 1.5 on the ReadyNAS.
    6. Setup your Joomla 1.5 MySQL database.
    7. Follow Joomla 1.5 installation Instructions.


First off, I am sorry to those that are fluent in SSH, but I was not when I wanted to do this and therefore took me forever to figure out. (ok not exactly forever, thanks Google) So I am writing this guide very simple and with literally every step. I am going to break it down , Barney style. Also needed is an SSH client if you’re doing this all via windows like I was. I suggest PuTTY as it is free. You can get PuTTY Here. (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) I also wanted to thank the people that wrote the other helps out there, especially the ones that are linked in this walk through. So without further wait, here is how you install Joomla on ReadyNAS boxes. (FYI this was done on a ReadyNAS Duo)

Step 1 – Create a website share that’s accessible outside your firewall

Follow the instructions in the Create a personal webserver on the ReadyNAS how-to.
(http://www.readynas.com/?p=135)

Step 2 – Enable Root SSH

Install the EnableRootSSH add-on. Installation instruction is available from the ReadyNAS Add-ons page.
(http://www.readynas.com/download/addons/4.00/EnableRootSSH_1.0.bin)

Step 3 – PHP

Follow the instructions in the Setting up a PHP CGI Environment how-to.
(http://www.readynas.com/?p=140)
Or just follow these quick steps.

SSH into your ReadyNAS via PuTTY.
Login Username is “Root” and Password is your admin password for the ReadyNAS.
Copy these following commands into PuTTY.

# apt-get update
# apt-get install libapache2-mod-php5


After they are done installing then run these commands.

# killall apache-ssl
# apache-ssl -f /etc/frontview/apache/httpd.conf


Step 4 – Install PHP5-MySQL package

From the root shell, run the following:

# apt-get install php5-mysql
# killall apache-ssl
# apache-ssl -f /etc/frontview/apache/httpd.conf


Step 5 – Download and extract Joomla 1.5

Directions to download and extract Joomla 1.5 are as follows: (I tried this with 1.6 to no avail so this is what worked for me with 1.5) Download zip file Joomla 1.5 and extract all files into the folder you created in step 1. The actual install happens later.

Step 6 – Setup your MySQL database

Before creating your MySQL database file, you’ll need to first modify the file /etc/mysql/my.cnf.
You can use the built-in vi text editor to do this. (vi commands are in the link at the bottom)
Search for the following line in /etc/mysql/my.cnf:

skip-networking


and insert a ‘#’ sign in front of it to comment out the line. The resulting line should look as follows:

#skip-networking


Once you’ve saved the change, you’ll need to restart MySQL as follows:

# mysqladmin shutdown
# mysqld


Now, let’s create the MySQL database for Joomla. When prompted for password, just press “Enter”. We”ll use “page” as the database name and “admin” as the user name. You can set up the password in the IDENTIFIED BY “password” line to whatever you want.

# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5340 to server version: 3.23.54

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.


mysql> CREATE DATABASE page;							(press enter)
Query OK, 1 row affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON page.* TO "admin"@"localhost"   	(press enter)
-> IDENTIFIED BY "password"; (press enter)
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;							(press enter)
Query OK, 0 rows affected (0.01 sec)

mysql> EXIT										(press enter)
Bye
#

Step 7 – Install Joomla!

Follow the directions at the following site: Joomla Install via Website
(http://help.joomla.org/content/view/39/132/)

VI Commands Cheat Sheet - http://www.lagmonster.org/docs/vi.html

Enjoy! -SWhetsel

28 Replies

Replies have been turned off for this discussion

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More