====== Howto's ====== Here are my howto's. Giv'em a shot and tell me what you think [[domingo@domingo.dk|Thomas]] ===== Mail ===== [[howtos:mailserver|Mail Server - Suse 9.3]] - Building a mailserver with Courier, MySQL and Postfixadmin [[howtos:dshield_postfix_map_script|Postfix Dshield map script]] - Dshield IP list as Postfix block map [[howtos:url_spam_block_postfix|Postfix URL Spam block script]] - Block mails containing known spam URL's [[mailserverhardy|Mail Server - Ubuntu]] - Building a mailserver on Ubuntu Hardy Heron FIXME [[regex-stuff-mail|Regex Stuff]] - Regex stuff [[sasl-dovecot-postfix-ssl|Secure Imap with SASL]] - Get Secure Email Through IMAP [[Dspam ham-spam learning script]] [[Postfix-Dovecot-Sieve]] - Server-side filtering ===== PXE ===== [[Setup a simple PXE server for install or rescue]] ===== FTP server ===== [[howtos:pure-ftpd|Pure-FTPd and MySQL]] - Using Pure-FTPd with MySQL [[howtos:pure-ftpd-pureadmin|Pure-FTPd and PureAdmin]] - Using Pure-FTPd with PureAdmin [[ProFTPd]] - Setting up a ftp server with MySQL and TLS ===== Apache Web Server ===== [[Digest Authentication]] - Using digest for user authentication [[Log format including X-Forwarding-For]] - Log X-Forwarding-For information ===== Grub ===== [[howtos:grub_via_serial|Grub via serial]] - Get you boot options out on the serial interface [[howtos:reinstall_grub|Reinstall Grub]] - Get Grub back in place [[howtos:fix_grub|Fix grub]] - Get to boot again ===== Zenity Scripts ===== [[howtos:random_generator|Random Generator]] - Random Generator GUI based on Zenity [[howtos:firewall_script|Laptop firewall]] - Firewall for my laptop GUI based on Zenity [[howtos:mail_tester|Mail tester]] - Generate smtp mails for testing/performance [[imagedescription|Exiftool]] - Insert exif Image Description ===== VMware / Virtualbox ===== [[howtos:vmware_usb|VMware and USB]] - USB not working on Linux host (only valid prior VMware Workstation 6) [[VMware Tools on Hardy Heron]] [[Virtualbox and USB]] - Getting access to host usb devices [[VMware Sound on Hardy Heron]] [[How to press ctrl-alt-del in Intrepid Ibex]] [[Keyboard messed up i Intrepid Ibex]] [[Force into BIOS]] - Force VM session into BIOS on reboot [[Building floppy image for LSI driver]] [[VMware Tools on Maverick Meerkat]] [[VMware Tools on Precise Pandolin]] [[VMware Workstation 9 on Ubuntu 12.10]] [[VMware Workstation - Change Serial Number]] ===== Etc ===== [[howtos:apt-file|apt-file]] - Find missing packages [[howtos:bash-scripting|Bash Scripting]] - Bash test and comparison functions [[howtos:switching-monitor-ubuntu-feisty|Changing monitor output when using the proprietary ATI driver ]] - Fixing an annoying docking issue [[howtos:disk-UUID|blkid]] - Find the disk UUID [[howtos:move-swap|Move swap partition]] - Getting hibernation working after new/moved swap partition [[howtos:iftab|Interface names]] - (un)Binding logical interface names / changing interface names [[howtos:xorg.conf|My xorg.conf for Intel915 chipset and Samsung Syncmaster 959NF]] [[howtos:wget|Wget stuff]] [[howtos:rm_many_files|Delete many files]] - Getting the error "bash: /bin/rm: Argument list too long" [[TrueCrypt icons]] - Desktop icons for TrueCrypt [[Safe reboot a frozen machine]] - Raising an Elephant [[Create a package list]] - Creating a list of installed packages for scripting [[Making a deb]] - How to make a deb from source [[syslog-ng on Ubuntu]] - Changing from syslog to syslog-ng [[iptables]] - iptables stuff [[loop-devices]] - mount: could not find any free loop device [[bind-apparmor|Bind on Hardy]] - Some stuff for bind and Ubuntu Hardy Heron [[bind-dhcpd-apparmor| DHCP and DNS]] - How to make DHCP update Bind [[Serial Console]] - Setting up a serial console on a headless machine [[Upload file via web]] - Python script to upload files between two machines [[MySQL backup script]] [[Encrypted USB Storage]] - Quick Guide to make an encrypted usb stick [[exiftool]] - Adding exif tag info to pictures [[fail2ban]] - Stopping brute force attacks [[gopenvpn]] - Install Gopenvpn [[De-base64]] - Decode base64 content [[Move Pictures by Date]] - Bash script to reorganize your pictures [[Remove ^M characters from file]] - Fix those damn Windows files [[Encrypted disk partition]] - Using LUKS to encrypt a partition [[Password Generator]] - Simple script [[Script]] - A simple way of documenting output from the console [[ISL]] [[Get all Danish IP subenets]] [[Setting network speed and duplex]] [[Pure-ftpd Upload Script]] [[Backup script with rsync]] [[Check battery state with bash script]] [[Make cool mail signatures with figlet]] [[Watch filesystem activity with inotify]] [[Automatic backup via FTP with fsniper]] [[Certificate keystore tool - Portecle ]] [[Persistent SSH - ssh with screen]] [[Citrix ICA client on 64-bit Ubuntu]] [[Bash loop examples]] [[Domain renewal check]] [[Symbian Error Codes]] [[Google Authenticator]] [[Backup a partition with dd and gzip]] [[tcpdump]] [[Generate a random password from command line]] [[MySQL optimize]] [[Recover deleted files]] [[Run Wireshark as non-root]] [[Setup a private Firefox Sync Server]] [[Get DN from a Windows AD user]] [[Clean up directory based on file age]] ===== OpenSSL ===== [[Generate A Self-Signed Certificate From Scratch]] [[Generate A Certificate Signing Request]] [[Generate A Certificate Signing Request with SHA-256]] [[Generate A Certificate Signing Request with SAN]] [[Create A Self-Signed Certificate From A Certificate Signing Request]] [[View The Contents Of A Certificate]] [[View The Signer Of A Certificate]] [[View The Contents Of A Signing Request]] [[Verify A Certificate Matches A Private Key]] [[Create A Private Key]] [[Encrypt A Private Key]] [[Decrypt A Private Key]] [[Convert PEM Format Certificate To PKCS12 Format Certificate]] [[Convert PKCS12 Format Certificate To PEM Format Certificate]] [[View The Contents Of A PKCS12 Formatted File]] [[Run A Test Server]] [[Run A Test Client]] [[How do I retrieve a remote certificate]] [[How do I extract information from a certificate]] [[How do I verify a certificate]] [[Import CA certificates for openssl to use]] [[How do I connect to a secure SMTP server]] [[Convert between DER and PEM]] [[Convert a TDC/DanID certificate]] [[Test a certificate chain]] [[How do I get the fingerprint of a certificate]] [[File encryption with OpenSSL]] [[SSL/TLS tester - testssl.sh]] [[Extract intermediate and root CA's from server]] ===== OpenSSH ===== [[Generate new server keys]] ===== LiveUSB ===== [[Building a custom LiveUSB]] [[Building a custom LiveUSB 2]] [[Building DBAN bootable USB drive]] ===== Opera Mini ===== [[Tips]] ===== Ubuntu ===== [[howtos:ubuntu_gnome-obex-send|Bluetooth send file]] - Fixing Ubuntu Edgy gnome-obex-send [[howtos:firefox-ubuntu-feisty|I get server reset with Firefox in Feisty]] - Fixing user agent string [[howtos:suspend-ubuntu-feisty|Suspend and Hibernation stopped working in Feisty]] - Fixing suspend/hibernation [[howtos:suspend-ubuntu-heron|Suspend and Hibernation not working in Hardy Heron]] - Fixing suspend/hibernation [[e1000e|Intel e1000e driver]] - Installing Intel's own nic driver [[ip120|Ubuntu on IP120]] - Howto install Hardy on a Nokia IP120 (DO NOT WORK!!) [[Create a package list]] - Creating a list of installed packages for scripting [[Creating a local repository]] - Make a local repository of downloaded deb files [[Middle Mouse Button Scrolling]] - Scrolling with three button mouse [[Ibex and AltGr]] [[Shutdown not powering off]] [[Intel 3945/4965 Wireless Frequencies]] - How to associate beyond channel 11 [[Ideapad Critical Low Hibernate]] - Making hibernation work on critical low battery [[Full disk encryption]] - Encrypted LVM with root and swap [[Securely delete files and folders in Nautilus]] [[Adding permanent static routes]] [[Changing MTU on interface]] [[Apparmor and Ubuntu]] [[Manual Install Sun Java]] [[Disable TouchPad]] [[axel File Downloader]] [[NetworkManager and device not managed]] [[Apt through a proxy server]] [[Recover from broken update-initramfs]] [[Wireless on Lenovo S10e]] [[ALTERNATIVE TO THE "200 LINES KERNEL PATCH THAT DOES WONDERS" WHICH YOU CAN USE RIGHT AWAY]] [[apt-mirror setup]] [[HP and CPU fan constantly on after resume]] [[Install Sun Java on Ubuntu 12.04]] [[Enable hibernation in Ubuntu 12.04]] [[Mounting Windows shares with Nautilus in Ubuntu 12.10]] [[Postgrey init script doesn't work on 14.04]] ===== TCP/IP Tuning ===== [[sysctl|sysctl.conf]] - Tuning parameters ===== SSD harddrives ===== [[/tmp as ramdisk]] [[Firefox Cache in /tmp]] [[Google Chrome in ramdisk]] [[I/O scheduler algorithm]] ===== OpenID ===== [[Community-ID]] - Howto install Community-ID ===== Google Chrome ===== [[Add trusted CA]] ===== DVB-T ===== [[channels.conf for Denmark]] ===== RPM building ===== [[npreal2 driver for Moxa serial devices]] ===== MeeGo ===== [[Getting wireless working on Lenovo S10]] ===== IP Addressing ===== [[Wildcard Masks]] ===== Check Point ===== [[SSL Network Extender on Lucid 64-bit]] ===== Android ===== [[CA lists]] [[Root Desire HD]] [[sletmig]] ===== OpenLDAP ===== [[Setup script]] ===== Raspberry Pi ===== [[Vlan tagging on RPi]] ===== Lenovo X230 Factory Recovery Disks ===== [[How to make more than one copy]] ===== F5 Networks ===== [[Let's Encrypt - How to issue certificates from a BigIP ]] [[An Attack Example]] ===== Splunk ===== [[TPS]] ===== Awk ===== [[Count repeating IP's in list]] ---- {{:indexes:cautionary.png|}} {{:indexes:security.png|}}