Difference between revisions of "How to Guides"

From HyperSecurity Wiki
Jump to: navigation, search
(Local Wiki How To Guides:)
 
(156 intermediate revisions by 8 users not shown)
Line 22: Line 22:
 
*[[Cable Modem Info]]
 
*[[Cable Modem Info]]
 
*[[Create Bootable SDCARD/USB]]
 
*[[Create Bootable SDCARD/USB]]
 +
*[[How to install and setup OpenVPN]]
 +
*[[How to fix GRUB initramdisk]]
 +
*[[How to use Airodump-ng]]
 +
*[[How to fix VMPlayer Fedora 23]]
 +
*[[How to build QEMU U-boot Emulator]]
 +
*[[How to network boot MitySOM/ARM]]
 +
*[[How to create SSL CA Cert Server]]
 +
*[[How to create ramdisk file]]
 +
*[[Networkmanger]]
 +
*[[How to enable logging in screen session]]
 +
*[[CPU Cycles]]
 +
*[[How to mount img file]]
 +
*[[DKIM How To]]
 +
*[[Opendmarc]]
 +
*[[Certbot]]
 +
*[[How to mount img files automatically]]
 +
*[[How to create and modify ramdisk img]]
 +
*[[QT5 Installation & Paths]]
 +
*[[Export gcc/gcc++]]
 +
*[[How to compile Qt]]
 +
*[[How to compile cmake]]
 +
*[[How to install gcc-7 Debian]]
 +
*[[Software RAID GRUB Fix]]
 +
*[[Add new systemd service]]
 +
*[[Prevent Linux Overheating]]
 +
*[[opendmarc setup]]
 +
 +
== Development How To Guides ==
 +
 +
* How to modify install PATH --> http://stackoverflow.com/questions/13480846/how-to-modify-the-install-path-without-running-the-configure-script-cmake-again
 +
* How to configure Kernel --> http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/
 +
* AWK Examples --> http://cs.canisius.edu/ONLINESTUFF/PL_TUTORIALS/AWK/awk.examples
 +
* How to catch user input bash --> http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_08_02.html
 +
* How to install Microsoft Visual Basic on Linux --> http://www.cyberciti.biz/faq/debian-ubuntu-fedora-linux-installing-visual-studio-code/
 +
* Array variables --> http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_10_02.html
 +
* Advanced Shell scripting --> http://www.tldp.org/LDP/abs/html/
 +
* Bash Scripting --> https://bluepenguinlist.com/2016/11/04/bash-scripting-tutorial/?fromTwitterID=nixCraft
 +
 +
== Media Wiki ==
 +
* How to change passwords via commandline --> https://www.mediawiki.org/wiki/Manual:ChangePassword.php
  
 
== General Linux Online How To Guides:==
 
== General Linux Online How To Guides:==
Line 81: Line 121:
 
* Buildroot Guide --> http://www.buildroot.org/downloads/manual/manual.html#_buildroot_quick_start
 
* Buildroot Guide --> http://www.buildroot.org/downloads/manual/manual.html#_buildroot_quick_start
 
* How to use a cross-compiler --> https://www.lrde.epita.fr/~adl/dl/autotools.pdf
 
* How to use a cross-compiler --> https://www.lrde.epita.fr/~adl/dl/autotools.pdf
* How to use Nvidia Limelight on Raspberry Pi 2 --> http://embedded-software-architecture.com/?page_id=140
 
 
* GCC PATH How To --> http://www.linuxtopia.org/online_books/an_introduction_to_gcc/gccintro_23.html
 
* GCC PATH How To --> http://www.linuxtopia.org/online_books/an_introduction_to_gcc/gccintro_23.html
 
* TCP Network Stack Mem Increase --> http://www.cyberciti.biz/faq/linux-tcp-tuning/
 
* TCP Network Stack Mem Increase --> http://www.cyberciti.biz/faq/linux-tcp-tuning/
Line 90: Line 129:
 
* How to enable EFI on vmware player --> https://community.landesk.com/support/docs/DOC-27736
 
* How to enable EFI on vmware player --> https://community.landesk.com/support/docs/DOC-27736
 
* How to apply patch files --> http://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/
 
* How to apply patch files --> http://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/
* How to make SteamBox Raspberry Pi 2 --> https://www.raspberrypi.org/blog/stream-pc-games-to-your-tv/
+
* How to mount img file --> http://unix.stackexchange.com/questions/82314/how-to-find-the-type-of-img-file-and-mount-it
 +
* sfdisk how to or clone partions --> http://sexysexypenguins.com/2007/03/16/sfdisk-my-new-saving-grace/
 +
* IRQ Guide --> http://www.thegeekstuff.com/2014/01/linux-interrupts/
 +
* How to use kill to see dd progress report --> https://www.spheron1.uk/2010/11/09/using-kill-to-display-dd-progress/
 +
* How to build synergy --> https://github.com/synergy/synergy/wiki/Compiling
 +
* How to understand TOP --> http://linuxaria.com/howto/understanding-the-top-command-on-linux
 +
* How to install custom distro (busybox) to HDD --> https://revcode.wordpress.com/2012/02/25/booting-a-minimal-busybox-based-linux-distro/
 +
* How to setup and configure puppet --> https://www.digitalocean.com/community/tutorials/how-to-install-puppet-to-manage-your-server-infrastructure
 +
* Whiptail examples --> https://en.wikibooks.org/wiki/Bash_Shell_Scripting/Whiptail
 +
* How to build Xorg from scratch --> http://www.x.org/wiki/Development/BuildingX/
 +
* How to prevent a fork bomb --> http://www.cyberciti.biz/tips/linux-limiting-user-process.html
 +
* 25 useful iptables commands --> http://crm.vpscheap.net/knowledgebase.php?action=displayarticle&id=29
 +
* Aircrack how too --> http://www.aircrack-ng.org/doku.php?id=newbie_guide
 +
* Netcat examples --> http://xmodulo.com/useful-netcat-examples-linux.html
 +
* Regular Expressions with grep --> http://www.cyberciti.biz/faq/grep-regular-expressions/
 +
* Creating self-signed ssl certs --> http://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/
 +
* How to generate shadow password hash --> http://unix.stackexchange.com/questions/81240/manually-generate-password-for-etc-shadow
 +
* How to setup Apache2 disk cache --> https://www.howtoforge.com/caching-with-apache-mod_cache-on-debian-etch
 +
* FFMPEG TS-MPEG UDP --> http://streambuilder.pro/docs/how-tos/working-with-udp-multicast-mpeg-ts-streams-on-linux/
 +
* iptables mutlicasting --> http://bsdrp.net/documentation/examples/multicast_with_pim-sm
 +
* Troubleshooting Cheat Sheet --> https://sysdig.com/blog/linux-troubleshooting-cheatsheet/
 +
* 80 Linux Monitoring Tools --> https://blog.serverdensity.com/80-linux-monitoring-tools-know/
 +
* How to hide a PID --> http://www.cyberciti.biz/faq/linux-hide-processes-from-other-users/
 +
* How to modify cinnamon --> https://wiki.archlinux.org/index.php/Nemo
 +
* How to Build a GCC Cross-Compiler --> http://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/
 +
* Free SSL Certs Debian --> http://www.cyberciti.biz/faq/how-to-configure-nginx-with-free-lets-encrypt-ssl-certificate-on-debian-or-ubuntu-linux/
 +
* Journalctl Logs --> https://ask.fedoraproject.org/en/question/9299/sticky-how-do-i-view-logs-on-fedora/
 +
* How to view CPU info --> http://www.cyberciti.biz/faq/linux-get-number-of-cpus-core-command/
 +
* KVM Error Guide --> http://vfio.blogspot.ca/2014/08/vfiovga-faq.html
 +
* How to build custom Linux distro --> https://agentoss.wordpress.com/2011/03/06/building-a-tiny-x-org-linux-system-using-buildroot/
 +
* Hiding Linux processes --> https://sysdig.com/blog/hiding-linux-processes-for-fun-and-profit/
 +
* Nvidia Driver Install --> https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/
 +
* How to make, format and mount img files --> http://ubuntuhak.blogspot.ca/2012/10/how-to-create-format-and-mount-img-files.html
 +
* How to mount img file with different partitions individually --> https://askubuntu.com/questions/69363/mount-single-partition-from-image-of-entire-disk-device
 +
* How to convert ova virtualbox format to KVM --> http://edoceo.com/notabene/ova-to-vmdk-to-qcow2
 +
* How to add driver to linux source tree --> https://stackoverflow.com/questions/11710022/adding-new-driver-code-to-linux-source-code
 +
* How to automate mouse movements and clicks in GUI --> http://tuxradar.com/content/xdotool-script-your-mouse
 +
* How to record mouse GUI events and play back --> http://mikethecoder.tumblr.com/post/8439124865/xmacro-on-ubuntu
 +
* KVM PCI passthrough --> https://davidyat.es/2016/09/08/gpu-passthrough/
 +
* Postfix address verification --> https://www.endpoint.com/blog/2015/05/28/postfix-address-verification
 +
* How to clean out postfix mail queue --> https://www.wirehive.com/thoughts/5-top-tips-reviewing-postfix-mail-queue/
 +
* How to use journalctl --> https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs
 +
* Multi-seat Linux --> https://linuxgazette.net/124/smith.html
 +
* How to setup RainLoop --> https://linoxide.com/ubuntu-how-to/install-rainloop-webmail-ubuntu-16-04/
 +
* How to fix  sa-update-key --> http://krischan.eu/index.php/2014/04/21/spamassassin-bug-gpg-validation-failed/
 +
* How to move a running process into a screen session --> https://www.linkedin.com/pulse/move-running-process-screen-bruce-werdschinski
 +
* How to shrink img files for dd --> https://softwarebakery.com/shrinking-images-on-linux
 +
* How to format SD card to original size --> https://www.pcworld.com/article/3176712/linux/how-to-format-an-sd-card-in-linux.html
 +
* How to manage LVM --> https://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/
 +
* Pulseaudio Network Streaming --> https://soledadpenades.com/articles/ubuntu/sending-local-audio-to-another-computer-with-pulseaudio/
 +
* Configure Pulseaudio via commandline --> https://www.whatsdoom.com/posts/2015/12/01/configure-pulseaudio-output-via-command-line/
 +
* How to resize a img file --> https://softwarebakery.com/shrinking-images-on-linux
 +
* How to create swap file --> https://support.rackspace.com/how-to/create-a-linux-swap-file/
 +
* How to test SD cards are fake or real --> https://superuser.com/questions/631633/how-to-tell-if-you-have-a-fake-sd-card
 +
* How to convert vmdk to any image format --> https://docs.openstack.org/image-guide/convert-images.html
 +
* How to verify grub is on both MBR software RAID --> https://serverfault.com/questions/612529/linux-raid-1-how-to-make-a-secondary-hd-boot
 +
* How to disable Ubuntu MOTD --> https://devtidbits.com/2015/11/30/add-to-and-change-ubuntus-motd/
 +
* Nmap cheat sheet --> https://hackertarget.com/nmap-cheatsheet-a-quick-reference-guide/
 +
* How to put running processes into screen session --> https://www.linkedin.com/pulse/move-running-process-screen-bruce-werdschinski
 +
* How to jail or chroot SSH --> https://www.tecmint.com/restrict-ssh-user-to-directory-using-chrooted-jail/
 +
* No interactive shell login --> https://blog.flowl.info/2011/ssh-tunnel-group-only-and-no-shell-please/
 +
* Resize KVM img files --> https://maunium.net/blog/resizing-qcow2-images/
 +
* How to setup BIND9 reverse DNS --> https://help.ubuntu.com/community/BIND9ServerHowto
 +
* ssh-agent --> https://kb.iu.edu/d/aeww
  
 
== Redhat/CentOS/Fedora Online How To Guides:==
 
== Redhat/CentOS/Fedora Online How To Guides:==
Line 105: Line 207:
 
* How to setup VNC Server Fedora 21 using systemV --> systemctl start vncserver@:10.service
 
* How to setup VNC Server Fedora 21 using systemV --> systemctl start vncserver@:10.service
 
* How to setup vnstat with apache --> http://www.cyberciti.biz/faq/centos-redhat-fedora-linux-vnstat-php-webinterface-frontend-config/
 
* How to setup vnstat with apache --> http://www.cyberciti.biz/faq/centos-redhat-fedora-linux-vnstat-php-webinterface-frontend-config/
 +
* How to use firewallD --> https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7
 +
* How to use systemd --> http://www.certdepot.net/rhel7-get-started-systemd/
 +
* How to setup and configure wireless CentOS 7 command line --> http://www.blackmoreops.com/2014/09/18/connect-to-wifi-network-from-command-line-in-linux/
 +
* How to create and sign SSL Certs --> http://www.cyberciti.biz/faq/rhel-apache-httpd-mod-ssl-tutorial/
 +
* How to create KVM PCI passthough --> http://www.firewing1.com/howtos/fedora-20/create-gaming-virtual-machine-using-vfio-pci-passthrough-kvm
 +
* How to upgrade Fedora 23 to 24 --> https://fedoramagazine.org/upgrading-fedora-23-workstation-to-fedora-24/
 +
* How to setup KVM Fedora --> https://www.howtoforge.com/virtualization-with-kvm-on-a-fedora-17-server
 +
* How to playback Blu-Ray with VLC --> http://negativo17.org/bluray-playback-and-ripping-on-fedora-aacs-bd-bd-j/
  
 
== Debian/Ubuntu Online How To Guides:==
 
== Debian/Ubuntu Online How To Guides:==
Line 131: Line 241:
 
* How to configure vnstat and run as daemon --> http://www.thegeekstuff.com/2011/11/vnstat-network-traffic-monitor/
 
* How to configure vnstat and run as daemon --> http://www.thegeekstuff.com/2011/11/vnstat-network-traffic-monitor/
 
* How to setup and configure fail2ban Debian --> http://www.pontikis.net/blog/fail2ban-install-config-debian-wheezy
 
* How to setup and configure fail2ban Debian --> http://www.pontikis.net/blog/fail2ban-install-config-debian-wheezy
 +
* How to install Debian on Allwinner ARM --> https://wiki.debian.org/InstallingDebianOn/Allwinner
 +
* How to setup and install Ganglia --> http://www.unixmen.com/install-ganglia-monitoring-system-ubuntu-13-10-debian-7/
 +
* How to setup SNMP --> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-an-snmp-daemon-and-client-on-ubuntu-14-04
 +
* How to remove packages using dpkg --> http://www.thegeekstuff.com/2010/06/install-remove-deb-package/
 +
* Debian networking guide --> https://www.debian.org/doc/manuals/debian-reference/ch05.en.html
 +
* Page caching --> https://www.howtoforge.com/caching-with-apache-mod_cache-on-debian-etch
 +
* How to setup and configure shorewall --> https://wiki.debian.org/HowTo/shorewall
 +
* How to setup Ubuntu MOTD --> https://www.howtogeek.com/104708/how-to-customize-ubuntus-message-of-the-day/
 +
* How to setup Postfix on Ubuntu --> http://www.krizna.com/ubuntu/setup-mail-server-ubuntu-14-04/
 +
* How to setup Bind9 on Ubuntu --> https://www.ostechnix.com/install-and-configure-dns-server-ubuntu-16-04-lts/
 +
* How to setup Spamassassin on Debian --> https://vorkbaard.nl/installing-a-mailserver-on-debian-8-part-6-spamfiltering-spamassassin/
 +
* How to setup opendkim on Debian --> https://terminal28.com/how-to-install-and-configure-opendkim-postfix-dns-debian-9-stretch/
 +
* How to setup opendkim proper. Above link has issues --> https://wiki.debian.org/opendkim
 +
* How to rc.local to Debian 9 --> https://www.itechlounge.net/2017/10/linux-how-to-add-rc-local-in-debian-9/
 +
* How to setup KVM on Debian 9 --> https://www.cyberciti.biz/faq/install-kvm-server-debian-linux-9-headless-server/
 +
* How to install Adobe Reader Debian --> https://wiki.debian.org/PDF
 +
* How to update Ubuntu 16/17 to 18 --> https://www.linuxbabe.com/ubuntu/upgrade-ubuntu-16-10-17-04-to-ubuntu-18-04
 +
* How to rollback from update --> https://unix.stackexchange.com/questions/117122/how-to-get-back-from-testing-to-stable-kernel-downgrade
 +
* How to enable System V to start up on boot --> https://docs.bitnami.com/installer/faq/linux-faq/administration/autostart-linux/
 +
* Ubuntu upstart cheat sheet --> https://www.jamescoyle.net/cheat-sheets/791-update-rc-d-cheat-sheet
 +
* How to connect Ubuntu to Active Directory --> http://koo.fi/blog/2015/06/16/ubuntu-14-04-active-directory-authentication/
 +
* How to upgrade Debian rolling --> http://yab.x10.mx/archives/47
 +
* How to upgrade Debian 7 (wheezy) to 10 (buster) safely --> https://www.prado.lt/how-to-upgrade-debian-7-wheezy-to-10-buster-safely
 +
* How to setup Opendmarc Debian 10 with correct permissions --> https://unix.stackexchange.com/questions/74477/postfix-smtpd-warning-connect-to-milter-service-unix-var-run-opendkim-opendki
 +
 +
== Slackware ==
 +
 +
* How to use the Slackware package manager --> http://www.slackbook.org/html/package-management-package-utilities.html
 +
 +
== Raspberry Pi ==
 +
* How to use Nvidia Limelight on Raspberry Pi 2 --> http://embedded-software-architecture.com/?page_id=140
 +
* How to make SteamBox Raspberry Pi 2 --> https://www.raspberrypi.org/blog/stream-pc-games-to-your-tv/
 +
* How to setup a Linux Access Point --> http://www.cyberciti.biz/faq/debian-ubuntu-linux-setting-wireless-access-point/
 +
* How to setup Raspberry Pi 3 Access Point --> https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/
 +
* How to setup Raspberry Pi Access Point Web GUI --> https://github.com/billz/raspap-webgui
 +
* How to setup and password protect Raspberry Pi lighthttpd --> http://jacobsalmela.com/password-protect-a-lighttpd-web-server-on-a-raspberry-pi-using-mod-auth/
 +
* How to emulate Raspberry Pi on PC --> http://hackaday.com/2016/05/20/need-a-raspberry-pi-right-now-maybe-you-have-one-needs-art/
 +
 +
== Windows ==
 +
* How to setup CoLinux natively in Windows --> http://colinux.wikia.com/wiki/Getting_Started_with_coLinux
 +
* How to setup NFS on Windows --> https://mapr.com/docs/51/DevelopmentGuide/c-mounting-nfs-on-a-windows-client.html
 +
* How to setup sshfs on Windows --> https://codeyarns.com/2018/05/03/how-to-mount-remote-directory-on-windows-using-sshfs-win/
 +
* How to fix Windows MBR --> https://neosmart.net/wiki/fix-mbr/
 +
 +
== DOS Box ==
 +
* How to mount ISO file in DOS box --> https://www.dosbox.com/wiki/IMGMOUNT
 +
 +
== Networking ==
 +
*Identifying DDOS attacks --> https://gist.github.com/bom-d-van/6627b721cbad08eb27a01048716a941b
 +
 +
== Scripting ==
 +
*Creating array's in BASH --> https://www.freecodecamp.org/news/bash-array-how-to-declare-an-array-of-strings-in-a-bash-script/
 +
 +
== Reverse Engineering ==
 +
*Using Binwalk to reverse engineer fimrware  --> https://embeddedbits.org/reverse-engineering-router-firmware-with-binwalk/
 +
 +
== How to setup reverse tunnel proxy ==
 +
*https://linuxize.com/post/how-to-setup-ssh-socks-tunnel-for-private-browsing/

Latest revision as of 13:32, 8 September 2022

Local Wiki How To Guides:

Development How To Guides

Media Wiki

General Linux Online How To Guides:

Redhat/CentOS/Fedora Online How To Guides:

Debian/Ubuntu Online How To Guides:

Slackware

Raspberry Pi

Windows

DOS Box

Networking

Scripting

Reverse Engineering

How to setup reverse tunnel proxy