Online #sysadmin tools 1

Online #sysadmin tools

IPduh IPduh is a set of Internet Forencics and Troubleshooting Tools made to work Together. IPduh may be used as an Internet Forensics Search Engine or a General Purpose Search Engine. Smart Humans and Aliens researching the internetz on Earth Love IPduh.   Download test files from thinkbroadband.com thinkbroadband.com Download at full speed 10, 20, […]

socks proxy

SSH as SOCKs 5 proxy

This entry is part 2 of 3 in the series SSH Best Practices

Let’s say, for example, that “someone” is traffic shaping our peer 2 peer connections or eavesdropping traffic in general, blocking myfavoritesite.net or any other domain/service… Here’s a really cool antidote: SSH proxy. I think it’s a really nice gesture to give someone the access on something that’s been blocked without his permission. To use ssh […]

socks proxy

Linux user account with ssh-only permissions

This entry is part 3 of 3 in the series SSH Best Practices

SSH (among other things) is a secure way of proxy-ing your traffic, web browsing or accessing a  service remotely  which is blocked by a firewall. In case we want someone else to have that access or securely proxying his traffic etc etc,  we need to provide a user account with ssh-only access to our ssh […]

Linux home directory encryption 2

Linux home directory encryption

Encrypting the $HOME directory under ubuntu/debian and other dists. In my case my $USER is “ubuntu” so be careful to replace that with your own user. Be sure to have more than the double free space in your $HOME than the size of the files to complete the migration, else copy your files temporarily in […]

How to install mod_security for Apache 3

How to install mod_security for Apache

regards, @specktator

Cacti installation for monitoring servers and routers 4

Cacti installation for monitoring servers and routers

This is done with Ubuntu 12.04 Precise, but, it may be done with othe distros too. First install the required packages:

Go to /var/www/ download cacti, unpack it and rename it:

Create a database for cacti, a user for the database and insert the cacti tables in it:

 

Edit […]

How to setup SSH - Install SSH server and client 5

How to setup SSH – Install SSH server and client

This entry is part 1 of 3 in the series SSH Best Practices

What is SSH? Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. SSH was designed as a replacement for Telnet and other insecure remote shells, which send information, notably passwords, in plaintext, rendering them susceptible to packet analysis. The encryption used by […]

How to Setup a free Webradio Server - Install a Shoutcast Server on Linux 6

How to Setup a free Webradio Server – Install a Shoutcast Server on Linux

In this tutorial you’ll learn how to setup your own free shoutcast server with shoutcast server software from shoutcast.com 1. login to your server via ssh (ssh tutorial) to get a remote command line or just fire-up the keyboard right in front of your server! ;p 2. create a folder where you want to download […]

How To solve – ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

Something like: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) Ok this was tough enough to find. :PThree simple things. the number inside parenthesis indicates the error number we want to think about firstly. The number two means that mysql daemon cannot find that file. So, to solve this, try […]

Configure SSMTP on Linux – How to send mail from linux system with Gmail (as smarthost)

SSMTP is a simple MTA(Message Transfer Agent) to send off mail from a Linux system to a mailhub. For a mailhub will use a Gmail account. SSMTP can send emails by itself or you can install mutt (it’s another simple MTA). Always it’s a good idea to configure your server to notify you with some […]