Skip to content

My class notes, hope this would be useful for others too :)

Notifications You must be signed in to change notification settings

NubletZ/myNotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 

Repository files navigation

TABLE OF CONTENT

N Subject
1 LINUX作業系統實務 Practical LINUX Operating System
2 系統程式 System Programming
3 伺服器架設 Server Setup
4 Linux系統自動化運維 Automatic Operation and Maintenance for Linux System
5 人工智能 Artificial Intelligence



LINUX作業系統實務 Practical LINUX Operating System

Based on CentOS7

Notes repository link : https://github.com/NubletZ/LinuxOS_Notes/tree/nubletz/109%E4%B8%8B

Click the link listed below to read for specific part

Weekly Notes Content
Week 1 (02-23-2021) Linux Distribution
Other related notes (root and cd command)
Week 2 (02-30-2021) Two Type of Cloning in VM
Difference between VMware and VirtualBox
Built internal network
Make Two Devices Communicating by Using Cloud
Linux Commands :
  1. Show the IP address
  2. Reset IP address modification
  3. Set IP address
  4. Set new hostname
Week 3 (03-09-2021) Red Hat
About IP 0.0.0.0
How to :
  1. Set up SSH passwordless login
  2. Install VirtualBox Guest Additions in VMBox on CentOS and Red Hat
Linux Command :
  1. echo
  2. Show file content
  3. Create web server
  4. Show current working directory
Week 4 (03-16-2021) GNU General Public License
Linux Filesystem Hierarchy Standard (FHS)
How to : Export and Import VM
Linux Command :
  1. Shutdown Linux
  2. Restart Linux
  3. Grep
    Week 5 (03-23-2021) Six stages of Linux booting process
    Difference between history command and .bash_history content
    Linux Command :
    1. Execute previous command
    2. Put gedit process in background
    3. Edit text using sed
    4. To show information who are in system
    Shorcut Keys In Terminal
    Week 6 (30-03-2021) Linux File Management
    Linux /dev/null
    Linux Command :
    1. Show File Permission
    2. Create Empty File in Linux
    3. Show Block Devices Information
    4. Passwd and Shadow Content
      Week 7 (03-14-2021) Linux File Permissions
      SetUID, SetGID, and Sticky Bits in File Permissions
      Link in Linux
      Linux Command :
      1. Copy File
      2. Move File and Folder
      3. Remove File and Directory
      4. Read File Content (using head and tail)
      5. Edit File Content (using echo)
      Week 8 (04-27-2021) SSH Tunnel
      Local Port Forwarding
      Remote Port Forwarding
      Dynamic Port Forwarding (SOCKS)
      Linux Command :
      1. Set firewall to nonactive
      2. Set up web server using SimpleHTTPServer
      Week 9 (04-05-2021) Two Ways to Execute File in Linux
      Command to Find Certain File in Linux
      Linux Command :
      1. Edit file content in terminal
      2. Find file using find command
      3. Show disk usage
      4. Word Count
      5. Compress and extract file in Linux
      Week 10 (05-11-2021) Three Important Command in Linux (grep, sed, awk)
      Mount
      How To : Add Storage into VirtualBox
      Week 11 (05-18-2021) Manage Linux User Account
      1. Group Information
      2. User Information
      Linux Command :
      1. Add new user into Linux
      2. Modify user setting
      3. Delete user
      4. See UID, GID, and groups information from a user
      5. See user group information
      6. Change user password
      7. Change file owner
      Week 12 (05-25-2021) Process
      Foreground and background Process
      Daemon Process
      Zombie Process
      Linux Command :
      1. List all processes of all users
      2. Show the whole process in system
      3. Kill program
      4. nice and renice
      Week 13 (06-01-2021) Linux Firewall
    5. Firewall Zones
    6. Configure HTTP using firewalld
      1. add and remove port in firewall
      2. add and remove server in firewall
      3. Allow connection for specific user in public zone
      Week 14 (06-08-2021) Iptables
      Writing a Simple Rule in Iptables Back Up The System File (using gzip, bzip2, .Z, zip, and rar)
      Week 15 (06-15-2021) Two Kind of Times in Linux
      1. Hardware time
      2. System time
      NTP (Network Time Protocol)
      Crontab How to limit user storage in Linux
      Linux Command :
      1. check and change timezone
      2. formatic output from system time
      3. synchronized time

      系統程式 System Programming

      Notes repository link : https://github.com/NubletZ/sp109b/tree/nubletz/Notes

      Click the link listed below to read the notes

      Time Content
      Week 1
      1. GCC
      2. GNU Make
      3. Using Make To Compile Program
      Week 2
      1. 4 important things that would be learnt in this class (Compiler, Assembler, VM, OS)
      2. Syntax
      Week 3
      1. Lexer
      2. Notes for C about fopen
      Week 4
      1. Parser
      2. Practice writing a simple parser for if conditions and for loop functions
        Week 5 Compile C Program in Linux (PART I)
        Week 6 Compile C Program in Linux (PART II)
        Week 7
        1. What is POSIX?
        2. Write C With POSIX
        3. Try to Write a C Program for Linux and Windows
          Week 8 C Memory Layout
          Command :
          1. Show currently-running program
          2. Running program in the background
          Week 9
          1. Process and Thread
          2. Creating Threads
          3. Do you know?
          Week 10
          1. Mutex (Mutual Exclusion)
          2. Semaphore
          Week 11 execvp() and fork() Function in C/C++
          1. execvp() Function
          2. fork() Function
          3. Write C Program with execvp() and fork()
          Week 12 I/O system Calls in C Program
          Week 13 FIFO Named Pipe
          Why Use FIFO?



          伺服器架設 Server Setup

          Based on CentOS7

          Full notes repository link : https://github.com/NubletZ/myNotes/tree/master/allNotes/Server-Setup

          or click the link listed below.

          Weekly Notes Content
          Week 1 (09/14/2021)
          1. Attack A Server
          2. Defend Server From Attacker
          Week 2 (09/28/2021) RPM
          Command :
          1. uname
          2. rpm
          3. nautilus
          4. eog (Eye of GNOM)
          Week 3 (09/04/2021) SSH for Secure File Transfer
          Command :
          1. tr
          2. seq
          3. bc
          4. sort
          5. uniq
          6. cut
          7. split
          Week 4 (10/18/2021) Kali Metasploit Exploit FTP Service on VSFTPD - Johnny Netsec
          Week 5 (10/25/2021) Shell Script
          Command :
          1. alias
          2. Make a longer random number
          3. Show environment variable
          4. Set how many times to ping and its timeout
          5. test
          Week 6 (11/08/2021) Shell Script Conditional Statements
          Using LAMP stack
        4. Week 7 (11/15/2021) How to Set Up NFS (Network File System)
          Setting Up Network
          Command :
          1. exportfs
        5. Week 8 (11/22/2021) SAMBA
          Service Type in Linux
          Command :
          1. parameter in ping
            traceroute
            netstat
        6. Week 9 (11/29/2021) Load Balancer
          Set up HAProxy
          Week 10 (12/06/2021) Install and Set Up xinetd Server
          Linux Scheduling
          HTTP :
          Week 11 (12/13/2021) FTP
          Install and Set Up FTP
          Public Sharing With FTP
          Command in FTP
          Week 12 (12/20/2021) Make User Login Before Accessing Webpage
          Set Up Virtual Host to Enable Multiple Website in One Device



          Linux系統自動化運維 Automatic Operation and Maintenance for Linux System

          Based on CentOS7

          Full notes repository link : https://github.com/NubletZ/myNotes/tree/master/allNotes/Linux%20Maintenance

          or click the link listed below.

          Weekly Notes Content
          Week 1 (02/16/2022) Hosting Website Using IPv6
          Week 2 (02/23/2022) Enable HTTPS on Apache
          Week 3 03/02/2022 What is Docker
          Network Namespace
          Install Docker
          Command
          • ip netns add [name]
          • ip netns ls
          • ip netns del [name]
          • ip netns exec [name] ifconfig
          • ifconfig -a
          • docker ps
          • docker rm [id]
          Week 4 03/09/2022 File System in Docker
          Enable docker execute more command
          Open another terminal for the same docker
          Host website by using docker
          Docker Commands
          Week 5 03/16/2022 Auto creating several web folder using shell script
          Creating docker image using Dockerfile
          Set haproxy for pages in docker
          Installing python environment in docker
          Command
          • mkdir -p
          • ifconfig enp0s8
          Week 6 03/23/2022 Backup file into another device
          Automaticaly backup file into other device
          Commands
          • rsync
          • rsync --delete
          Week 7 03/30/2022 Update Kernel
          JumpServer
          Week 8 04/13/2022 Connect JumpServer with email
          grep flags
          Week 9 04/20/2022 Setup Promotheus
          Week 10 05/04/2022 PromQL (Prometheus Query Language)
          Setup Grafana
          Setup Pushgateway
          Week 11 05/11/2022 Send Waiting Connection Status to Prometheus
          Send HTTP Status to Prometheus
          Make the Program to Run Periodicaly (every 1 min)
          Commands
          • # read -p "what is your name:" name
          • # cat <<< "hi"
          • $ touch {a..c}{1..10}.txt
          • $ exec ? 2.txt
          • # netstat -an
          Week 12 05/18/2022 Send Notification to Line on Server Down
          Week 13 05/25/2022 List of Ansible Commands
          Week 14 06/01/2022 Install vsftpd to all client using playbook ansible
          Ansible Command
          • Check whether a user is exist
          • add new user
          • create group


          人工智能 Artificial Intelligence

          Full notes repository link : https://github.com/NubletZ/myNotes/tree/master/allNotes/AI-110

          or click the link listed below

          Weekly Notes Content
          Notes 1 Introduction to Artificial Intelligence (AI)
          Notes 2 Hill Climbing Algorithm
          Applied Hill Climbing to Linear Regression
          Notes 3 Problems in Hill Climbing
          1. Local maximum
          2. Plateau
          3. Ridge
          Notes 4 Depth First Search (DFS) Algorithm
          Notes 5 Relation between AI, Machine Learning, Neural Networks, and Deep Learning
          What is Neural Network?
          Notes 6 Neural Network
          Key Components of Neural Network
          The Importance of Using Activation Function
          Most Commonly Used Activation Functions
          1. Step Function
          2. Sigmoid Function
          3. ReLU Function
          Implementation of Neural Network
          Notes 7 Introduction to Recurrent Neural Networks (RNN)
          How RNN Work
          Notes 8 Do you know AlphaCode?
          Overview of AlphaCode

          About

          My class notes, hope this would be useful for others too :)

          Resources

          Stars

          Watchers

          Forks

          Releases

          No releases published

          Packages

          No packages published