Author: admin
-
Ubuntu 18.04 root DNS update
Såg detta i min log fil checkhints: b.root-servers.net/A (199.9.14.201) missing from hints Jag åtgärda det genom följande kommando sudo wget –user=ftp –password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /etc/bind/db.root
-
Disable SELinux Centos 7
Temporery disable SELinuxsudo setenforce 0 /etc/selinux/config file and set the SELINUX mod to disabled # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing – SELinux security policy is enforced. # permissive – SELinux prints warnings instead of enforcing. # disabled – No…
-
How to move docker’s default /var/lib/docker to another directory on Ubuntu/Debian Linux
The following config will guide you through a process of changing the docker’s default /var/lib/docker storage disk space to another directory. There are various reasons why you may want to change docker’s default directory from which the most obvious could be that ran out of disk space. The following guide should work for both Ubuntu…
-
Firewall Centos
sudo firewall-cmd –zone=public –add-port=80/tcp –permanent sudo firewall-cmd –reload
-
Ubuntu Server
To configure a static IP address on your Ubuntu 18.04 server you need to modify a relevant netplan network configuration file within /etc/netplan/ directory. For example you might find there a default netplan configuration file called 01-netcfg.yaml or 50-cloud-init.yaml with a following content instructing the networkd deamon to configure your network interface via DHCP: To set your network interface ens160 to static IP address 192.168.1.10 with…