![]() ![]() sudo apt-get install php7.0 php7.0-sqlite php7.0-mysql php7.0-pgsql php7.0-zip php7.0-gd php7.0-mb php7.0-curl php7.0-xml php7.0-apcįinally, switch the PHP module that your web server uses.Now you can install PHP7 and all of the modules that are required by Nextcloud: Then tell the package manager to update its list of known packages, which includes those in the PPA: Next, add the PPA that contains updated versions of PHP: sudo apt-get install python-software-properties.If you have not installed PPAs before, execute this command to install a package called python-software-properties: Luckily, Ubuntu supports 3rd party repositories known as PPAs. The standard Ubuntu 14.04 repositories only include PHP 5.5, but PHP 5.6 is required starting with NextCloud 11. If you are migrating from the One-Click installation on Ubuntu 14.04 you will need to upgrade PHP to be able to use any version of Nextcloud that is newer than 10.0.2. You can find the values for username, password, and dbname in the configuration file located at /var/You can find more information about backing up and restoring MySQL databases here.īefore installing Nextcloud, there is one more step specific to Ubuntu 14.04 servers. mysqldump -u username -p dbname > ~/owncloud_backup.sql.For MySQL, create a backup by running this command: Note: Your ownCloud files are backed up, but if you are using MySQL or any other database instead of the internal data storage option, you should also make a backup of the database. Run the following commands to switch to this directory and verify that it contains owncloud/: If you are using the One-Click installation for ownCloud on Ubuntu 14.04, your installation is located within the /var/www/ directory. Now that the web server has stopped, navigate to the directory where your server stores ownCloud. It’s important to make sure nothing changes while you perform the backup and migration, so the easiest way to ensure that is to shut down the web server so users can’t access ownCloud. Log into your server running ownCloud if you’re not already connected: You’re about to start moving and deleting things, so safety first! Step 1 - Stopping the Web Server and Backing Up DataĮven if you’re working with a freshly configured install, it is a good idea to do a quick backup. You can configure this by following the How to Create a Sudo User on Ubuntu tutorial. An unprivileged user account on the ownCloud server which can run commands with sudo.A working ownCloud 9 installation running on Ubuntu 14.04.In order to migrate you ownCloud installation to Nextcloud, you will need: If you currently use ownCloud 9, you must migrate to Nextcloud 10 first, and then upgrade to Nextcloud 11. In this example, we use admin.Note: You can only update ownCloud and Nextcloud installations one major version number at a time. It will ask you to set a username and password for the administrator account. Now, you need to create the administrator account. You are almost done with the initial setup. Remember to choose a secure password, different from the server user’s. If MySQL is not already installed on your server, then the installer will prompt you for a password for the root MySQL user. The MySQL database server is one of these dependencies. Update the repositories and install ownCloud: sudo apt-get updateĭuring the installation process, the package manager will install ownCloud along with all the software dependencies needed. sudo sh -c "echo 'deb /' > /etc/apt//owncloud.list"ĭownload and add the repository key. Next, add the ownCloud repository to be able to install the newest version of the software. From the command line, type: sudo apt-get update Installing ownCloud on Ubuntu 14.04īefore you begin, make sure your system is updated. You can run ownCloud on a different flavor of GNU/Linux, but the steps outlined below may differ. You will need an Ubuntu 14.04 (or later) server. Replace it with the domain name or IP address you have configured on your server. This guide will show you how to install ownCloud and modify some configuration settings. Or, you can use a browser to access your files from any computer connected to the web. Using the ownCloud Desktop Client (not covered in this guide), you can keep your files in sync across several devices, including smartphones and tablets. With ownCloud, it is possible to share files and folders on a local computer and have them synchronized with your server. It can be compared to products such as Dropbox or Google Drive, with the advantage that it is a free and open source solution you can install and manage yourself. ![]() OwnCloud is a software system that provides file storage, synchronization, and sharing services. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |