SeaFile
Se detalla la instalación de SeaFile
Instalar:
apt-get install python-setuptools python-simplejson python-imaging python-mysqldb
MySQL:
create database `ccnet-db` character set = 'utf8'; create database `seafile-db` character set = 'utf8'; create database `seahub-db` character set = 'utf8'; create user 'seafile'@'localhost' identified by 'seafile'; GRANT ALL PRIVILEGES ON `ccnet-db`.* to `seafile`; GRANT ALL PRIVILEGES ON `seafile-db`.* to `seafile`; GRANT ALL PRIVILEGES ON `seahub-db`.* to `seafile`; flush privileges;
Comentar linea 411 del chequeo de mysql
# self.check_mysql_server(host,port)
Resultado de la instalación:
.
-----------------------------------------------------------------
Your seafile server configuration has been finished successfully.
-----------------------------------------------------------------
run seafile server: ./seafile.sh { start | stop | restart }
run seahub server: ./seahub.sh { start <port> | stop | restart <port> }
-----------------------------------------------------------------
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
When problems occur, Refer to
https://github.com/haiwen/seafile/wiki
for information.
https://github.com/haiwen/seafile/wiki/Download-and-Setup-Seafile-Server-with-MySQL