OTRS安装在ubuntu上

问题描述 投票:0回答:2

我正在尝试使用以下外壳脚本在ubuntu上安装OTRS,但是安装完成后,我无法到达网络服务器上的installer.pl文件,并收到以下错误:

error: 403 - don't have permission.

该文件具有可执行文件属性,并且我具有root权限。

Shell脚本内容:

apt-get更新apt-get安装apache2 mysql-servercd / optwget http://ftp.otrs.org/pub/otrs/otrs-3.2.9.tar.gztar -xvzf otrs-3.2.9.tar.gzmv otrs-3.2.9 / opt / otrscd / opt / otrsbin / otrs.CheckModules.plapt-get install liblwp-useragent确定的perl libapache2-mod-perl2 libnet-dns-perl libnet-smtp-ssl-perl libnet-smtp-tls-butmaintained-perl libyaml-perlapt-get install libgd-text-perl libjson-xs-perl libpdf-api2-perl libtext-csv-xs-perl libxml-parser-perluseradd -d / opt / otrs / -c'OTRS用户'otrsusermod -G www-data otrscd / opt / otrs /cp内核/Config.pm.dist内核/Config.pmcp内核/配置/GenericAgent.pm.dist内核/配置/GenericAgent.pmbin / otrs.SetPermissions.pl --otrs-用户= otrs --web-user = www-data --otrs-group = www-data --web-group = www-data / opt / otrsls -al / opt / otrsln -s /opt/otrs/scripts/apache2-httpd.include.conf /etc/apache2/sites-available/otrs.conf现场其他服务apache2重新加载
ubuntu install otrs
2个回答
0
投票

首先-不要使用OTRS的过时版本。 Ver.4暂时可用!

第二,请检查目录/ opt / otrs的权限。似乎otrs.SetPermissions.pl脚本无法成功运行,因此尚未将所需的权限设置为所需的pl。脚本(检查目录的所有者是否是OTRS而不是ROOT)

请参阅此Installation guide


0
投票

现在尝试otrs 6即可轻松升级,而且非常容易。http://otrs.github.io/doc/manual/admin/6.0/en/html/manual-installation-of-otrs.html

© www.soinside.com 2019 - 2024. All rights reserved.