formats

Install Oracle (Sun) Java in Debian or LMDE

Published on June 18, 2012, by + in linux.

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

formats

nmap UDP Port Scan Example

Published on June 13, 2012, by + in linux, sysadmin.

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

formats

Use mysqlcheck to Optimize and Repair MySQL Databases

Published on June 9, 2012, by + in linux, sysadmin.

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)

formats

Can’t ping localhost in Linux

Published on June 9, 2012, by + 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

formats

Linux – How to find what version of a package is installed

Published on June 8, 2012, by + in linux, sysadmin.

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

formats

How to Grab | Disable BIND Version Banner

Published on June 7, 2012, by + in linux, sysadmin.

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

formats

Debian Sources List Generator

Published on June 6, 2012, by + in linux.

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!

formats

MySQL my.cnf Performance Tuning

Published on May 29, 2012, by + in linux, sysadmin.

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

formats

Transmission Blocklist URL

Published on May 24, 2012, by + in linux, osx.

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

formats

Install nmap 6 on Debian or Ubuntu Linux

Published on May 22, 2012, by + in linux, sysadmin.

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

Home Archive for category "linux" (Page 9)