Deploy your own owncloud Storage server with Oracle VM VirtualBox

Source: Internet
Author: User
Tags owncloud oracle vm virtualbox vm virtualbox

Recently in the work of the document, so want to find a can automatically back up with a historical version of the network disk, for a long time not found, so decided to deploy a private server.

Looked for a long time, tried for a long time finally determined that owncloud can meet their own requirements, but also open source free.

Because a lot of work is done on Windows because you use Windows more, you want to deploy on Windows. Unfortunately the attempt for a long time did not succeed, and later saw the official said that does not support windows, had to give up.

Not to use a network disk on the Linux ah, so had to take a detour, with VirtualBox virtual machine to implement the network disk server.

The next step is the process of my tossing:

1. Download owncloud

: https://owncloud.org/install/#instructions-server

Because eventually it will run in the virtual machine, so I downloaded the owncloud official release of the virtual machine image storage file that has encapsulated the Owncloud service Ubuntu_14.04-owncloud-9.1.0-1.1-201607211103.ova.rar , the download can directly get the Ubuntu_14.04-owncloud-9.1.0-1.1-201607211103.ova file, the file can be directly imported into the VirtualBox directly into the virtual machine. You can also download other versions of Linux yourself, configure the server, but for the Linux small white like me, the steps are still more troublesome.

2. Install VirtualBox and import the virtual machine image file downloaded above

Install VirtualBox There is nothing to say, download the installation on the internet just fine.

When you're ready to open VirtualBox, click the "Import Virtual PC" option under the "Manage" menu to navigate to the ubuntu_14.04-you just unzipped Owncloud-9.1.0-1.1-201607211103.ova file, then click Next, where the arrows are labeled, select the location where your virtual disk is stored, select a disk storage that is large enough, and the default size of the virtual machine disk after the operation is dynamic 40G.

3. Configuring the Owncloud Server

When the virtual machine is successfully imported, it can be seen in the list of virtual machines in VirtualBox, but in order to better use owncloud, we may need to configure it a little bit.

For better access to the owncloud, I set the virtual machine's network connection to "Bridge network card", then it is in the same LAN as My computer, and then start the virtual machine, because the Ubuntu server system does not have a UI interface, so the following operations are performed on the command line.

If it's normal, you can see

Because I have changed the password, so the display is 0000, you do not change the words should be displayed is a string of random password, before the following operation please write down this password.

In fact, the owncloud has been installed, but you can now enter the displayed URL in the browser to get the interface

Look at the above text to know what caused the cause, next we go to the server to modify the relevant configuration.

Enter admin after Login

Next enter the password provided above, enter the password when the interface is not display password, so do not think there is a problem.

Next it will go to modify the Server Account Admin password interface, modify the interface of the keyboard layout, modify the owncloud Account Admin password interface, suggest the first time to enter the time to reset their admin password, the above password do not throw ~ ~

Enter the server command line later to skip these settings directly by pressing CTRL + C

Go to the command line, enter SU at the command line, go to the Super Administrator account of the Linux system, and then enter the password that you have written down, and it will not be displayed.

Modify the config.php according to the instructions above.

First enter the Config folder at the command line cd/var/www/owncloud/config/

Enter VI config.php to enter the config file editing interface, as

Move the cursor behind the comma after the ' localhost ' in the array, press the INSERT key on the keyboard, press ENTER to add a new line, and in the new line, enter

1= "' XXX.XXX.XXX. XXX '

where xxx is the server home page shows the current IP address of your owncloud server,

Press ESC to exit Edit and enter: Wq save modify exit file Edit, if you change the wrong, you can enter: q! Exit, your changes will not be saved, you can continue to modify the method as described above.

Enter exit to exit administration. You are now able to access the Owncloud network disk normally.

Ps:

In order to better use the owncloud, you can modify the owncloud port according to the following method

Log into the Apache2 folder with the root account login input cd/etc/apache2/

VI ports.conf Modify the port number

Restart the server after modification, or restart the Apache2 service

Then access the owncloud according to your own port number.

Deploy your own owncloud Storage server with Oracle VM VirtualBox

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.