(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
[Console]::Beep(130, 100) | |
[Console]::Beep(262, 100) | |
[Console]::Beep(330, 100) | |
[Console]::Beep(392, 100) | |
[Console]::Beep(523, 100) | |
[Console]::Beep(660, 100) | |
[Console]::Beep(784, 300) | |
[Console]::Beep(660, 300) | |
[Console]::Beep(146, 100) | |
[Console]::Beep(262, 100) |
#Dig HowTo [https://www.madboa.com/geek/dig/] | |
# get the address(es) for yahoo.com | |
dig yahoo.com A +noall +answer | |
# get a list of yahoo's mail servers | |
dig yahoo.com MX +noall +answer | |
# get a list of DNS servers authoritative for yahoo.com | |
dig yahoo.com NS +noall +answer |
For more up to date information, see https://dan.langille.org/2023/08/16/configuration-of-net-mgmt-net-snmpd-on-freebsd/ | |
Do this on the snmpd client: | |
service snmpd stop | |
net-snmp-config --create-snmpv3-user -ro -A 'AuthPass' -X 'PrivPass' -a SHA -x AES MyRoGroup | |
chmod go-rwx /var/net-snmp/snmpd.conf /usr/local/share/snmp/snmpd.conf | |
verify MyRoGroup is in /usr/local/share/snmp/snmpd.conf |
wget -nc http://ftp.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux | |
wget -nc http://ftp.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz | |
cp -nv ~/.ssh/id_rsa.pub . | |
qemu-system-x86_64 -machine accel=kvm -kernel linux -initrd initrd.gz -m 1G -smp 2 -append "blacklist=vga16fb fb=false video=false vga=normal auto=true url=http://10.0.2.10:8080/debian-preseed.txt hostname=otto domain=" -net user,guestfwd=:10.0.2.10:8080-cmd:"/bin/busybox httpd -i" -hda /dev/shm/deb.img -net nic -display none |
The list of actions listed below was taken mostly from Book Of Zeus with minor modifications and did the job well for Ubuntu version, which was available at that moment (May 2016). This gist was created for internal use and was never meant to be discovered by the web, although Google managed to find and index this page, which was a great surprise for me. Please check the original source for the updated information (links are provided in most of the sections), and read the comments below: they provide more details about the usage experience.
http://bookofzeus.com/harden-ubuntu/initial-setup/system-updates/
Keeping the system updated is vital before starting anything on your system. This will prevent people to use known vulnerabilities to enter in your system.