本帖最后由 周冬景 于 2022-6-15 15:03 编辑
linux环境下,安装后无法访问管理控制台
[root@VM-4-10-centos tmp]# sudo tar -xvf huozige-installer-linux-7.0.104.0.tar
./
./dpkg-1.18.25-9.el7.x86_64.rpm
./ForguncyServerService_cn_2022.0109.0.deb
./installForguncy_cn.sh
[root@VM-4-10-centos tmp]# sudo bash installForguncy_cn.sh
installForguncy_cn.sh: line 43: [: ==: unary operator expected
installForguncy_cn.sh: line 43: [: ==: unary operator expected
installForguncy_cn.sh: line 60: [: ==: unary operator expected
Current version is CentOS Linux release 8.0.1905 (Core)
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"
CentOS Linux release 8.0.1905 (Core)
CentOS Linux release 8.0.1905 (Core)
Installation started…
Checking internet…
Internet connected.
/etc/centos-release:CentOS Linux release 8.0.1905 (Core)
/etc/os-release:NAME="CentOS Linux"
/etc/os-releaseRETTY_NAME="CentOS Linux 8 (Core)"
/etc/os-release:CENTOS_MANTISBT_PROJECT="CentOS-8"
/etc/redhat-release:CentOS Linux release 8.0.1905 (Core)
/etc/system-release:CentOS Linux release 8.0.1905 (Core)
Last metadata expiration check: 0:56:19 ago on Wed 15 Jun 2022 01:48:07 PM CST.
Dependencies resolved.
=====================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=====================================================================================================================================================================================================================================
Installing:
libgdiplus x86_64 6.0.4-3.el8 epel 191 k
Installing dependencies:
giflib x86_64 5.1.4-3.el8 AppStream 51 k
jbigkit-libs x86_64 2.1-14.el8 AppStream 55 k
libexif x86_64 0.6.22-5.el8_3 AppStream 431 k
libjpeg-turbo x86_64 1.5.3-12.el8 AppStream 157 k
libtiff x86_64 4.0.9-20.el8 AppStream 188 k
Transaction Summary
=====================================================================================================================================================================================================================================
Install 6 Packages
Total download size: 1.0 M
Installed size: 4.1 M
Downloading Packages:
(1/6): jbigkit-libs-2.1-14.el8.x86_64.rpm 429 kB/s | 55 kB 00:00
(2/6): giflib-5.1.4-3.el8.x86_64.rpm 397 kB/s | 51 kB 00:00
(3/6): libexif-0.6.22-5.el8_3.x86_64.rpm 1.5 MB/s | 431 kB 00:00
(4/6): libjpeg-turbo-1.5.3-12.el8.x86_64.rpm 799 kB/s | 157 kB 00:00
(5/6): libtiff-4.0.9-20.el8.x86_64.rpm 943 kB/s | 188 kB 00:00
(6/6): libgdiplus-6.0.4-3.el8.x86_64.rpm 862 kB/s | 191 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.1 MB/s | 1.0 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libjpeg-turbo-1.5.3-12.el8.x86_64 1/6
Installing : libexif-0.6.22-5.el8_3.x86_64 2/6
Installing : jbigkit-libs-2.1-14.el8.x86_64 3/6
Running scriptlet: jbigkit-libs-2.1-14.el8.x86_64 3/6
Installing : libtiff-4.0.9-20.el8.x86_64 4/6
Installing : giflib-5.1.4-3.el8.x86_64 5/6
Installing : libgdiplus-6.0.4-3.el8.x86_64 6/6
Running scriptlet: libgdiplus-6.0.4-3.el8.x86_64 6/6
Verifying : giflib-5.1.4-3.el8.x86_64 1/6
Verifying : jbigkit-libs-2.1-14.el8.x86_64 2/6
Verifying : libexif-0.6.22-5.el8_3.x86_64 3/6
Verifying : libjpeg-turbo-1.5.3-12.el8.x86_64 4/6
Verifying : libtiff-4.0.9-20.el8.x86_64 5/6
Verifying : libgdiplus-6.0.4-3.el8.x86_64 6/6
Installed:
giflib-5.1.4-3.el8.x86_64 jbigkit-libs-2.1-14.el8.x86_64 libexif-0.6.22-5.el8_3.x86_64 libgdiplus-6.0.4-3.el8.x86_64 libjpeg-turbo-1.5.3-12.el8.x86_64 libtiff-4.0.9-20.el8.x86_64
Complete!
/etc/centos-release:CentOS Linux release 8.0.1905 (Core)
/etc/os-release:VERSION="8 (Core)"
/etc/os-release:VERSION_ID="8"
/etc/os-releaseLATFORM_ID="platform:el8"
/etc/os-releaseRETTY_NAME="CentOS Linux 8 (Core)"
/etc/os-release:CPE_NAME="cpe:/o:centos:centos:8"
/etc/os-release:CENTOS_MANTISBT_PROJECT="CentOS-8"
/etc/os-release:CENTOS_MANTISBT_PROJECT_VERSION="8"
/etc/os-release:REDHAT_SUPPORT_PRODUCT_VERSION="8"
/etc/redhat-release:CentOS Linux release 8.0.1905 (Core)
/etc/system-release:CentOS Linux release 8.0.1905 (Core)
curl: (6) Could not resolve host: pool.sks-keyservers.net
error: http://pool.sks-keyservers.net/p ... 9aa6a19b38d3d831ef: import read failed(2).
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 189 100 189 0 0 31 0 0:00:06 0:00:06 --:--:-- 31
[mono-centos8-stable]
name=mono-centos8-stable
baseurl=https://download.mono-project.com/repo/centos8-stable/
enabled=1
gpgcheck=1
gpgkey=https://download.mono-project.com/repo/xamarin.gpg
mono-centos8-stable 2.4 kB/s | 629 kB 04:17
Last metadata expiration check: 0:03:31 ago on Wed 15 Jun 2022 02:45:23 PM CST.
Package libgdiplus-6.0.4-3.el8.x86_64 is already installed.
Dependencies resolved.
=====================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=====================================================================================================================================================================================================================================
Installing:
libgdiplus0 x86_64 6.0.5-0.xamarin.1.epel8 mono-centos8-stable 638 k
replacing libgdiplus.x86_64 6.0.4-3.el8
Transaction Summary
=====================================================================================================================================================================================================================================
Install 1 Package
Total download size: 638 k
Downloading Packages:
libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64.rpm 7.3 kB/s | 638 kB 01:27
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 7.3 kB/s | 638 kB 01:27
warning: /var/cache/dnf/mono-centos8-stable-d201f8fb809c3ee4/packages/libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d3d831ef: NOKEY
mono-centos8-stable 242 B/s | 2.1 kB 00:08
Importing GPG key 0xD3D831EF:
Userid : "Xamarin Public Jenkins (auto-signing) <releng@xamarin.com>"
Fingerprint: 3FA7 E032 8081 BFF6 A14D A29A A6A1 9B38 D3D8 31EF
From : https://download.mono-project.com/repo/xamarin.gpg
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64 1/2
Running scriptlet: libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64 1/2
Obsoleting : libgdiplus-6.0.4-3.el8.x86_64 2/2
Running scriptlet: libgdiplus-6.0.4-3.el8.x86_64 2/2
Verifying : libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64 1/2
Verifying : libgdiplus-6.0.4-3.el8.x86_64 2/2
Installed:
libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64
Complete!
Installing ASP.NET Core 3.1 of CentOS 8…
Last metadata expiration check: 0:05:10 ago on Wed 15 Jun 2022 02:45:23 PM CST.
Dependencies resolved.
=====================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=====================================================================================================================================================================================================================================
Installing:
aspnetcore-runtime-3.1 x86_64 3.1.20-2.el8_5 AppStream 6.2 M
Installing dependencies:
dotnet-host x86_64 6.0.0-0.6.28be3e9a006d90d8c6e87d4353b77882829df718.el8 AppStream 109 k
dotnet-hostfxr-3.1 x86_64 3.1.20-2.el8_5 AppStream 175 k
dotnet-runtime-3.1 x86_64 3.1.20-2.el8_5 AppStream 27 M
lttng-ust x86_64 2.8.1-11.el8 AppStream 259 k
userspace-rcu x86_64 0.10.1-4.el8 BaseOS 101 k
Transaction Summary
=====================================================================================================================================================================================================================================
Install 6 Packages
Total download size: 34 M
Installed size: 112 M
Downloading Packages:
(1/6): dotnet-host-6.0.0-0.6.28be3e9a006d90d8c6e87d4353b77882829df718.el8.x86_64.rpm 676 kB/s | 109 kB 00:00
(2/6): dotnet-hostfxr-3.1-3.1.20-2.el8_5.x86_64.rpm 826 kB/s | 175 kB 00:00
(3/6): lttng-ust-2.8.1-11.el8.x86_64.rpm 966 kB/s | 259 kB 00:00
(4/6): userspace-rcu-0.10.1-4.el8.x86_64.rpm 624 kB/s | 101 kB 00:00
(5/6): aspnetcore-runtime-3.1-3.1.20-2.el8_5.x86_64.rpm 4.9 MB/s | 6.2 MB 00:01
(6/6): dotnet-runtime-3.1-3.1.20-2.el8_5.x86_64.rpm 13 MB/s | 27 MB 00:02
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 15 MB/s | 34 MB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : userspace-rcu-0.10.1-4.el8.x86_64 1/6
Running scriptlet: userspace-rcu-0.10.1-4.el8.x86_64 1/6
Installing : lttng-ust-2.8.1-11.el8.x86_64 2/6
Running scriptlet: lttng-ust-2.8.1-11.el8.x86_64 2/6
Installing : dotnet-host-6.0.0-0.6.28be3e9a006d90d8c6e87d4353b77882829df718.el8.x86_64 3/6
Installing : dotnet-hostfxr-3.1-3.1.20-2.el8_5.x86_64 4/6
Installing : dotnet-runtime-3.1-3.1.20-2.el8_5.x86_64 5/6
Installing : aspnetcore-runtime-3.1-3.1.20-2.el8_5.x86_64 6/6
Running scriptlet: aspnetcore-runtime-3.1-3.1.20-2.el8_5.x86_64 6/6
Verifying : aspnetcore-runtime-3.1-3.1.20-2.el8_5.x86_64 1/6
Verifying : dotnet-host-6.0.0-0.6.28be3e9a006d90d8c6e87d4353b77882829df718.el8.x86_64 2/6
Verifying : dotnet-hostfxr-3.1-3.1.20-2.el8_5.x86_64 3/6
Verifying : dotnet-runtime-3.1-3.1.20-2.el8_5.x86_64 4/6
Verifying : lttng-ust-2.8.1-11.el8.x86_64 5/6
Verifying : userspace-rcu-0.10.1-4.el8.x86_64 6/6
Installed:
aspnetcore-runtime-3.1-3.1.20-2.el8_5.x86_64 dotnet-host-6.0.0-0.6.28be3e9a006d90d8c6e87d4353b77882829df718.el8.x86_64 dotnet-hostfxr-3.1-3.1.20-2.el8_5.x86_64 dotnet-runtime-3.1-3.1.20-2.el8_5.x86_64
lttng-ust-2.8.1-11.el8.x86_64 userspace-rcu-0.10.1-4.el8.x86_64
Complete!
Checking dependencies…
Dependencies check completed.
dotnet path: /bin/dotnet.
Current installed .NetCore version is:Microsoft.AspNetCore.App 3.1.20 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.20 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]
Installing Forguncy Server Service…
dpkg-deb: /lib64/liblzma.so.5: version `XZ_5.2.2' not found (required by dpkg-deb)
dpkg-deb: /lib64/liblzma.so.5: version `XZ_5.1.2alpha' not found (required by dpkg-deb)
dpkg: error processing archive ForguncyServerService_cn_2022.0109.0.deb (--install):
subprocess dpkg-deb --control returned error exit status 1
Errors were encountered while processing:
ForguncyServerService_cn_2022.0109.0.deb
check user database
install user database
mv: cannot stat '/opt/ForguncyServer/Forguncy.UserService2/App_Data/v5/UserServiceDB.sqlite3-new': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/ForguncyServerService.service → /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 ...
Registering PhantomJs…
Adding firewall rules…
Adding firewall-cmd rule at port 22345…
Warning: ALREADY_ENABLED: 22345:tcp
success
Firewall-cmd reloading…
success
installForguncy_cn.sh: line 536: i: command not found
Forguncy Server successfully installed.
After starting the service, you can check the site at http://10.0.4.10:22345/UserService/ManagementPage/LoginPage.
installForguncy_cn.sh: line 567: /opt/ForguncyServer/WebSite/bin/Forguncy.FireWall.json: No such file or directory
Important information:
If you don't want to add firewall rules automatically, remove the file /opt/ForguncyServer/Website/bin/Forguncy.FireWall.json
You should check your firewall rules after you have installed the Forguncy Server or have published your apps.
|