Introduction
The version on SWS standalone, is based on Docker image of SWS, if you don’t have a orchestrator in your infrastructure, don’t worry is possible to install in a Linux server without problems (below will be describer the Linux server supported)
Minium requirements
The Linux server require at least:
4GB of RAM
2 CPU
20 GB of Disk space
The Linux server supported are:
AlmaLinux 8+
RockyLinux 8+
RedHat 8+
AmazonLinux 2023+
NOTE: if you have already SWS installed on CentOS 7, is possibile install SWS on this OS, but Namirial advise to upgrade this OS because is EndOfLife (since June 2024)
Installation
To install the SWS onPremis, login on your server and run this command:
curl -s -L https://sws.firmacerta.it/download/sws-onpremise/install_sws3x.sh | sudo bash -s
At the end of this command, you will have SWS ready on port 8080 to work. You can try if has correctly with this command:
curl -i -X GET http://<IP-APPLIANCE>:8080/SignEngineWeb/rest/server-admin/sys-info
Will be displayed a JSON with all configuration of SWS instance like this:
At the end of this command, will be create a service named “sws” (it will run at startup)
IMPORTANT: you can run this command in the OS which is already installed sws 2x
NOTE: if you are migrating from old SWS 2x configurated with PROD environment, the installation will migrate the environment (with the correct JKS certificate uploaded in past), and in the previous command sys-info the environment is PROD.
How can i see the logs file?
You can found the log files on this folder:
/opt/sws/log/sws-instance
How can i manage my SWS instance?
After the installation is complete, the adminstration methods are the same of installation via Docker image, therefore you can see the section Docker to manage your sws instance
How can i manage the sws service?
Once complete the installation, will be create a service “sws”, you can manage the service using this command:
sudo service sws [start | stop | restart | status]
How can i upgrade to latest version?
To upgrade to the last version, you can run the same command used for installation