service mysqld star
mysql -u root -p password LINlin123
./setup-seafile-mysql.sh
What is the name of the server? It will be displayed on the client
[ server name ] YuanYang >>>>定义云服务器名字
What is the ip or domain of the server?
[ This server's ip or domain ] 172.16.1.220 >>>>设定云服务器IP或者域名
What is the ip or domain of the server?
[ default "10001" ] 80 >>>>默认连接服务器的端口
What is the ip or domain of the server?
[ default "/yunpan/installed/seafile-data" ] /yunpan/data >>>>设置云盘数据存储目录
Which port do you want to use for the seafile server?
[ default "12001" ] 81 >>>>设置云盘服务器的端口为81
Which port do you want to use for the seafile fileserver?
[ default "8082" ] 82 >>>>设置云盘文件服务的端口为82
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] >>>>>一般选1新建
What is the host of mysql server?
[ default "localhost" ] 直接回车 >>>>>选择使用的数据库
What is the port of mysql server?
[ default "3306" ]直接回车 >>>>>数据库的端口
What is the password of the mysql root user?
[ root password ]LINlin123 >>>>>数据库的root密码
一面的基本可以一路回车,遇到需要改的改下就可以
-----------------------------------------------------------------
If you are behind a firewall, remember to allow input/output of these tcp ports:
-----------------------------------------------------------------
port of ccnet server: 80
port of seafile server: 81
port of seafile fileserver: 82
port of seahub: 8000