{"id":17034,"date":"2015-04-13T14:42:01","date_gmt":"2015-04-13T19:42:01","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17034"},"modified":"2022-12-13T03:49:46","modified_gmt":"2022-12-13T09:49:46","slug":"how-to-install-seafile-on-an-ubuntu-14-04-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-seafile-on-an-ubuntu-14-04-vps\/","title":{"rendered":"How to install Seafile on an Ubuntu 14.04 VPS"},"content":{"rendered":"
Seafile is an open source cloud storage system for storing files on the Seafile server and synchronize the files between multiple computers or mobile devices using the Seafile client. Using Seafile you can also create groups with file syncing, wikis, and start discussions with your team to enable easy collaboration.<\/p>\n
<\/p>\n
In this tutorial we will guide you through the steps of installing Seafile on an Ubuntu 14.04 Linux virtual server<\/a> with MySQL server, Apache web server and PHP.<\/p>\n First of all, log in to your Ubuntu 14.04 server as user root and make sure that all packages are up-to-date<\/p>\n Install the following dependencies needed by Seafile<\/p>\n Install MySQL server<\/p>\n Run the following command to secure your MySQL server and set a new root passord<\/p>\n Next, install Apache web server and PHP on your server<\/p>\n Download the latest stable version of Seafile to your server from their official website. At the moment of writing this article it is version 4.0.6<\/p>\n Unpack the downloaded tar archive<\/p>\n Run the following script to check if your server meets all requirements.<\/p>\n We’ve already installed all requirements and there should be no problem, so press the Enter key to continue the installation. You will be prompted to enter several information needed to configure Seafile, such as server name, IP address, listening ports, create MySQL database for Seafile, etc…<\/p>\n After all required information are entered you will get the following message<\/p>\n So, execute the following scritps to start the Seafile and Seahub servers:<\/p>\n Since the Seahub server is started for the first time, you will need to create the admin account.<\/p>\n Seahub is Seafile server package contains a light-weight Python HTTP server that serves the website. Once the Seahub server is started, you can access Seafile at https:\/\/yourdomain.com:8000 and log in with the crated admin account.<\/p>\n Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Seafile for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS.<\/strong><\/span> If you liked this post please share it with your friends on social networks or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" Seafile is an open source cloud storage system for storing files on the Seafile server and synchronize the files between … <\/p>\napt-get update\r\napt-get upgrade<\/pre>\n
apt-get install python-setuptools python-imaging python-mysqldb<\/pre>\n
apt-get install mysql-server<\/pre>\n
mysql_secure_installation<\/pre>\n
apt-get install apache2 php5 libapache2-mod-php5<\/pre>\n
cd \/opt\/\r\nwget https:\/\/bitbucket.org\/haiwen\/seafile\/downloads\/seafile-server_4.0.6_x86-64.tar.gz<\/pre>\n
tar -xzf seafile-server_4.0.6_x86-64.tar.gz\r\ncd seafile-server-4.0.6\/<\/pre>\n
.\/setup-seafile-mysql.sh<\/pre>\n
-----------------------------------------------------------------\r\nYour seafile server configuration has been finished successfully.\r\n-----------------------------------------------------------------\r\n\r\nrun seafile server: .\/seafile.sh { start | stop | restart }\r\nrun seahub server: .\/seahub.sh { start | stop | restart }<\/pre>\n
.\/seafile.sh start \r\n.\/seahub.sh start<\/pre>\n
What is the email for the admin account?\r\n[ admin email ] user@domain.com\r\n\r\nWhat is the password for the admin account?\r\n[ admin password ]\r\n\r\nEnter the password again:\r\n[ admin password again ]\r\n\r\n----------------------------------------\r\nSuccessfully created seafile admin\r\n----------------------------------------<\/pre>\n