diff --git a/README.md b/README.md index 172cc2e..c82287d 100644 --- a/README.md +++ b/README.md @@ -48,3 +48,39 @@ These are notes from the [Linux Basics Course](https://bit.ly/3gGnxm0) hosted on - [06-Vi-Editor](docs/05-Working-With-Shell-Part-II/06-Vi-Editor.md) - [07-Lab-VI-Editor](docs/05-Working-With-Shell-Part-II/07-Lab-VI-Editor.md) +- [06-Security-and-File-Permissions](docs/06-Security-and-File-Permissions) + + - [01-The-Security-Incident(story)](docs/06-Security-and-File-Permissions/01-The-Security-Incident(story).md) + - [02-Linux-Accounts](docs/06-Security-and-File-Permissions/02-Linux-Accounts.md) + - [03-User-Management](docs/06-Security-and-File-Permissions/03-User-Management.md) + - [04-Access-Control-Files](docs/06-Security-and-File-Permissions/04-Access-Control-Files.md) + - [05-File-Permissions](docs/06-Security-and-File-Permissions/05-File-Permissions.md) + - [06-SSH-and-SCP](docs/06-Security-and-File-Permissions/06-SSH-and-SCP.md) + +- [07-Networking](docs/07-Networking) + + - [01-The-Network-Issue(story)](docs/07-Networking/01-The-Network-Issue(story).md) + - [02-DNS](docs/07-Networking/02-DNS.md) + - [03-Networking-Basics](docs/07-Networking/03-Networking-Basics.md) + - [04-Troubleshooting](docs/07-Networking/04-Troubleshooting.md) + +- [08-Storage-in-Linux](docs/08-Storage-in-Linux) + + - [01-Where's-my-Storage](docs/08-Storage-in-Linux/01-Where's-my-Storage.md) + - [02-Storage-Basics](docs/08-Storage-in-Linux/02-Storage-Basics.md) + - [03-File-System-in-Linux](docs/08-Storage-in-Linux/03-File-System-in-Linux.md) + - [04-DAS-NAS-and-SAN](docs/08-Storage-in-Linux/04-DAS-NAS-and-SAN.md) + - [05-LVM](docs/08-Storage-in-Linux/05-LVM.md) + - [06-Project-Status-Meeting](docs/08-Storage-in-Linux/06-Project-Status-Meeting.md) + +- [09-Service-management-with-SYSTEMD](docs/09-Service-management-with-SYSTEMD) + + - [01-Working-Overtime-Story](docs/09-Service-management-with-SYSTEMD/01-Working-Overtime-Story.md) + - [02-Creating-a-SYSTEMD-Service](docs/09-Service-management-with-SYSTEMD/02-Creating-a-SYSTEMD-Service.md) + - [03-SYSTEMD-Tools](docs/09-Service-management-with-SYSTEMD/03-SYSTEMD-Tools.md) + +- [10-The-Client-Demonstration](docs/10-The-Client-Demonstration) + + - [01-Client-Demonstration-in-Jeopardy!(story)](docs/10-The-Client-Demonstration/01-Client-Demonstration-in-Jeopardy!(story).md) + - [02-Troubleshoot-the-Development-Environment](docs/10-The-Client-Demonstration/02-Troubleshoot-the-Development-Environment.md) + - [03-Finale(story)](docs/10-The-Client-Demonstration/03-Finale(story).md) diff --git a/docs/06-Security and File Permissions/01-The Security Incident(story).md b/docs/06-Security-and-File-Permissions/01-The-Security-Incident(story).md similarity index 100% rename from docs/06-Security and File Permissions/01-The Security Incident(story).md rename to docs/06-Security-and-File-Permissions/01-The-Security-Incident(story).md diff --git a/docs/06-Security and File Permissions/02-Linux Accounts.md b/docs/06-Security-and-File-Permissions/02-Linux-Accounts.md similarity index 92% rename from docs/06-Security and File Permissions/02-Linux Accounts.md rename to docs/06-Security-and-File-Permissions/02-Linux-Accounts.md index 6b2428f..7f9a13d 100644 --- a/docs/06-Security and File Permissions/02-Linux Accounts.md +++ b/docs/06-Security-and-File-Permissions/02-Linux-Accounts.md @@ -4,7 +4,7 @@ - In this section we will take a look at basic access control in Linux. - We will also learn about about the file permissions. Lets Get Started! - ![linux](../images/linux.PNG) + ![linux](../../images/linux.PNG) #### User Accounts @@ -21,7 +21,7 @@ [~]$ cat /etc/group ``` - ![user](../images/user.PNG) + ![user](../../images/user.PNG) - Each user has a username and a unique ID assigned to them known as user ID or UID. - The user also has a GID, the group id they are part of, **`id`** command can be use to check these details. for eg: @@ -38,7 +38,7 @@ michael:x:1001:1001::/home/michael:/bin/sh ``` - ![group](../images/group.PNG) + ![group](../../images/group.PNG) - To see the list of users currently logged use **`who`** command. @@ -82,14 +82,14 @@ [sudo] password for michael: ``` - ![who](../images/who.PNG) + ![who](../../images/who.PNG) - Users listed in /etc/sudoers file can make use of sudo command for privledge escalation. ``` [~]$ cat /etc/sudoers ``` - ![sudo](../images/sudo.PNG) + ![sudo](../../images/sudo.PNG) - To restrict anyone from directly login as root login, this can be done by setting **`nologin`** shell. diff --git a/docs/06-Security and File Permissions/03-User Management.md b/docs/06-Security-and-File-Permissions/03-User-Management.md similarity index 95% rename from docs/06-Security and File Permissions/03-User Management.md rename to docs/06-Security-and-File-Permissions/03-User-Management.md index 2c59008..3fec270 100644 --- a/docs/06-Security and File Permissions/03-User Management.md +++ b/docs/06-Security-and-File-Permissions/03-User-Management.md @@ -18,7 +18,7 @@ bob:x:1002:1002::/home/bob:/bin/sh ``` - ![useradd](../images/useradd.PNG) + ![useradd](../../images//useradd.PNG) - To check the uid or username of the user logged in user **`whoami`** command. @@ -53,7 +53,7 @@ [~]$ useradd -u 1009 -g 1009 -d /home/robert -s /bin/bash -c ”Mercury Project member" bob ``` - ![manage](../images/manage.PNG) + ![manage](../../images//manage.PNG) - To delete a user use **`userdel`** command diff --git a/docs/06-Security and File Permissions/04-Access Control Files.md b/docs/06-Security-and-File-Permissions/04-Access-Control-Files.md similarity index 90% rename from docs/06-Security and File Permissions/04-Access Control Files.md rename to docs/06-Security-and-File-Permissions/04-Access-Control-Files.md index dc6b3e0..8b9ceb5 100644 --- a/docs/06-Security and File Permissions/04-Access Control Files.md +++ b/docs/06-Security-and-File-Permissions/04-Access-Control-Files.md @@ -16,7 +16,7 @@ USERNAME:PASSWORD:UID:GID:GECOS:HOMEDIR:SHELL ``` - ![passwd](../images/passwd.PNG) + ![passwd](../../images//passwd.PNG) - Password are stored under **`/etc/shadow`** @@ -28,7 +28,7 @@ USERNAME:PASSWORD:LASTCHANGE:MINAGE:MAXAGE:WARN:INACTIVE:EXPDATE ``` - ![shadow](../images/shadow.PNG) + ![shadow](../../images//shadow.PNG) - Check the groups **`bob`** belongs too @@ -37,7 +37,7 @@ NAME:PASSWORD:GID:MEMBERS ``` - ![egp](../images/egp.PNG) + ![egp](../../images//egp.PNG) # HANDS-ON LABS diff --git a/docs/06-Security and File Permissions/05-File Permissions.md b/docs/06-Security-and-File-Permissions/05-File-Permissions.md similarity index 95% rename from docs/06-Security and File Permissions/05-File Permissions.md rename to docs/06-Security-and-File-Permissions/05-File-Permissions.md index 95a4b11..84ff47c 100644 --- a/docs/06-Security and File Permissions/05-File Permissions.md +++ b/docs/06-Security-and-File-Permissions/05-File-Permissions.md @@ -5,10 +5,10 @@ - In this lecture we will learn about various file type identifiers. - We will also learn about various Linux file permissions that can be applied on the file or the directory. - ![perm](../images/perm.PNG) + ![perm](../../images//perm.PNG) - ![type](../images/type.PNG) + ![type](../../images//type.PNG) #### Directory Permission @@ -35,7 +35,7 @@ - Linux file permissions are defined as - ![filep](../images/filep.PNG) + ![filep](../../images//filep.PNG) #### Modifying file permissions diff --git a/docs/06-Security and File Permissions/06-SSH and SCP.md b/docs/06-Security-and-File-Permissions/06-SSH-and-SCP.md similarity index 91% rename from docs/06-Security and File Permissions/06-SSH and SCP.md rename to docs/06-Security-and-File-Permissions/06-SSH-and-SCP.md index 1a20614..81f7738 100644 --- a/docs/06-Security and File Permissions/06-SSH and SCP.md +++ b/docs/06-Security-and-File-Permissions/06-SSH-and-SCP.md @@ -45,7 +45,7 @@ bob@caleston-lp10 ~]$ ssh-keygen –t rsa ``` - ![key](../images/key.PNG) + ![key](../../images//key.PNG) - To copy the Public key from the client to the remote server @@ -53,7 +53,7 @@ bob@caleston-lp10 ~]$ ssh-copy-id bob@devapp01 ``` - ![copy](../images/copy.PNG) + ![copy](../../images//copy.PNG) - Now **`Bob`** can login to remote server without password @@ -62,7 +62,7 @@ [bob@caleston-lp10 ~]$ ssh devapp01 ``` - ![pless](../images/pless.PNG) + ![pless](../../images//pless.PNG) - Public Key is copied to the remote server at : @@ -70,7 +70,7 @@ [bob@caleston-lp10 ~]$ cat /home/bob/.ssh/authorized_keys ``` - ![auth](../images/auth.PNG) + ![auth](../../images//auth.PNG) #### SCP @@ -86,4 +86,4 @@ [bob@caleston-lp10 ~]$ scp –pr /home/bob/media/ devapp01:/home/bob ``` - ![scp](../images/scp.PNG) \ No newline at end of file + ![scp](../../images//scp.PNG) \ No newline at end of file diff --git a/docs/07-Networking/01-The Network Issue(story).md b/docs/07-Networking/01-The-Network-Issue(story).md similarity index 100% rename from docs/07-Networking/01-The Network Issue(story).md rename to docs/07-Networking/01-The-Network-Issue(story).md diff --git a/docs/07-Networking/02-DNS.md b/docs/07-Networking/02-DNS.md index ea0dc45..bb51b98 100644 --- a/docs/07-Networking/02-DNS.md +++ b/docs/07-Networking/02-DNS.md @@ -70,18 +70,18 @@ # DOMAIN NAMES - ![DNS](../images/dns.PNG) + ![DNS](../../images//dns.PNG) - .com - Commerical or General Purpose. - .net - Network or General Purpose. - .edu - Education Purpose - .org - Organizations for non profit organizations etc. - ![Root](../images/root.PNG) + ![Root](../../images//root.PNG) # RECORD TYPES - ![Record](../images/record.PNG) + ![Record](../../images//record.PNG) - A - IP to host names. - AAAA - Storing ipv6 to hostnames. diff --git a/docs/07-Networking/03-Networking Basics.md b/docs/07-Networking/03-Networking-Basics.md similarity index 94% rename from docs/07-Networking/03-Networking Basics.md rename to docs/07-Networking/03-Networking-Basics.md index f9e0296..82f0bbc 100644 --- a/docs/07-Networking/03-Networking Basics.md +++ b/docs/07-Networking/03-Networking-Basics.md @@ -6,7 +6,7 @@ - Switching helps to connect the interface within same network. - ![switch](../images/switch.PNG) + ![switch](../../images//switch.PNG) - To see the interfaces on the hosts use **`ip link`** command @@ -26,7 +26,7 @@ - Router helps to connect to two seprate networks together. - ![route](../images/routing.PNG) + ![route](../../images//routing.PNG) - To see the existing routing table configuration run the **`route`** command. diff --git a/docs/07-Networking/04-Troubleshooting.md b/docs/07-Networking/04-Troubleshooting.md index 5b78347..29f86b1 100644 --- a/docs/07-Networking/04-Troubleshooting.md +++ b/docs/07-Networking/04-Troubleshooting.md @@ -5,7 +5,7 @@ - In this lecture we will be going to troubleshooting the issue that **`Bob`** is facing. - Bob is not able to reach to the repository server and he get the error as show below. - ![site](../images/site.PNG) + ![site](../../images/site.PNG) #### Check Interfaces @@ -62,7 +62,7 @@ [caleston-repo-01: ~]$ netstat -an | grep 80 | grep -i LISTEN ``` - ![net](../images/net.PNG) + ![net](../../images/net.PNG) - To bring up the interface up use below command. @@ -70,4 +70,4 @@ [caleston-repo-01: ~]$ ip link set dev enp1s0f1 up ``` - ![iplink](../images/iplink.PNG) \ No newline at end of file + ![iplink](../../images/iplink.PNG) \ No newline at end of file diff --git a/docs/08-Storage in Linux/01-Where's my Storage.md b/docs/08-Storage-in-Linux/01-Where's-my-Storage.md similarity index 100% rename from docs/08-Storage in Linux/01-Where's my Storage.md rename to docs/08-Storage-in-Linux/01-Where's-my-Storage.md diff --git a/docs/08-Storage in Linux/02-Storage Basics.md b/docs/08-Storage-in-Linux/02-Storage-Basics.md similarity index 98% rename from docs/08-Storage in Linux/02-Storage Basics.md rename to docs/08-Storage-in-Linux/02-Storage-Basics.md index 4320dd6..0ba485c 100644 --- a/docs/08-Storage in Linux/02-Storage Basics.md +++ b/docs/08-Storage-in-Linux/02-Storage-Basics.md @@ -7,7 +7,7 @@ - External Storage Devices such as DAS,NAS, and SAN. - LVM in Action. - ![Disk](../images/disk.PNG) + ![Disk](../../images//disk.PNG) #### List all Block devices @@ -31,7 +31,7 @@ #### Partition Types - - ![Part](../images/partition.PNG) + ![Part](../../images//partition.PNG) - PRIMARY - Use to Boot an Operating System. - EXTENDED - Can host logical partitions but cannot be used on its own. diff --git a/docs/08-Storage in Linux/03-File System in Linux.md b/docs/08-Storage-in-Linux/03-File-System-in-Linux.md similarity index 95% rename from docs/08-Storage in Linux/03-File System in Linux.md rename to docs/08-Storage-in-Linux/03-File-System-in-Linux.md index 1e46e86..1b319f8 100644 --- a/docs/08-Storage in Linux/03-File System in Linux.md +++ b/docs/08-Storage-in-Linux/03-File-System-in-Linux.md @@ -4,7 +4,7 @@ - In this lecture we will cover the most commonly used file systems from EXT2 to EXT4. - ![fs](../images/fs.PNG) + ![fs](../../images/fs.PNG) #### Working with Ext4 @@ -46,7 +46,7 @@ ``` - **`fstab`** file attributes - ![fstab](../images/fstab.PNG) + ![fstab](../../images/fstab.PNG) # HANDS-ON LABS diff --git a/docs/08-Storage in Linux/04-DAS NAS and SAN.md b/docs/08-Storage-in-Linux/04-DAS-NAS-and-SAN.md similarity index 100% rename from docs/08-Storage in Linux/04-DAS NAS and SAN.md rename to docs/08-Storage-in-Linux/04-DAS-NAS-and-SAN.md diff --git a/docs/08-Storage in Linux/05- LVM.md b/docs/08-Storage-in-Linux/05-LVM.md similarity index 98% rename from docs/08-Storage in Linux/05- LVM.md rename to docs/08-Storage-in-Linux/05-LVM.md index 1278c1e..def2983 100644 --- a/docs/08-Storage in Linux/05- LVM.md +++ b/docs/08-Storage-in-Linux/05-LVM.md @@ -5,7 +5,7 @@ - LVM allows grouping of multiple physical volumes, which are hard disks or partitions into a volume group. - Volumegroups can be carve out logical volumes. - ![LVM](../images/lvm.PNG) + ![LVM](../../images/lvm.PNG) #### Working with LVM @@ -159,7 +159,7 @@ /dev/mapper/caleston_vg-vol1 2.0G 1.6M 1.9G 1% /mnt/vol1 ``` - ![LVM2](../images/lvm2.PNG) + ![LVM2](../../images/lvm2.PNG) # HANDS-ON LABS diff --git a/docs/08-Storage in Linux/06-Project Status Meeting.md b/docs/08-Storage-in-Linux/06-Project-Status-Meeting.md similarity index 100% rename from docs/08-Storage in Linux/06-Project Status Meeting.md rename to docs/08-Storage-in-Linux/06-Project-Status-Meeting.md diff --git a/docs/09-Service management with SYSTEMD/01-Working Overtime Story.md b/docs/09-Service-management-with-SYSTEMD/01-Working-Overtime-Story.md similarity index 100% rename from docs/09-Service management with SYSTEMD/01-Working Overtime Story.md rename to docs/09-Service-management-with-SYSTEMD/01-Working-Overtime-Story.md diff --git a/docs/09-Service management with SYSTEMD/02-Creating a SYSTEMD Service.md b/docs/09-Service-management-with-SYSTEMD/02-Creating-a-SYSTEMD-Service.md similarity index 100% rename from docs/09-Service management with SYSTEMD/02-Creating a SYSTEMD Service.md rename to docs/09-Service-management-with-SYSTEMD/02-Creating-a-SYSTEMD-Service.md diff --git a/docs/09-Service management with SYSTEMD/03-SYSTEMD Tools.md b/docs/09-Service-management-with-SYSTEMD/03-SYSTEMD-Tools.md similarity index 97% rename from docs/09-Service management with SYSTEMD/03-SYSTEMD Tools.md rename to docs/09-Service-management-with-SYSTEMD/03-SYSTEMD-Tools.md index e9eb9d5..fea7c6f 100644 --- a/docs/09-Service management with SYSTEMD/03-SYSTEMD Tools.md +++ b/docs/09-Service-management-with-SYSTEMD/03-SYSTEMD-Tools.md @@ -13,7 +13,7 @@ during the system boot. - It is also used to **`LIST AND MANAGE UNITS`** and **`LIST AND UPDATE TARGETS`** - ![Systemctl](../images/systemctl.png) + ![Systemctl](../../images/systemctl.png) ### Systemctl Commands @@ -58,7 +58,7 @@ - Besides **`active (running)`** state there are few other state that you should be aware off. - ![Other](../images/otherstate.PNG) + ![Other](../../images/otherstate.PNG) - Running **`systemctl daemon reload`** command after making changes to service unit file reloads the system manager configuration and makes the systemd aware of the changes. @@ -101,7 +101,7 @@ - The systemd-journald service is responsible for systemd’s log collection, and it retrieves messages from the kernel systemd services, and other sources. - Very useful when you are troubleshooting issues with systemd services. - ![Journalctl](../images/journalctl.png) + ![Journalctl](../../images/journalctl.png) - Using **`journalctl`** commands print all the log entries from oldest to the newest. - Using **`journalctl -b`** command print all the logs from the current boot. diff --git a/docs/10-The Client Demonstration/01-Client Demonstration in Jeopardy!(story).md b/docs/10-The-Client-Demonstration/01-Client-Demonstration-in-Jeopardy!(story).md similarity index 100% rename from docs/10-The Client Demonstration/01-Client Demonstration in Jeopardy!(story).md rename to docs/10-The-Client-Demonstration/01-Client-Demonstration-in-Jeopardy!(story).md diff --git a/docs/10-The Client Demonstration/02-Troubleshoot the Development Environment.md b/docs/10-The-Client-Demonstration/02-Troubleshoot-the-Development-Environment.md similarity index 100% rename from docs/10-The Client Demonstration/02-Troubleshoot the Development Environment.md rename to docs/10-The-Client-Demonstration/02-Troubleshoot-the-Development-Environment.md diff --git a/docs/10-The Client Demonstration/03-Finale (story).md b/docs/10-The-Client-Demonstration/03-Finale(story).md similarity index 100% rename from docs/10-The Client Demonstration/03-Finale (story).md rename to docs/10-The-Client-Demonstration/03-Finale(story).md