Install supervisor on debian/ubuntu system via pip

Install supervisor on debian/ubuntu system via pip Purge old and install via pip apt-get purge supervisor -y apt install python-pip -y pip install supervisor -y Create init.d script nano /etc/init.d/supervisord #! /bin/sh ### BEGIN INIT INFO # Provides: supervisord # Required-Start: $local_fs $remote_fs $networking # Required-Stop: $local_fs $remote_fs $networking # Default-Start: 2 3 4 5 […]

Читать дальше… from Install supervisor on debian/ubuntu system via pip

Install nano ver 6 on ununtu/debian os from source

Install nano ver 6 on ununtu/debian os from source sudo apt-get purge nano ; sudo apt install libmagic-dev libgpm-dev wget texinfo Install build deps export issue_name="focal" sudo apt install -y libncursesw5-dev checkinstall curl -L https://www.nano-editor.org/dist/v6/nano-6.0.tar.gz -o /tmp/nano-6.0.tar.gz cd /tmp/ && tar -xvf nano-6.0.tar.gz cd nano-6.0 ./configure –prefix=/usr \ –sysconfdir=/etc \ –enable-utf8 \ –enable-color –enable-extra –enable-multibuffer […]

Читать дальше… from Install nano ver 6 on ununtu/debian os from source

Ubuntu server 18.04 network configuration

Ubuntu server 18.04 network configuration In ubuntu 18.04 network configuration was replaced by netplan To configure network with statik ip we create file /etc/netplan/01-netcfg.yaml network: version: 2 renderer: networkd ethernets: enp2s0: dhcp4: no dhcp6: no addresses: [192.168.0.224/24] gateway4: 192.168.0.1 nameservers: addresses: [192.168.0.240] Delete default file with dhcp network. Caution: DON’T USE TAB, ONLY SPACE’S rm […]

Читать дальше… from Ubuntu server 18.04 network configuration

Awx tower(ansible) with docker-compose

Awx tower(ansible) with docker-compose version: ‘3’ services: postgres: image: “postgres:10.5” volumes: – “./data/pgdata:/var/lib/postgresql/data” restart: always ports: – “35432:5432” environment: POSTGRES_USER: awx POSTGRES_PASSWORD: awxpass POSTGRES_DB: awx rabbitmq: image: “rabbitmq:3” restart: always environment: RABBITMQ_DEFAULT_VHOST: awx memcached: image: “memcached:alpine” restart: always awx_web: image: “ansible/awx_web:latest” links: – rabbitmq – memcached – postgres ports: – “85:8052” hostname: awxweb restart: always […]

Читать дальше… from Awx tower(ansible) with docker-compose