Category Archives: ubuntu

let’s encrypted command line

sudo certbot certificatesgrep -Eri ‘servername|serveralias’ /etc/apache2grep -Eri ‘SSLProtocol|SSLCipherSuite’ /etc/apache2netstat -pant | grep -i listen

Posted in My Windows, SSL, ubuntu | Comments Off on let’s encrypted command line

output apache2ctl -S

from terminal and run below apache2ctl -S

Posted in SSL, ubuntu | Comments Off on output apache2ctl -S

disable and enable firewall on ubuntu

To turn on the firewall, enter sudo ufw enable in a terminal. To turn off ufw, enter sudo ufw disable.

Posted in My Linux, ubuntu | Comments Off on disable and enable firewall on ubuntu

assigning a static IP on ubuntu

To assign a static IP you need to edit /etc/network/interfaces The current entry will look something like auto eth0 iface eth0 inet dhcp You will need you need to change this to: auto eth0 iface eth0 inet static address 10.253.0.50 … Continue reading

Posted in ubuntu | Comments Off on assigning a static IP on ubuntu

assign static ip “ubuntu”

iface em0 inet static address 192.168.1.128 netmask 255.255.255.0 network 192.168.1.0 dns-search example.com dns-nameservers 8.8.8.8 8.8.4.4

Posted in ubuntu | Comments Off on assign static ip “ubuntu”