From 9180def77158d55f3237b042ae5391e46b9b6c95 Mon Sep 17 00:00:00 2001 From: Satish Mane Date: Tue, 9 May 2023 18:50:46 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 134530d..af8ebac 100644 --- a/README.md +++ b/README.md @@ -1 +1,9 @@ -# Devops-simplified \ No newline at end of file +### Hi there, 👋 +# Welcome........! +### to the world of DevOps +there will be some notes about networking basics as well as linux basic commands. +And Some awesome files + +## Steps to get All Notes. +##### Step 1: Clone Project to your PC + `$ git clone https://github.com/fykaa/Devops-simplified.git` From 069e8813620cfa59da38d484ff00d6552bf68680 Mon Sep 17 00:00:00 2001 From: Satish Mane Date: Tue, 9 May 2023 19:38:18 +0530 Subject: [PATCH 2/2] Create Conection-modify.md --- Computer Networking/Conection-modify.md | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Computer Networking/Conection-modify.md diff --git a/Computer Networking/Conection-modify.md b/Computer Networking/Conection-modify.md new file mode 100644 index 0000000..76658c3 --- /dev/null +++ b/Computer Networking/Conection-modify.md @@ -0,0 +1,29 @@ +Supose you want to make some changens in available network profile with the following parameter: +Configure your Host Name, IP Address, Gateway and DNS. + +Host name : linux.local.server +hostname : abc.com +IP Address : 172.168.130.38 +Subnet : 255.255.255.0 +Gateway : 172.168.130.1 +DNS : 172.168.130.1 + +## Follow this steps +##### Step 1: check all devices status first. + `# nmcli dev status` +##### Step 2: select any connection profile that you want to modify. and make changes for IP addresses and Gateway(e.g "static" as a profile name for this practical) + `# nmcli con mod static ipv4.addresses 172.168.130.38/24 ipv4.gateway 172.168.130.1 ipvr.method manual ` +##### Step 3: Add DNS Configuration + `# nmcli con mod static ipv4.dns 172.168.130.1` +##### Step 4: replicate all changes on the network. + `# nmcli con up static` +##### Step 5: check the current hostname. + `# hostnamectl` +##### Step 6: set hostname to linux.local.server . + `# hostnamectl set-hostname linux.local.server` +##### Step 7: verify that the hostname has been set. + `# hostname` + + +##Done +