NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
kraeks
May 30, 2012Aspirant
Installing PHP5 on Readynas Duo v2 (should work on all ARM)
Since i'm not a big fan for paying for things that are easily done by myself, I thought i'd take the time to write down how i went about to install and configure PHP5, MySQL and phpMyAdmin on the Re...
- Jun 30, 2014
For the beginners like me, you can just buy https://rnxtras.com/addons/php-5-4-readynas-5-arm
Worked perfectly well on ma RND2000 ARM 5.3.10
:D
kraeks
May 30, 2012Aspirant
Now we're going to install MySQL and phpMyAdmin
2. Installing and configuring MySQL
This is a pretty straight forward process. Start by installing the package with apt-get:
Then proceed into the MySQL console by typing:
Now create a user (or as many as you need) with this command:
When you've created all the users you need, proceed with the following:
Write down your freshly created password and store it in a secure location.
For example in a file in /root. A note in your drawer isn't a very good option.
You don't have to create a database at this point since this will be very easily done from phpMyAdmin.
2. Installing and configuring phpMyAdmin
Go to your www-root and download the latest phpMyAdmin version with wget using the URL found here:
In this example we will be using tar.gz.
Extract the file using the following command:
Now change the name of phpMyAdmin into something a little easier to write, for example phpadm by typing the following:
Now you should be able to access phpMyAdmin from your external url followed by /phpadm.
Use the username and password created in MySQL to log in.
2. Installing and configuring MySQL
This is a pretty straight forward process. Start by installing the package with apt-get:
sudo apt-get install mysql-server
Then proceed into the MySQL console by typing:
sudo mysql
Now create a user (or as many as you need) with this command:
CREATE USER '<username>'@'localhost' IDENTIFIED BY '<42-digit password>';
When you've created all the users you need, proceed with the following:
FLUSH PRIVILEGES;
exit
Write down your freshly created password and store it in a secure location.
For example in a file in /root. A note in your drawer isn't a very good option.
You don't have to create a database at this point since this will be very easily done from phpMyAdmin.
2. Installing and configuring phpMyAdmin
Go to your www-root and download the latest phpMyAdmin version with wget using the URL found here:
http://www.phpmyadmin.net/home_page/downloads.php
In this example we will be using tar.gz.
Extract the file using the following command:
sudo tar xvzf <filename>
Now change the name of phpMyAdmin into something a little easier to write, for example phpadm by typing the following:
sudo mv <dirname> phpadm
Now you should be able to access phpMyAdmin from your external url followed by /phpadm.
Use the username and password created in MySQL to log in.
Related Content
NETGEAR Academy

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