Automatically keep current version of config files when apt-get install

 

apt install -o Dpkg::Options::="--force-confold" --only-upgrade <package> 


Remote:


ssh <user>@<ip_address> 'apt install -o Dpkg::Options::="--force-confold" --only-upgrade <package>'


NGINX - To allow a specific User-Agent from one IP address only

Step 1: Define the Map BlocksAdd this configuration inside the http {} block of your /etc/nginx/nginx.conf file. This logic evaluates the in...

Mais vistos