Skip to main content

Posts

Showing posts from December, 2017

Install4J ERROR: The installation/removal of a previoius program was not completed.

Error that may stop new installation: The installation/removal of a previoius program was not completed. You will need to restart your computer to complete that installation. After restarting your computer, run Setup again to complete the installation of Program name. How to solve the issue without restarting: Remove following keys: HKEY_CURRENT_USER\SOFTWARE\ej-technologies\install4j\RebootCheckFile HKEY_LOCAL_MACHINE\SOFTWARE\ej-technologies\install4j\RebootCheckFile HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations 

elasticsearch installation cheatsheet

SystemD cheatsheet: systemd is a system and service manager for Linux, compatible with SysV.  Overview of systemd for RHEL 7  Understanding and administering Systemd What Command service foobar start systemctl start foobar sservice foobar stop systemctl stop foobar service foobar status systemctl status foobar.service Listing dependencies: To see dependencies of a service systemctl list-dependencies nfs-server.service

docker cheatsheet

Short docker commands list (in table view): Images What How List local images docker images Delete local image docker rmi NAME Download image docker image pull NAME Create container from image (detached) docker run –d … Display information on image docker image inspect hpsoftware/almoctane Containers What How List of running docker containers docker ps List all docker containers (running and stopped) docker ps -a Start existing container docker start ID Stop contianer docker stop ID Create container, start it and get a shell inside of it docker run -it IMAGE bash Run a command inside of an already running container docker exec -it ID bash Delete container docker rm ID Get log docker logs ID Other What How Create virtual network docker create network octane_nw Start docker service systemctl start docker Define proxy mkdir -p /etc/systemd/system/docker.service.d vi /etc/systemd/system/docke

RPM cheatsheet

RPM is the Linux deployment tool. But how to use it? What How Files in RPM package rpm -qpl XX.rpm List scripts rpm -qp --scripts XX.rpm Install rpm rpm -ivh XX.rpm Update rpm rpm -Uvh XX.rpm Installed packages rpm -qa Information on specific installation rpm -qi PACKAGE Uninstall package rpm -e XX sd