ابزار کاربر

ابزار سایت


courses:linux:drafts:002

002

# Linux course syllabus

---

## Beginner / Session 02

### Getting Help

    * man, info
    * whereis, apropos, man -k
    * whatis, makewhatis
    * /usr/share/doc

### Disks, Partitions and Filesystems

    * mount / umount / eject , (cdrom, usb) , fstab
    * hdparam
    * df -hT
    * fdisk / gdisk
    * LVM / RAID
    * du -hscS
    * ncdu / gdu
    * dd / Duplicating Disks

### Bash Shell

    * history
    * xargs
    * Shell Variables (PATH, TMOUT)
    * piping / tee
    * screen
    * tmux
    * TMOUT
    * PS1

### Bash Scripting

    * echo
    * variables (local/global/environment)
    * redirection
    * pipe
    * math
    * read user input
    * return / exit
    * if then fi else elif (nesting/logical operators)
    * test command (grep -q)
    * case
    * for / while / until (nesting/logical/read databa files/read line)
    * parameters
    * shift
    * parsing options
    * mktemp
    * logger
    * signals
    * background job (run/control)
    * niceness
    * functions (return value/variables/parameters/run in commandline)
    * array
    * function recursion
    * library
    * menus
    * windows
    * sed / awk / gawk / grep / regex / extented regex / pcre
    * manipulating text
    * cut
    * tr

### sed

### gawk

### regex / pcre


### Monitoring

    * vmstat / iostat / iotop

### Internet

    * wget / curl

### Networking

    * ip command reference: http://linux-ip.net/gl/ip-cref/
    * ip route command reference by example: https://yurisk.info/2016/12/19/linux-ip-route-command-reference-by-example/
    * ping / traceroute / ttl / mtr / fping
    * mii-tool / ethtool / watch
    * IP Forwarding (temporary, permanent)
    * Bonding / etherchannel / Portchannel / LACP
    * Source NAT
    * Static Routing (temporary, permanent)
    * netstat -nlp -tunapo

### User Management

   * useradd -m -s / adduser
   * userdel -r / usermod
   * groupadd / groupmod / groupdel
   * vigr / vipw
   * chage / chgrp / chsh
   * id -u -g
   * whoami / w / last
   * su / sudo / sudoers / visudo
   * /etc/shadow  /etc/group

### FHS / Filesystem Hierarchy Standard

  * https://refspecs.linuxfoundation.org/fhs.shtml
  * https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf
  * https://www.debian.org/doc/packaging-manuals/fhs/
  * https://www.pathname.com/fhs/ (OLD)

### Kernel

### Service management

  * bsd style
  * sysv init
  * systemd

### Servers and Clients

   * DHCP Server (range, fixed-address)
   * DNS Server - Caching Recursive, stub resolver: bind, unbound, DJBdns(dnscache,tinydns)
   * dnscap, dnscrypt, dnstop
   * Web server
   * FTP server
   * NFS
   * Samba server / Print server

### Other Linux Package Management

   * yum
   * pkgtool, slackpkg, slapt, sbopkg,
   * Source code compile
   * epkg / encap

#### SSH

  * SSH Server
  * ssh client, putty / scp/ winscp
  * rsync
  * tunnel
  * sshfs

### Security


### Cloud

  * Container
  * Ansible
  * Kubernetis

### Cluster

<li>NFS: Network Filesystem</li>
<li>Open-iSCSI</li>
<li>RFC/BCP: rfc1818</li>
<li>PPPOE Client / Dialup </li>
<li>jdate,jcal </li>
<li>epkg / encap </li>
<li>ipcalc</li>
<li>Cache Server: squid (transparent)</li>
<li>logrotate / syslog / rsyslog / syslog-ng </li>
<li>Firewall: Stateless, Statefull </li>
<li>Filesystem Hierarchy Standard : https://refspecs.linuxfoundation.org/fhs.shtml  /proc /sys </li>

<ul>
	<li>echo </li>
	<li>sort / uniq </li>
	<li>basename / dirname </li>
	<li>expand </li>
	<li>paste </li>
	<li>tr </li>
	<li>sleep </li>
	<li>wc -l </li>
	<li>trap </li>
	<li>cut </li>
	<li>bc </li>
	<li>dialog </li>
	<li>expect </li>
</ul>
<li>regex / pcre / egrep </li>
<li>sed: stream editor </li>
<li>awk </li>
<li>Web Server: apache, php, lighttpd/ nginx, php-fpm</li>
<li>Apache: htaccess, htpasswd / Nginx</li>
<li>openssl / https</li>
<li>Database Server: mysql, postgres ,redis </li>
<li>phpmyadmin</li>
<li>wordpress / drupal / joomla</li>
<li>MS-SQL: FreeTDS / UnixODBC </li>
<li>SNMP Server: net-snmp</li>
<li>Scheduling: crontab / atd / anacron </li>
<li>smokeping</li>
<li>ntpdate / ntpd / chronyd / hwclock </li>
<li>Bandwidthd</li>
<li>Zabbix</li>
<li>Cacti</li>
<li>Nagios</li>
<li>collectd</li>
<li>git</li>
<li>minicom</li>
<li>Traffic Control: tc, htb, iptables, lartc.org</li>
<li>Policy Routing: ip rule, ip route, iptables </li>
<li>Bridge: brctrl</li>
<li>Proxy ARP</li>
<li>DNS Server - Authoritative, forward-only, master/slave : bind</li>
<li>Dynamic DNS: ISC DHCP, BIND</li>
<li>dnsmasq</li>
<li>Squid: tproxy, wccp</li>
<li>Super Server / inetd / xinetd</li>
<li>telnet Server</li>
<li>tftp Server</li>
<li>ftp server: pureftpd, proftpd </li>
<li>ftp client: ncftp, lftp</li>
<li>Socks Server: dante</li>
<li>Quagga: OSPF / BGP / RIP / IS-IS </li>
<li>vrrp / keepalived</li>
<li>Configuration management: Chef, Puppet, Ansible, SaltStack ,CFEngine</li>
<li>data-serialization formats: YAML, XML, JSON</li>
<li>Kernel Upgrade</li>
<li>Lilo / Grub / Syslinux</li>
<li>init / systemd / run level / sysV </li>
<li>ACL / getfacl / setfacl / chattr </li>
<li>Network Scanning: nmap</li>
<li>webmin</li>
<li>mc / ranger</li>
<li>VLAN management: vconfig</li>
<li>Bridge: ebtables, arptables, arp, arping</li>
<li>Network Access Server: Radius Server (freeradius), VPN Server(poptop / pptpd), PPPOE Server</li>
<li>OpenVPN/ vtund / l2tp/ ipsec / iptunnel </li>
<li>Dark Web: Tor / Tor-Browser / Tails</li>
<li>cryptocurrency : Blockchain/mining/ wallet/ Bitcoin, Ethereum</li>
<li>Samba / openldap / kerberos / SMB,CIFS / NIS</li>
<li>lxc / docker / kvm / libvirt / xen / qemu </li>
<li>HAProxy: TCP/HTTP Load Balancer </li>
<li>varnish</li>
<li>Kubernetes: automating deployment, scaling, and management of containerized applications </li>
<li>Perl / CGI </li>
<li>Python / Django </li>
<li>Ruby / Rails </li>
<li>IPv6 / HTTP/2 / QUIC </li>
<li>Infrastructure as code (IaC): terraform </li>
<li>Prometheus</li>
<li>Grafana / Graphite </li>
<li>ELK: Elasticsearch, Logstash, and Kibana</li>
<li>Databases: Neo4j Cassandra FluidDB MongoDB OrientDB cloudant
(couchdb) Couchbase RethinkDB ArangoDB MarkLogic ClickHouse InfluxDB
Druid Snowflake Redshift BigQuery </li>
<li>Kafka: Distributed Streaming Platform</li>
<li>Hadoop: distributed processing</li>
<li>Digital Radio: icecast2 / ices </li>
<li>Firewalls: iptables / ipset / recent / port-knocking / firewalld, ufw, nftables</li>
<li>Fluentd: data collector</li>
<li>Node.js: back-end JavaScript runtime environment</li>
<li>Load Balancer: Seesaw, LoadMaster, ZEVENET, balance (https://balance.inlab.net/), pen (https://github.com/UlricE/pen)</li>
<li>DNS high-availability : PowerDNS dnsdist, OpenBSD relayd </li>
<li>DRBD: Distributed Replicated Block Device</li>
<li>VNC: tightvnc, x11vnc</li>
<li>SELinux</li>
</ul>
</body></html>

----

## Intermediate
-- Multiple Softwares
all beginner topics in depth
jump into other distros
client X Window
dpkg-reconfigure tzdata
dash / zsh / tcsh / korn shell
version control / git
Desktop
multimedia

stat
shred

DNS / Unbound / knot
<li>Mail Server: Qmail / vpopmail / mysql / dovecot / roundcube / postfix / iredmail / daemontools </li>
remote syslog
<li>Network Sniffing: tcpdump / ngrep / tcpick </li>
<li>MRTG / iptraf / nload / iftop </li>
  Update / Upgrade OS
https://tldp.org/LDP/GNU-Linux-Tools-Summary/html/index.html
<li>Bash Scripting (variables, for, case, if, functions) https://www.gnu.org/software/bash/manual/html_node/index.html </li>
<li>Bash Startup Files : https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html</li>
pwgen

----

## Advanced

<li>LVS: Linux Virtual Server Cluster / Piranha Configuration Tool </li>

<li>PHP: CakePHP, Lerevel, CodeIgniter, yii, Zend Framework</li>
Knot / Slpit Domain
scrpting / source reading
security / rootkit
Mariadb / Galera / Maxscale

----

## Expert

LFS
Programming
Python
C


----
courses/linux/drafts/002.txt · آخرین ویرایش: 2023/07/26 11:25 توسط 127.0.0.1

به جز مواردی که ذکر می‌شود، مابقی محتویات ویکی تحت مجوز زیر می‌باشند: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki