![]() ![]() Sudo /etc/init.d/nginx restart Step 12 Network: Setup port forwardingĭepending on your router, the naming might differ. Sudo ln -s /etc/nginx/sites-available/seahub /etc/nginx/sites-enabled/seahub Step 11 Restart nginx (as admin) Root /home/seafile/mycloud/seafile-server-latest/seahub # <- change: # include /etc/nginx/mime.types # <- UNCOMMENT THIS IF CSS FILES AREN'T LOADED } } Step 10 Activate nginx Seahub site (as admin) Server_name # <- CHANGE THISįastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name įastcgi_param PATH_INFO $fastcgi_script_name įastcgi_param SERVER_PROTOCOL $server_protocol įastcgi_param QUERY_STRING $query_string įastcgi_param REQUEST_METHOD $request_method įastcgi_param CONTENT_TYPE $content_type įastcgi_param CONTENT_LENGTH $content_length Īccess_log /var/log/nginx/ Įrror_log /var/log/nginx/ Ssl_certificate_key /etc/nginx/ssl/seahub.key # <- SSL Ssl_certificate /etc/nginx/ssl/seahub.crt # <- SSL Your directory tree should now look something like this: Step 4 Installationīefore you start the install process you can have a look at the options being configured during installation here.įor this example we’ll assume your DDNS domain is and that we’ll use the default location for storing our data.įurthermore, we’ll use mycloud as our server name.ĭuring the installation of Seahub (the web frontend for the Seafile server) you must enter an admin email address and provide a password (this password is your Seafile admin password and should not be the same as your email account password).Īll other question can be answered by using the default values (press ENTER). ![]() ![]() The install process will create a soft link seafile-server-latest pointing the the most current installation. New versions can be installed side by side without having to change the config files. Īll config files are in the folder mycloud (currently there are no config files present yet). $ sudo adduser seafile -disabled-login (CHANGE the parameter -disable-password was a typo: Thanks to Raphi111 for the pointer)įirst we’ll create a new folder mycloud in the seafile user’s home directory:ĭownload and unpack Seafile Server for Raspberry Pi from. The user will be called seafile and will not require a password, since we will never be accessing this user directly through SSH. $ sudo aptitude -y install python2.7 python-setuptools python-simplejson python-imaging sqlite3 Step 2 Create seafile userįor security reasons we’ll create a separate user for running Seafile. Install dependencies required by Seafile: $ sudo aptitude update Step 1 Install dependencies If you want to reach your Seafile server from the internet and your ISP only provides you with a dynamic IP you will have to register with a DDNS provider such as Dyn or. I’ll assume you have a working Raspian installation on a Raspberry Pi. Internal IP address of Raspberry Pi: 192.168.1.42 Note: This is mainly a merge of Jan Karres’s blog post (in German) and the official wiki documentation from Seafile. If you can read German, you can also follow the excellent instructions on Jan Karres’s blog Raspberry Pi: Owncloud-Alternative Seafile Server installieren.Īs there are some pitfalls along the way, I’ll describe how I installed Seafile with SSL support. Installing Seafile should be straightforward from following the instructions at the official Seafile Wiki. As Debian is a widely used Linux distribution, most problems can be easily solved by searching the web. Furthermore, the Rasperry Pi can be setup with Debian GNU/Linux (f. Using a Raspberry Pi for the server seems like a good choice, because it has very low power consumption, so you can have it running 24/7. I choose Seafile over Owncloud because I have read multiple posts that (1) Owncloud is not very responsive an a Raspberry Pi and (2) Seafile has a better security model (see 1, 2, 3). So, here’s a post on how to install Seafile on the Raspberry Pi. With all the security issues in the past relating to privacy I’ve been wanting to install a private cloud service similar to Dropbox for some time now. ![]()
0 Comments
Leave a Reply. |