本帖最后由 bear22 于 2021-4-30 10:08 编辑
[root@huozige tmp]# sudo bash installForguncy_cn.sh
installForguncy_cn.sh: 第 43 行:[: ==: 期待一元表达式
installForguncy_cn.sh: 第 43 行:[: ==: 期待一元表达式
installForguncy_cn.sh: 第 60 行:[: ==: 期待一元表达式
Current version is CentOS Linux release 7.8.2003 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.8.2003 (Core)
CentOS Linux release 7.8.2003 (Core)
Install start ......
Check internet ......
Internet connected ......
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.ustc.edu.cn
* extras: mirrors.nju.edu.cn
* updates: mirrors.ustc.edu.cn
软件包 libgdiplus0-6.0.5-0.xamarin.1.epel7.x86_64 已安装并且是最新版本
无须任何处理
Install libgdiplus ......
libgdiplus0.x86_64 6.0.5-0.xamarin.1.epel7 @mono-centos7-stable
Install Asp.NetCore 3.1 of CentOS 7......
获取https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
准备中... ################################# [100%]
软件包 packages-microsoft-prod-1.0-1.noarch 已经安装
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.ustc.edu.cn
* extras: mirrors.nju.edu.cn
* updates: mirrors.ustc.edu.cn
软件包 aspnetcore-runtime-3.1-3.1.14-1.x86_64 已安装并且是最新版本
无须任何处理
Check dependecies ......
Check dependecies completed......
dotnet path :/bin/dotnet......
Current installed .NetCore version is:Microsoft.AspNetCore.App 3.1.14 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.14 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Install Forguncy Server Service ......
dpkg: can't open '/var/lib/dpkg/status': No such file or directory
check user database
install user database
mv: 无法获取"/opt/ForguncyServer/Forguncy.UserService2/App_Data/v5/UserServiceDB.sqlite3-new" 的文件状态(stat): 没有那个文件或目录
Created symlink from /etc/systemd/system/multi-user.target.wants/ForguncyServerService.service to /etc/systemd/system/ForguncyServerService.service.
export OLDPWD
export PATH="/sbin:/usr/sbin:/bin:/usr/bin"
export PWD="/"
export SHLVL="1"
export SYSTEMCTL_IGNORE_DEPENDENCIES=""
export SYSTEMCTL_SKIP_REDIRECT=""
export TERM="xterm"
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
ForguncyServerService starting ...
ForguncyServerService started ...
Reg Phantomjs......
Add firewall rules......
Add firewall-cmd rule at port 22345 ......
FirewallD is not running
Firewall-cmd reload ......
FirewallD is not running
installForguncy_cn.sh:行522: =6: 没有那个文件或目录
Forguncy server installed completed.
After service start ,you can check the site at http://172.18.12.246:22345/UserService/ManagementPage/LoginPage
installForguncy_cn.sh:行553: /opt/ForguncyServer/WebSite/bin/Forguncy.FireWall.json: 没有那个文件或目录
Important infomation:
If you don't want to auto add firewall rule,remove file /opt/ForguncyServer/WebSite/bin/Forguncy.FireWall.json
You should check your firewall rules after you installed Forguncy Server or published your apps.
[root@huozige tmp]#
|