wget https://github.com/microsoft/omi/releases/download/v1.6.8-0/omi-1.6.8-0.ssl_110.ulinux.x64.deb wget https://github.com/microsoft/SCXcore/releases/download/v1.6.8-1/scx-1.6.8-1.ssl_110.ulinux.x64.deb ------------------------------------------------------------------------------- sec@ubuntu:~/tmp$ sudo dpkg -i omi-1.6.8-0.ssl_110.ulinux.x64.deb [sudo] password for sec: Selecting previously unselected package omi. (Reading database ... 71462 files and directories currently installed.) Preparing to unpack omi-1.6.8-0.ssl_110.ulinux.x64.deb ... Creating omiusers group ... Creating omi group ... Creating omi service account ... Unpacking omi (1.6.8.0) ... Setting up omi (1.6.8.0) ... Generating a RSA private key ....................+++++ .......+++++ writing new private key to '/etc/opt/omi/ssl/omikey.pem' ----- 2021-09-19 12:25:52 : Crontab not configured to update omi keytab automatically. Skip unconfigure ktutil not found Checking if cron is installed... Checking if cron/crond service is started... Set up a cron job to OMI logrotate every 15 minutes Configuring OMI service ... Created symlink /etc/systemd/system/multi-user.target.wants/omid.service → /lib/systemd/system/omid.service. Trying to start omi with systemctl omi is started. Processing triggers for systemd (245.4-4ubuntu3.11) ... sec@ubuntu:~/tmp$ sudo dpkg -i scx-1.6.8-1.ssl_110.ulinux.x64.deb Selecting previously unselected package scx. (Reading database ... 71525 files and directories currently installed.) Preparing to unpack scx-1.6.8-1.ssl_110.ulinux.x64.deb ... Unpacking scx (1.6.8.1) ... Setting up scx (1.6.8.1) ... Generating certificate with hostname="ubuntu"
WARNING! Could not read 256 bytes of random data from /dev/random. Will revert to less secure /dev/urandom. See the security guide for how to regenerate certificates at a later time when more random data might be available.
Trying to stop omi with systemctl omi is stopped. Trying to start omi with systemctl omi is started. sec@ubuntu:~/tmp$
optional arguments: -h, --help show this help message and exit -t TARGET, --target TARGET The IP address of the target -c COMMAND, --command COMMAND The command to run