Skip to main content

Ubuntu

Installation of Debian Package#

For the server software installation, please prepare the server latest package like the following Debian package file.

* The package is not in public on the download site. Please make contact to us to get it.

hcpd_1.3.2-6_amd64.deb

Install the package using dpkg command.

sudo dpkg -i hcpd_1.3.2-6_amd64.deb

If you have a license key for this software save it to the following file.

/etc/hcp/license.key

Start and stop hcpd by running the following command.

systemctl start hcpdsystemctl stop hcpd

Edit the following files to change the server configuration and give some options to the hcpd command.

/etc/systemd/system/hcpd.service/etc/sysconfig/hcpd

The hcpd is installed with the following functions enabled.

  • Privilege separation : Enabled
  • PAM and public key authentication : Enabled
  • Cryptographic transport by a server host key : Enabled

Confirm if It Works#

After the installation being completed, start the server by the following command and check its status about hcpd working.

systemctl start hcpd

Initial Configuration (around Securities)#

The initial configuration is optimal in use. If you change configurations around securities, please see the configuration reference.

Upgrade#

To upgrade on Linux, you just run the dpkg command with a newer package than the current version's package using -i option.

sudo dpkg -i hcpd_1.3.2-6_amd64.deb

Old configuration files will be kept. You can make upgrade even if using a newer package in build number.

Example: Upgrade from 1.3.2-5 to 1.3.2-6

sudo dpkg -i hcpd_1.3.2-5_amd64.debsudo dpkg -i hcpd_1.3.2-6_amd64.deb (this works)

Uninstallation#

To uninstall on Linux, use -r or -P option of the dpkg command to do.

sudo dpkg -r hcpdsudo dpkg -P hcpd