Install Oracle (Sun) Java in Debian or LMDE | The easiest way to install the latest java is with the excellent repository found on this page: http://www.duinsoft.nl/packages.php?t=en The manual installation works for a one time install, however I suggest using the repository method. This also installs the browser plugin for Firefox / Iceweasel. Here is how to use the repository! 1. Create the following
nmap UDP Port Scan Example
nmap UDP Port Scan Example | By default nmap performs a TCP scan only. I’ll show you how to scan for UDP ports with nmap! The syntax is $ sudo nmap -sU -p port target Example: $ sudo nmap -sU -p 3478 192.168.1.25 Starting Nmap 6.00 ( http://nmap.org ) at 2012-06-13 20:43 EDT Nmap scan report for example.com (192.168.1.25) Host is
Use mysqlcheck to Optimize and Repair MySQL Databases
Use mysqlcheck to Optimize and Repair MySQL Databases | mysqlcheck is a simple command line app that can check mysql databases for corruption, make repairs, and also optimize your databases. Here are three quick commands that are useful to check, optimize, and also repair your mysql databases! 1. Check Databases $ mysqlcheck -cA -u root -p (-c for check database, -A for all databases)
Can’t ping localhost in Linux
Can’t ping localhost in Linux | $ ping localhost ping: unknown host localhost If you ever find yourself in a situation where you cannot ping localhost, I’ll show you a few things to check! /etc/hosts Verify that the /etc/hosts file has entires for localhost which looks like the following: 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback /etc/nsswitch.conf The file /etc/nsswitch.conf requires specific
Linux – How to find what version of a package is installed
Linux – How to find what version of a package is installed | Below are commands to verify the exact version of a package installed in Linux. Root prompt or sudo is not required! Red Hat or CentOS: $ rpm -qa | grep package Example: $ rpm -qa | grep openssl openssl-1.0.0-20.el6_2.5.x86_64 If a package is not installed, the output will return nothing: $ rpm -qa | grep
How to Grab | Disable BIND Version Banner
How to Grab | Disable BIND Version Banner | The BIND DNS server by default will broadcast its version publicly. Security-minded admins may want to disable broadcasting of the BIND banner. I’ll show you how! Grab BIND banner It is possible to use dig, host, nslookup or whatever your favorite DNS tool may be to query the BIND banner. I like the host command
Debian Sources List Generator
Debian Sources List Generator | Here is a cool site that helps generate a sources.list file for Debian. Check it out: http://debgen.simplylinux.ch Cool!
MySQL my.cnf Performance Tuning
MySQL my.cnf Performance Tuning | Debian and Ubuntu include a package called mysqltuner which can analyze your MySQL database and provide some performance metrics as well as tuning advice for my.cnf. Here is how it works! Install mysqltuner: $ sudo apt-get install mysqltuner Run the app, it will prompt for your MySQL admin credentials. Looks like I need to bump
Transmission Blocklist URL
Transmission Blocklist URL | The bittorrent client Transmission has the ability to subscribe to a P2P blocklist. There are many blocklist URLs out there. I’ll show you one that works well. The following blocklist URL is an excellent choice: Site: http://www.iblocklist.com/list.php?list=bt_level1 Example Update URL: http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz In Transmission, paste this Update URL into the Preferences under Privacy. Click Update and
Install nmap 6 on Debian or Ubuntu Linux
Install nmap 6 on Debian or Ubuntu Linux | nmap 6 is out! It will be a couple of centuries before this is available in Debian, so I’ll show you how to easily create a .deb package right now. The following steps will provide a .deb package which is easy to cleanly uninstall at anytime as needed. Updated 19 June 2012! 1. First install




