Pydio是诸如ownCloud和NextCloud等软件的替代方案。Pydio也是开源的,这意味着它的使用成本很低,并且是由一个开发的社区管理,在业内使用频率也较多。本文惠主机www.idccoupon.com简单说说CentOS 7系统安装Pydio 7大致过程。
安装环境:
CentOS 7 系统(64-bit)
wget
mariadb
root权限
tepel-release
安装完整过程
在开始之前需要更新Centos系统并检索epel-release,命令如下:
yum update -y yum install epel-release mysql php-mysql -y
接下来就在可以用yum要安装MariaDB和Pydio,命令如下:
yum install mysql-server pydio -y
一旦安装完成,这里将配置httpd若要正确使用安装的Pydio,请执行以下操作命令:
nano /etc/httpd/conf.d/pydio.conf
将整个文件替换为以下内容:
Alias /pydio /usr/share/pydio
Alias /pydio_public /var/lib/pydio/public
<Directory /usr/share/pydio>
Options FollowSymlinks
AllowOverride none
Require all granted
保存并退出。
为了httpd要读取此文件还必须重新启动服务器,命令如下:
systemctl restart httpd
最后必须配置MariaDB,命令如下:
systemctl start mysql mysql_secure_insallation
当提示设置根密码时,请输入“y”然后按进入。
现在将提示删除匿名用户,点击Enter键回车,继续使用Enter键设置默认值,直到看到“Thank you for using MySQL”为止。
接下来需要使用设置的密码登录MySQL,命令如下:
mysql -u root -p
输入密码进入数据库,然后继续创建用户和数据库:
create database pydio;
create user pydio@localhost identified by '(YOUR_PASSWORD_HERE)';
grant all on pydio.* to pydio@localhost;
FLUSH PRIVILEGES;
exit;
离开mysql-cli终端后,在浏览器浏览器访问http://(服务器IP地址)/pydio,这时会看到以下所示内容:
点击上图中的"click here to continue to Pydio" 链接,然后点击"wizard" 链接。
在配置MariaDB时,填写表单信息以便为用户创建管理员帐户、密码等。
当看到“Configurations Storage”选项卡(如下图所示)时,请用“pydio“配置过程中设置的密码。
最后点击“Install Pydio Now."按钮,这样就可以成功地安装了Pydio。现在可以安装设备的同步客户端,以便开始上载文件。