- cd /tmp/
- wget http://seafile.googlecode.com/files/seafile-server_2.0.4_x86-64.tar.gz
- yum -y install sqlite python-simplejson python-setuptools python-imaging
Setup the file structure and extract the server files
- cd /opt/
- mkdir seafile
- mv /tmp/seafile-server_* seafile
- cd seafile
- tar -xzf seafile-server_*
- mkdir installed
- mv seafile-server_* installed
Add the user and start the setup
- useradd -d /opt/seafile seafile
- chown -R seafile. /opt/seafile
- su – seafile
- cd /opt/seafile/seafile-server_2.0.4
- ./setup-seafile.sh
- You will now enter the text based installer. Follow the instructions on screen.
Start the server
- su – seafile
- /opt/seafile/seafile-server_2.0.4/seafile.sh start
- /opt/seafile/seafile-server_2.0.4/seahub.sh start
Point your browser to the login page
- http://www.yourserver.com:8000/
If you are behind a firewall, remember to allow input/output of these tcp ports:
- port of ccnet server: 10001
- port of seafile server: 12001
- port of seafile httpserver: 8082
- port of seahub: 8000
0 comments:
Post a Comment