Advanced Search
Search Results
99 total results found
Linux
Linux
Cisco ASA Cli
Static NAT (SNAT) object network obj-192.168.1.100 host 192.168.1.100 nat (inside,outside) static 192.166.1.101 dns PAT Allow outside connections targeting TCP port 80 to redirect to internal port 8080. object network obj-192.166.1.101-srv_8080 host 1...
Networking
Networking
Raid
Software Raid
Create raid: Raid levels can be changed with: --level=1 // --level=0 // --level=5 Raid 1 mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdX /dev/sdX Raid 5 mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sdX /dev/sdX /...
OpenStack
OpenStack
MegaCli
Check raid card: lspci | grep -i raid Ubuntu/Debian: apt-get install alien # Convert to .deb alien -k --scripts filename.rpm # Install .deb dpkg -i filename.deb CentOS/Other: https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-contr...
Windows
Windows
Firewall
Windows Server 2012 booting in recovery (GPT/UEFI FIX)
If OS keeps booting in recovery, this is how you can fix it: Open the CMD in the windows live cd and start diskpart and list the disks that are available: diskpart list disk Select the disk for the OS sel disk 0 List the volumes inside that disk: list...
Other
Random commands & scripts & other stuff
cPanel
Fail2Ban
What is Fail2Ban: Fail2Ban is an intrusion prevention tool to prevent brute-force attacks or heavy requests that are repetitive and insecure. Once you create a jail and create a filter for that jail, fail2ban will analyze the regex used in the filter to sc...
MySQL
Notes for MySQL
Arch install notes (uEFI & Nvidia)
Before starting the bootable media, if you are on a GTX 10XX, the interface will not load properly, to fix this in the arch iso boot menu, click on the "e" key and add "nouveau.modeset=0" at the end of grub cfdisk /dev/sda Create 3 partitions as listed below...
Xen
Cheatsheet & quick tips
Hyper-V
Grub
Normal grub install (root@server) # grub GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible ...