This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
fileservices:seafile [2013/10/24 13:17] tschulz |
fileservices:seafile [2013/10/24 13:20] tschulz [Enable SSL through Apache2 on port 443] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Seafile 2.x on Ubuntu 12.04 ====== | ====== Seafile 2.x on Ubuntu 12.04 ====== | ||
+ | ===== Download and Install ===== | ||
- install deps<file> | - install deps<file> | ||
apt-get install python2.7 python-setuptools python-simplejson\ | apt-get install python2.7 python-setuptools python-simplejson\ | ||
Line 24: | Line 25: | ||
... | ... | ||
</file> | </file> | ||
- | ===== Enable Startup ===== | + | ===== Enable Seafile Automatic Startup ===== |
- | ==== /etc/init.d/seafile ==== | + | - create /etc/init.d/seafile<file bash /etc/init.d/seafile> |
- | <file bash /etc/init.d/seafile> | + | |
#!/bin/sh | #!/bin/sh | ||
### BEGIN INIT INFO | ### BEGIN INIT INFO | ||
Line 81: | Line 81: | ||
esac | esac | ||
</file> | </file> | ||
- | ==== Enable automatic startup ==== | + | - Turn on automatic startup<file bash> |
- | <file bash> | + | |
# make the script executable | # make the script executable | ||
sudo chmod +x /etc/init.d/seafile | sudo chmod +x /etc/init.d/seafile | ||
Line 91: | Line 90: | ||
</file> | </file> | ||
- | ====== Enable SSL through Apache2 on port 443 ====== | + | ===== Enable SSL through Apache2 on port 443 ===== |
- Install Apache and enable mods<file> | - Install Apache and enable mods<file> | ||
apt-get install python-flup apache2 libapache2-mod-fastcgi | apt-get install python-flup apache2 libapache2-mod-fastcgi |