Change IP Debian 9

Change IP Debian 9

# Log in as root or su to root then
nano /etc/network/interfaces
# Should look like this:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

And change it to:

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.202
netmask 255.255.255.0
gateway 192.0.1.1


when done: service networking restart
if the interface fails type: ifup eth0

Lets encrypt Nginx

Introduction

Let’s Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, enabling encrypted HTTPS on web servers. It simplifies the process by providing a software client, Certbot, that attempts to automate most (if not all) of the required steps. Currently, the entire process of obtaining and installing a certificate is fully automated on both Apache and Nginx.

In this tutorial, you will use Certbot to obtain a free SSL certificate for Nginx on Debian 9 and set up your certificate to renew automatically.

 

Read More

Remove HP iLO License

In order to use the full features of HP’s Integerated Lights-Out system a license key needs to be added. The process of adding a license is as simple as connecting to the iLO web interface and following the steps in the license section. If for some reason you want to remove the license it’s not quite as simple as clicking a button.

Thankfully it’s not actually that difficult to remove the license, just a pain having to use an extra tool. The steps below show you how to complete the removal in a few minutes.

  1. Download Putty if you don’t already have it.
  2. Open putty and enter the IP of the iLO server, select SSH and open the connection.
  3. Login using the same credentials used for the iLO web interface (username is case sensitive).
  4. type the following command and hit enter. delete /map1 license
  5. The command may take 5-10 seconds to complete so wait until confirmation is shown.

Remove iLO License