Blog Archives

HOW TO COPY A LIVE WORDPRESS SITE TO YOUR SYNOLOGY DEVICE


HOW TO ENABLE YOUR SYNOLOGY DEVICE
TO HOST A COPY OF YOUR LIVE ONLINE WEB SITE

I have tried to make this as simple as possible, as I found most of the tutorials online to be either difficult to follow, incomplete or just so long winded that I gave up out of sheer misery!

I would like to point out that I am an amateur in WordPress and web material in general, so I am open to all suggestions on how to make this article better for other people to read and understand, as I have may have some glaring mistakes, that are not apparent to me.
I have worked through this list a number of times and it has worked for me, so I hope it does the same for you.

Lets start by going to your WordPress enabled web site, and installing a new plugin called: DUPLICATOR

Voila_Capture10

You can search for this in the plugins section, or download it from the creator’s web site over at: http://lifeinthegrid.com/labs/duplicator/

And yes… the plugin is FREE!

Once you have it installed, click on Duplicator at the bottom of the left hand side of the screen. You should see on the right hand side that there are no packages to be found.

Voila_Capture11
Click the button to create a new package and after a few seconds you will be prompted for a name for this backup and also an option to comment on it if required. Just click on Create Package Set and the backup will be created. Depending in the size of your site, this may take a few minutes to complete.

Voila_Capture12

Once done, you should see something similar to the image below.

Voila_Capture13

All you need to do now is click on the button INSTALLER and it will download an installation file, and then click on PACKAGE to download all the site data.

Voila_Capture14

Once we have the data saved, then it’s time to get the Synology device ready.

Log into your Synology device and do the following:

Go to the CONTROL PANEL and click WEB SERVICES.
Make sure you tick ENABLE WEB STATION and also ENABLE MYSQL.

Voila_Capture5

Go to the PACKAGE CENTRE.

Install phpMyAdmin and then WordPress.

Voila_Capture6

If you go to FILE STATION you should see a folder called WEB, and in there are the various folders that have been created to let you do your own thing.

Voila_Capture7

The WordPress folder is the default one that is created, and you can safely use that if you are just starting out learning WordPress. If you muck things up you can just uninstall WordPress, re-install and start again. Sorry about that.. let’s get back on track again!

Create a folder under the folder WEB and call it the name of the site you are looking to import. As an example, my site of http://www.tasystems.org will sit in a folder called TAS. You can call it anything you like.

Go back to the Control Panel, click on Web Services again, and then click on VIRTUAL HOST. Click on create, and enter the folder name you created earlier. The hostname should be set to local. Change the port to 81 or whatever one you prefer. (You can change the hostname to your WAN ip address and port to whatever you want, if you wish to access this site from the Internet. You will have to set up port forwarding in your router for this work correctly.)

Voila_Capture8

Now go to phpMyAdmin, and at the top, click on DATABASES.

Voila_Capture9
Now you need to create a name for the database, so I’ll stick with tas as that is the folder I’m working in and an abbreviation for the site I have live. Just click create.

Now, go to http://wordpress.org/download/ and download the latest version of WordPress. Once it is downloaded, unzip it and it will create a folder called wordpress. Go inside that folder and copy everything from it, into the new folder you created.

You can check to see if things are working by typing in:

http://synology_name_or_ip_address/wordpress for the standard wordpress site.

http://synology_name_or_ip_address/name_of_folder_you_created and the new site should appear, but it will tell you that there is no wp-config.php file available. That’s fine, but just ignore this, as we are not interested in creating a new site.

Copy the installer.php file and the package file you saved at the start of this, into the folder you created in the web folder of the Synology device.
Note: In this screenshot you will see I have the original wordpress zip file in the folder. Makes sure you don’t have that there as having another zip file there will cause you problems, but you will get warned about it if it does happen.

Voila_Capture15

Once this has been done, go to your web browser and type in:

http://synology_ip_address/folder_you_created/installer.php

Mine’s as an example is: http://omega/tas/installer.php

If everything has been done correctly… you should see the following below:

You will see that I have a Green light indicating that the system has passed the first phase, and is looking good.

Voila_Capture16
Now you need to fill in your settings and then click on TEST CONNECTION!

Voila_Capture17

If all goes well… you should see this next:
Voila_Capture18
Now click on the option “I have read all warnings & notices” and then click on RUN DEPLOYMENT. A screen will then prompt you  to continue… do so!

Voila_Capture19

Now you need to wait until the files are copied across.

Voila_Capture20
If all goes well, you should see something similar to the screenshot below:

Voila_Capture21

The next part may not be needed, but I did experience a few issues trying to log into my site, so have included it anyway just so you can try it if you too have any issues.

Click the section that says NEW ADMIN ACCOUNT and create a new username and password.

Voila_Capture22

Once this has been done, click on RUN UPDATE. At the end you sill have a summary screen that will give you information on any issues found.

Voila_Capture23

Click on Resave Permalinks, and then finally click on Delete Installer Files.

After that… click Test Entire Site… and if all goes well… you have a fully working site now sitting on your Synology device.

I hope this will help someone out in some way, but would appreciate having mistakes pointed out and any way to improve upon this way of doing things. As it is, it works but I’m sure there must be some things that could do with improving upon!

UPDATE: 06-10-2013
One issue you may experience once the site has been transferred across to your Synology device is that the plugins will not automatically update and you will be presented with a screen asking for ftp details and a username and password. It makes no difference what you do here, the plugins do not want to update.

The way around this is simple as long as you go back in to the Synology device, go to the control panel, Terminal and make sure you have enabled TELNET SERVICE.

Next, you want to TELNET into the Synology device and log in with the username of root and the password you have set up for your main admin account. Once you have logged in, you need to issue the following command:  chown -R nobody:nobody /volume1/web/name_of_your_folder

Once this has been done, the plugins will automatically download and update when you select them.

Thanks go to PedroT over at the forum.synology.com site for this information: http://forum.synology.com/enu/viewtopic.php?p=75746

Advertisements

SYNOLOGY DS212 NAS UNIT – 4 MONTHS UPDATE


 

The Internet is full of unboxing video’s and people telling you how wonderful some product is, when in fact they have only opened it up or used it for 5 minutes… and sometimes that instant gratification of receiving a new toy to play with vanishes rather quickly, and you move on to something else to brag about having.

I did an unboxing video of the Synology DS212 NAS unit on the 3rd February 2012, and initially the look and feel of it impressed me, and in turn, I created another video of the device having its x2 3TB hard Drive array broken live, and that too impressed me.

But, time has went on, the device has been running 24/7 and it has been getting used for a wide variety of tasks, so I think I can now come back with an honest opinion on this product and say that it’s so good, I am seriously thinking of buying the DS412+ model that offers me double the capacity that I have at the moment!

So, you may be asking yourself, why is it so good? To put it simply, the reason the Synology DS212 is so good is down to the features that are contained in DSM (the unit’s operating system) that just offer so much, and they all work for me perfectly in a way that really does put many of the older NAS products to shame that I have used in the past.

As it stands, I have a DS212 with two 3TB drives configured as a mirrored array, so have 3TB of storage available that is mirrored to a second drive, so that the chances of losing data is minimised.

I have configured the DS212 with the following features:

AUDIO STATION – Play and organise stored music and radio
ITUNES SERVER – Play multimedia content to ipad/iphone and Apple TV.
MEDIA SERVER – Stream audio/video/images to PS3 and other DLNA/UPnP devices.
DOWNLOAD STATION – Torrent/P2P download manager.
ANTIVIRUS – Checks any downloads or data that are put on the NAS box.
FILESTATION – Lets me organise and move files around.

Using the ITunes Server, I can now store all of my music on the DS212 and have that music stream out to my Apple TV, new IPad and IPhone 4S, and keep specific songs on the devices themselves for when I am out on the road. As well as that, I can also store my movies on the unit as well as do the same! Massive storage with instant access, it really is something you need to try out to understand just how great this is to use.

Using the Media server is similar to the ITunes server but I can stream all my content to my PS3 with ease, and this handles formats that the ITunes side may have issues with at times. The PS3 just finds the NAS box and you click what you want to listen to or view.

The Download Station is a fantastic P2P download application that really is very neat to use. I set up a folder that is monitored on the device, and just save or copy any torrent files into that folder and the software auto detects it and downloads it all for you, so you focus on obtaining while the software handles the receiving!

Since there may be some nasty files out there that you might copy across to the unit, the supplied Antivirus runs and protects your data for you with free updates done automatically.

And then we come to File Station. This allows you to quickly get around all of your folders and copy and delete files in an instant. Simple to use, and really does make things a breeze to keep things organised.

Of course, writing about these features is not quite the same as seeing them, but you can actually test all of the software out yourself on a real system by visiting their LIVE DEMO.

Now, you might be thinking… I have a PC/Mac and can do all of this as well… but then you are missing the point about this device. This small unit draws a lot less power than any PC, and is easier to manage and maintain. Also, all of the applications are in the device and work, perfectly right away. No need to go searching for software and worrying about how to share things out… it’s all in the box…

And… if you have a number of people in your home/office you can set up users and groups with passwords to restrict what can and cannot be accessed on the device. It also hooks into Windows domains with ease, and mine integrated into my Small Business Server 2008 system with no issues at all.

So, my original feelings still stand and are more solid than ever on this product, it really is something you should consider if you are on the market for a storage solution that actually does a lot more!

NOT a NASty Surprise!


The Synology DS212j NAS server seems to be the latest gadget that everyone is clambering for at the moment, and after a read of the specifications of this device, it’s not hard to see why it’s growing in popularity. But me, being me, I have to think  along the lines of what the main use of this sort of unit would be for me, and potential clients, and how easy or difficult things are for them in setting things up, and more so, for when things go wrong.

I decided to go for the Synology DS212 NAS Server as it provided me with HOT SWAP hard drive bays, no need to open a case up and screw things in, and gave me a bit more processing power to go along with it. With the HOT SWAP drive bays, if a drive fails, a client can just pull the defective drive out and replace it with a similar drive, and allow the unit to carry on as normal, with no down time at all.

The maximum drive capacity the DS212 can take is 6TB, so I decided to go that route and bought a pair of Western Digital 3TB hard drives, making sure they appeared on the compatibility list that is on the Synology web site. This is very important and you really should take the time to double check the model of drive you are going to purchase and use.

In the unboxing video I released on YouTube, you can see what you get in the box and what the overall quality of the unit is like. I have to say, the Black case really does look and feel nice, and the ease of removing and inserting drives is really good as well.

The setting up of the unit is really straight forward, and even a novice user would be able to get things up and running initially, with the software guiding you through things by wizards, so in a short time you should be up and running with the basics in place.

Now, in any review you read online, all of the features and functionality are written about, but not many people are wiling to show you what happens in a disaster scenario. I have been running the Synology DS212 unit for a couple of weeks now, running live feeds of security camera’s into it for storage, Apple Time Machine Backups, and a range of Windows based workstation backups as well… a lot of data, and something I would not like to lose!

So, with all of that in mind, I am in the scenario of a client having the same unit, so clearly I need to be the one, who having faith in a product, can believe what the manufacturers are telling me… my mirrored array is providing me with security of my data…. so if you pop over and watch the YOUTUBE video of events unfolding, you will see if it was a good experience or a bad experience!

The only complaint I would have against the unit, is trivial, but, annoying none the less if you have the unit sitting close to you, or in a quiet room. The fan in the unit is initially quiet, but after a while there is a slight click that starts to come from the unit. This keeps going until you go to the power management setting and switch the fan speed to cool mode, which puts the fan on at it’s full speed. The other modes drop the power to the fan, but the fan makes an irritating click, tick, click noise that once you are attuned to, it really does get annoying. But, even after a while at cool speed, the clicking happens again… so clearly the best place for this unit will be in another room out the way and the you can ignore this small defect.

But, other than that, I cannot recommend this unit highly enough, as it really is a great piece of kit. If you need any more feedback or advice about this unit, please feel free to get in touch and I’ll do my best to help you out.

%d bloggers like this: