Linux Commands
Linux Commands
ssh kirubel@10.10.1.131
****** Static IP Config ******
1 --- sudo vi /etc/netplan/01-netcfg.yaml
2 --- network:
version: 2
renderer: networkd
ethernets:
eth0:
addresses:
- IP/SUBNET MASK
nameservers:
addresses: [8.8.8.8, DNS SERVER]
routes:
- to: default
via: GATEWAY
3 --- sudo netplan apply
*** PHP-CGI (to execute PHP scripts without installing the Apache PHP module)
sudo apt install php-cgi