求教:VPS上centos7 安装失败

错误如下,请指教呐

首先,我尝试运行如下命令: ./setup-seafile-mysql.sh

[root seafile-server-6.0.8]# ./setup-seafile-mysql.sh
Checking python on this machine …
Checking python module: setuptools …
e[33m setuptools e[m is not installed, Please install it first.

On Debian/Ubntu: apt-get install python-setuptools
On CentOS/RHEL: yum install python-distribute

e[33mError occured during setup.
Please fix possible problems and run the script again.e[m

Exit code: 1

这个提示有些乱码,但是根据其结果,尝试运行:yum install python-distribute

[root seafile-server-6.0.8]# yum install python-distribute
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror.csclub.uwaterloo.ca
  • extras: mirror.csclub.uwaterloo.ca
  • updates: mirror.csclub.uwaterloo.ca
    Resolving Dependencies
    → Running transaction check
    —> Package python-setuptools.noarch 0:0.9.8-4.el7 will be installed
    → Processing Dependency: python-backports-ssl_match_hostname for package: python-setuptools-0.9.8-4.el7.noarch
    → Running transaction check
    —> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 will be installed
    → Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
    → Running transaction check
    —> Package python-backports.x86_64 0:1.0-8.el7 will be installed
    → Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository
Size

Installing:
python-setuptools noarch 0.9.8-4.el7 base 396 k
Installing for dependencies:
python-backports x86_64 1.0-8.el7 base 5.8 k
python-backports-ssl_match_hostname noarch 3.4.0.2-4.el7 base 12 k

Transaction Summary

Install 1 Package (+2 Dependent packages)

Total download size: 414 k
Installed size: 2.0 M
Is this ok [y/d/N]: Exiting on user command
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2017-03-17.01-16.TIjMtc.yumtx

Exit code: 1

运行结束后,重新尝试:

[root seafile-server-6.0.8]# ./setup-seafile-mysql.sh
Checking python on this machine …
Checking python module: setuptools …
e[33m setuptools e[m is not installed, Please install it first.

On Debian/Ubntu: apt-get install python-setuptools
On CentOS/RHEL: yum install python-distribute

e[33mError occured during setup.
Please fix possible problems and run the script again.e[m

Exit code: 1

结果提示仍然是循环

求教大神呐

@daniel.pan 大神教教我好吗:blush:

@lian 差点忘了,这也是一位大神呐:blush:

解决了吗。我也遇到同样的问题。正在找方案。

还没有
我根本不了解Linux的,完全只能看教程来,当百度也没有解决方案的时候,我就只能抓瞎了

可以使用我们的一键安装脚本

你不懂Linux為何不用WINDOWS???

请问一键安装后,程序安装在哪个目录下了。

之前就试过了,不行,所以尝试普通方法

[root /]# wget https://raw.githubusercontent.com/haiwen/seafile-server-installer-cn/master/seafile-server-centos-7-amd64-http
–2017-03-17 04:29:04-- https://raw.githubusercontent.com/haiwen/seafile-server-installer-cn/master/seafile-server-centos-7-amd64-http
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.192.133, 151.101.64.133, 151.101.128.133, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 17211 (17K) [text/plain]
Saving to: ‘seafile-server-centos-7-amd64-http’

 0K .......... ......                                     100% 51.4M=0s

2017-03-17 04:29:04 (51.4 MB/s) - ‘seafile-server-centos-7-amd64-http’ saved [17211/17211]

尝试开始使用

[root /]# bash seafile-server-centos-7-amd64-http 5.0.2
e[He[J
This script installs the community edition of the Seafile Server on a Centos 7 64bit

  • Newest Seafile server version, MariaDB, Memcached, NGINX -

This installer is meant to run on a freshly installed machine
only. If you run it on a production server things can and
probably will go terrible wrong and you will loose valuable
data!

For questions or suggestions please contact us at
support@seafile.com


Possible options:
1 = Seafile Community (Free) Edition (CE)
2 = Seafile Professional Edition (PRO)

  1. CE
  2. PRO
  3. ABORT
    Which Seafile version would you like to install?

This script will install Seafile Community Edition for you.

sed: can’t read /etc/selinux/config: No such file or directory

Exit code: 2
[root /]#

已经有一个Windows服务器了,这个是VPS,是centos的系统,所以只能尝试安装
我有什么办法,我也很无奈啊

你一键成功了没。我装完,启动时,又报conf文件夹不存在。

你一键成功了没。我装完,启动时,又报conf文件夹不存在。你有遇到没。

兄弟,解决了没。能分享一下不。

请问在Is this ok [y/d/N]: Exiting on user command时你添加的是什么?

如果没有添写y,则未安装成功,重新执行yum -y install python-distribute

并没有成功,安装的时候就过不去

多谢,我试试看,如果可以就回来分享一下

现在出现了一种新的错误提示

[root seafile-server-6.0.8]# ./setup-seafile-mysql.sh
Checking python on this machine …
Checking python module: setuptools … Done.
Checking python module: python-imaging … Done.
Checking python module: python-mysqldb … Done.


This script will guide you to setup your seafile server using MySQL.
Make sure you have read seafile server manual at

    https://github.com/haiwen/seafile/wiki

Press ENTER to continue

Traceback (most recent call last):
File “setup-seafile-mysql.py”, line 1472, in
main()
File “setup-seafile-mysql.py”, line 1402, in main
Utils.welcome()
File “setup-seafile-mysql.py”, line 46, in welcome
raw_input()
EOFError: EOF when reading a line

Exit code: 1


This script will guide you to setup your seafile server using MySQL.
Make sure you have read seafile server manual at

https://github.com/haiwen/seafile/wiki

Press ENTER to continue
出现之后按回车键

每次都是直接执行到底的,压根就没有按回车的机会呐,所以这个办法没试过