We need to edit the apache configuration. Once you have OwnCloud set up, it’s time to finalize the backend stuff. You will likely recieve a warning about your data being available to the internet. It may not be necessary, but it helps with security a bit, at least. I had it install to the subdirectory owncloud. In your web browser, navigate to and follow the instructions. We now need to make sure it has write permission to the directory (temporarily) chgrp www-data /var/www This part is easy.įrom the SSH session, cd to the web root and download the setup file: cd /var/www/wget -no-check-certificatechmod 755 setup-owncloud.php Do not overwrite the existing files.Īfter the packages have been installed, it is time to install owncloud. That is what you want to do accept the default suggestion. The default option is to keep the current version. ![]() (If you like, you can add them) At a couple points, it will ask if you want to overwrite a file (a couple ini files). This happens because the signature keys for the Debian repositories are not present. It may ask if you want to install “unverified” files. apt-get install php5 php5-gd php-xml-parser php5-intl zlib1gĪnswer Y to the installation prompts. This includes an updated PHP5, in addition to a few libraries and modules. Next, we install the pre-requisite packages for OwnCloud. The first two lines are the important ones.) (The lines starting with the hash are not required - they are commented out. Or, just edit it to look like this: deb squeeze main With your favorite text editor, (nano vim, in my case) open /etc/apt/sources.listĮdit your file so that the only active sources are the squeeze sources. We need to configure the package repository source list. This removes the package references to the firmware. Fix this by running this command: rm -f /var/lib/dpkg/info/wd-nas.* When using apt-get to install new packages, it will throw a TON of errors, due to conflicts. This is a step that I have not seen mentioned anywhere except a single WD support page. The first step is to prepare the system for new software. Read -p "Do you understand and wish to continue? " -n 1Īpt-get install php5 php5-gd php-xml-parser php5-intl zlib1gĮcho -ne "Packages Installed. Here is a script for running the first series of commands automatically.Įcho -e “this script must be run as root.\n”Įcho -n "Removing WD-NAS Package References…"Įcho "When prompted to install packages or unverified packages, answer Y to both prompts."Įcho "When prompted to overwrite files, choose NOT to overwrite them."Įcho "Overwriting the files may cause your system to bleep. Or Log in as root via SSH (Use PuTTy or similar). Do this from the settings menu in the MBL UI. ![]() ![]() Make sure you are on the most recent firmwareįirst, you need to enable SSH. ![]() If you are not careful, you will brick your box, and bricks are terrible servers.
0 Comments
Leave a Reply. |