× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

WordPress Installer

WhoCares_
Mentor

WordPress Installer


WordPress Installer


    • Description
      WordPress is web software you can use to create a beautiful website or blog. The core software is built by hundreds of community volunteers, and when you’re ready for more there are thousands of plugins and themes available to transform your site into almost anything you can imagine. Over 60 million people have chosen WordPress to power the place on the web they call “home”.

 

    • Requirements:

        • ReadyNAS Platform: ARM

      • ReadyNAS Firmware: RAIDiator 5.3.7+

 

 

    • Features

        • Installs the latest version of WordPress on your ReadyNAS and makes it available under a domain of your choosing</li>

        • Creates a folder that can be converted into a Share for easy access to the WordPress installation</li>

      • Allows upgrading of the WordPress core as well as installation of themes and plugins directly through the WordPress admin interface - no uploads or manual editing of config files needed.</li>

 

 

    • Configuration:
      The WordPress Installer add-on will install an unconfigured version of WordPress on your ReadyNAS. This means that before you can start to configure and use WordPress you need to finish some additional steps after the initial installation of the add-on.


      • Domain Configuration
        After installation head over to the add-on pane to be found unter "Add-Ons" -> "Installed" and scroll down to the WordPress entry.

        You will notice the input field labeled "Site URL". Enter the URL you want to use to access your WordPress installation. For this example "www.mynewwordpresssite.com" will be used. Next, click on the "Set" button to have the add-on make the necessary changes to the web server's configuration.

 

    • IP mapping
      To be able to access the WordPress installation using the URL you specified above you need to tell your computer what IP address it should use for that URL. This is either done by adding an entry to your local DNS server -- if you have one.
      If you don't have a DNS server, you need to modify a file on your local computer so that it knows what IP address belongs to the URL. The method differs depending on the operating system used.


        • Linux / Mac OS X
          Open a terminal window and type the command "sudo -i":

          You will be prompted for your password and then you're in superuser mode. There you type the command "vi /etc/hosts" like shown in the screenshot above.
          Once in the editor add a line in the form of "ip.address.of.nas http://www.mynewwordpresssite.com" (make sure to replace the values with the real IP address of your ReadyNAS and the URL you chose above)

          Save the file and exit superuser mode using the "exit" command.

      • Windows
        On Windows you need to edit the file "C:\Windows\Şystem32\Drivers\ȩtc\ḩosts". <strong>Note:</strong> When using Vista, Windows 7 oder Windows 8 you need to start the editor as Administrator to be able to make changes to that file.
        Once in the editor add a line in the form of "ip.address.of.nas http://www.mynewwordpresssite.com" (make sure to replace the values with the real IP address of your ReadyNAS and the URL you chose above). Save the file and exit the editor.

 

    • WordPress Configuration
      Next fire up your browser and enter the URL you choose for your WordPress installation. You will be redirected to the WordPress setup screen.

      There are two important bits of information to be entered here: First, the name of the admin user. You can enter any name you like - just make sure to remember it. Second, please use a real email address for the "Your E-Mail" field since this address is used for the password recovery function.
      After clicking on "Install WordPress" you are taken to the summary screen from where you can login into your WordPress installation. Once on the Dashboard of WordPress you will most likely notice that there are already some modules waiting to be updated. This is because some of the plugins shipping with WordPress may have been updated by their authors since the release of the WordPress version they were bundled with.

 

    • Updating Plugins & Themes
      To update plugins and themes just click on the "Updates" link and you'll be taken to the list of plugins that can be updated. Mark any you'd like to update and click on the "Update Plugins" button.

      WordPress will now download and install the updates you selected.

      When done, WordPress will tell you whether the process was successful or whether some problems were encountered during the update. If all went well you can now return to the Dashboard and make some other adjustments and configuration changes to tailor your installation of WordPress to your liking.

 

  • Making WordPress accessible from the Internet
    To finally make your WordPress installation accessible from the Internet, you need to tell your router to forward port 80 on it's Internet facing side to the port 80 on the internal IP address of your ReadyNAS. How to do this is differs depending on the brand and model of your router and thus is beyond the scope of this short introduction.
Message 1 of 4
atishin
Aspirant

Re: WordPress Installer

After installation WordPress is accessible not via TOP URL (e.g. http://x.x.x.x/), but rather via http://x.x.x.x/apps/wordpress. The TOP path brings you to ReadyNAS Dashboard (both - port 80 and https/port 443). Is there a way to change this? For example have ReadyNAS dashboard on different port.

Message 2 of 4
WhoCares_
Mentor

Re: WordPress Installer

Not really, since this is by design. The web server used to run WordPress is the same that is used to deliver the pages for ReadyNAS management. In addition the ReadyNAS web UI is using the "default" virtual host of the Apache installation. So basically one would have to redo the whole Apache config and even if one managed to do that the ReadyNAS web UI would probably broken since some of the underlying tools and daemons expect it to run on standard ports.

The only somewhat easy solution I can think of is to use a proxy in front of the installation which of course would require another web server installed on a different machine, preferably the router or the firewall system.

 

-Stefan

Message 3 of 4
atishin
Aspirant

Re: WordPress Installer

Thanks, Stefan! Anyway - I found one way to solve this - hope it will help somebody with the same problem. Here is what I did... You have to use DNS name rather than IP address for this (to test it will be enough to add a record to you local HOSTS file). Then you will use Apache's ServerName directive. Now here is the trick - you need Apache to see your setup before it will start doing Rewrite for admin dashboard. In order to do this you will need following:

 

1. In /etc/apache2/sites-enabled folder rename two existing "000-fv-http" and "000-fv-https" to start with 001 (example: 001-fv-http, 001-fv-https).

2. Copy your WordPress's conf file in the same folder to start with 000 (example: 000-wordpress.conf)

3. In your new wordpress conf file (e.g. 000-wordpress.conf) change ports from whatever they are to port 80 (in my case ports were 7095 - they are appear there in two places - change both to 80)

4. Add "ServerName xyz.com"  right under "<VirtualHost *:80>" line. xyz.com is your DNS name (one that you want your site to be accessed by).

5. In WordPress Dashboard remove "/apps/wordpress/web" from paths (at least in second path) - so it is just http://xyz.com

6. Restart Apache by command "/etc/init.d/apache2 restart"

 

Hope this will help somebody. I am not sure what will happen when you update ReadyNAS firmware next time - whole setup might be erased - so you might need to redo it again...

Message 4 of 4
Top Contributors
Discussion stats
  • 3 replies
  • 4893 views
  • 0 kudos
  • 2 in conversation
Announcements