Pre-installation configuration |
Before installing iPortal on a Linux system, please refer to the system requirements to check whether your machine meets the minimum software & hardware configuration requirements of SuperMap iPortal.After that, you also need to make necessary environmental preparations, such as installing the system's dependent libraries, language packs, and configuring licenses, and so on.
By default, SuperMap iPortal can meet your trial needs without any installation configuration. But in the actual production environment, it is recommended to perform optional database configuration and account initialization configuration according to your business needs.
When installing iPortal in the Ubuntu 14 Server operating system, it needs some dependent libraries to use iPortal normally, such as libx11-dev, xinit, gcc, etc., and Chinese language packs.You can use the OS setup disk to install or manual install from the Ubuntu website. If the OS setup disk is loaded, or in an external network environment, You can install the related libraries through the apt-get install command.
sudo apt-get install libx11-dev
sudo apt-get install xinit
sudo apt-get install gcc
sudo apt-get install libgomp1
sudo apt-get install libxtst6
sudo apt-get install libxi6
sudo apt-get install libc6-i386
sudo apt-get install ia32-libs
Simplified Chinese version of iPortal requires Chinese environment. If you have not installed the Chinese Language package while installing the Ubuntu system, you can perform the following command to install the Chinese language package for the system:
sudo apt-get install language-pack-zh-hans
When installing iPortal in the NeoKylin operating system supported by the Huawei TaiShan server, you need to replace the JRE in the iPortal product package and modify the configuration of some files. The specific operations are as follows:
rm -rf /%SuperMap iPortal_HOME%/support/jre
tar -xzvf java-1.8.0-openjdk-1.8.0.×××-×××.aarch64.tar.gz -C /%SuperMap iPortal_HOME%/support/jre
echo 'xpack.ml.enabled: false' >> /%SuperMap iPortal_HOME%/database/elasticsearch/config/elasticsearch.yml
(1) Switch to the root user and execute the following commands:
vi /etc/security/limits.conf
user soft nofile 65536
user hard nofile 65536
user: Write the actual user name used in Linux. You can also replace it with "*" to indicate that the configuration modification takes effect for all users.
Note: The configuration value 65536 for the maximum number of open files in a process is not a fixed configuration value. You can modify it according to the actual situation. After modification, you must switch to a non-root user to start the iPortal service.
(2) Switch to a non-root user and execute the following command to check whether the configuration takes effect:
ulimit -Hu
ulimit -Su
(3) After modification, enter the iPortal installation directory, execute the following command to end the current process, and restart iPortal.
ps -ef | grep $PWD
kill -9 iportal process ID
iportal process ID: Use the "ps" command to view the iPortal related process and the corresponding process ID, and write the actual related process ID here.
When using iPortal for the first time, you need to configure license.
The portal data of SuperMap iPortal is stored in the SQLite database by default without installation and configuration. However, it is recommended that you configure the MySQL/Oracle/PostgreSQL database for large data volume and high concurrency. For details, please refer to database configuration.
SuperMap iportal supports the configuration of environment variables to initialize the administrator account. After starting the service, you can directly access the portal homepage without entering the "Configuration Wizard" page to create an account and log in with the initialized administrator account. For details, see Account Initialization Configuration.