This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| computing:sysadmin [2018/05/18 08:06] – created oemb1905 | computing:sysadmin [2019/08/08 17:51] (current) – removed oemb1905 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ------------------------------------------- | ||
| - | * **sysadmintt** | ||
| - | * **Jonathan Haack** | ||
| - | * **Haack' | ||
| - | * **netcmnd@jonathanhaack.com** | ||
| - | ------------------------------------------- | ||
| - | |||
| - | //Welcome to my gnulinux wiki page. Tis page has simple and complex system administrationnotes to remind me when I forget something that I already learned! | ||
| - | |||
| - | |||
| - | ------------------------------------------- | ||
| - | #**optical media ripping from command line** | ||
| - | ------------------------------------------- | ||
| - | |||
| - | cdrecord -pad -dao -data blag-140k-i686.iso | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ------------------------------------------- | ||
| - | #**security & policy information** | ||
| - | ------------------------------------------- | ||
| - | |||
| - | sudo nano / | ||
| - | |||
| - | Prevent Log in - create file | ||
| - | |||
| - | / | ||
| - | |||
| - | |||
| - | ------------------------------------------- | ||
| - | # | ||
| - | ------------------------------------------- | ||
| - | |||
| - | start or stop network manager (or other services) | ||
| - | | ||
| - | systemctl < | ||
| - | / | ||
| - | | ||
| - | verify dhcp client working for interface eno1 | ||
| - | | ||
| - | dhclient -v eno1 | ||
| - | | ||
| - | add subnet to interface eno1 | ||
| - | | ||
| - | ip address add 192.1## | ||
| - | | ||
| - | interface tool w/ eno1 example | ||
| - | | ||
| - | ethtool eno1 | ||
| - | |||
| - | interface with switch using screen | ||
| - | | ||
| - | screen / | ||
| - | |||
| - | calculate subnet automatically | ||
| - | | ||
| - | subnetcalc | ||
| - | | ||
| - | proxying web traffic through remote server | ||
| - | | ||
| - | ssh -D < | ||
| - | | ||
| - | get block ID of drives | ||
| - | | ||
| - | blkid | ||
| - | |||
| - | nmap to scan devices on lan | ||
| - | | ||
| - | nmap -sP 10.## | ||
| - | |||
| - | find utils example | ||
| - | |||
| - | find . -iname " | ||
| - | |||
| - | |||
| - | ------------------------------------------- | ||
| - | #**scripts and miscellaneous** | ||
| - | ------------------------------------------- | ||
| - | |||
| - | downloading scripts and executing them; example from DO | ||
| - | |||
| - | curl -sSL https:// | ||
| - | |||
| - | ngrok notes; private http(s) tunnels | ||
| - | |||
| - | ./ngrok http 80 | ||
| - | wget https:// | ||
| - | cat ~/ | ||
| - | |||
| - | query hosts on the lan | ||
| - | |||
| - | avahi-browse -tl _workstation._tcp | ||
| - | |||
| - | Debian print system configuration to stdout; use root | ||
| - | |||
| - | cat / | ||
| - | lsb_release -a | ||
| - | lspci | ||
| - | |||
| - | Debian repo management | ||
| - | |||
| - | cd /etc/apt | ||
| - | nano sources.lsit | ||
| - | [main contrib non-free] | ||
| - | | ||
| - | Uploading files to remote webservers with sftp | ||
| - | |||
| - | cd ~/Downloads | ||
| - | sftp user@host.com:/ | ||
| - | > put / | ||
| - | | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ------------------------------------------- | ||
| - | #**Building From Source to Custom library Location** | ||
| - | ------------------------------------------- | ||
| - | |||
| - | tar -xf < | ||
| - | |||
| - | Navigate to the directory that tar unarchived the files to. Then, within that directory, execute: | ||
| - | |||
| - | ./configure --prefix=/ | ||
| - | | ||
| - | make | ||
| - | sudo make install clean | ||
| - | |||
| - | |||
| - | |||
| - | ------------------------------------------- | ||
| - | #**next topic** | ||
| - | ------------------------------------------- | ||
| - | |||
| - | |||
| - | |||
| - | --- // | ||