Posted by beta on December 13, 2010 ·
Posted by beta on November 29, 2010 ·
After the default installation of Debian with the minimum package,
the default vi/vim is monochrome.
just figured out to change the default monochrome vi to color with syntax, thought it might help someone else looking for the same thing. I had to look awhile for this, and found that the instructions for enabling it in Sarge don’t work.
Do:
apt-get install vim
(if you are using X-window, you [...]
Posted by beta on November 1, 2010 ·
Collection of bash environment settings
Posted by beta on October 21, 2010 ·
we discussed how to backing up files and folders between servers in In the previous copied article.
However, there are still some tips and tricks when using rsync.
Posted by beta on October 21, 2010 ·
Tips on using the rsync command. rsync performs incremental filesystem transfers, allowing filesystem duplication or snap shotting. Alternatives to rsync on Unix systems include cp -r, pipes between tar commands, or unison.
rsync behaves differently if the source directory has a trailing slash. Study and learn the difference between the following two commands before moving on. Use the -n option to [...]
Posted by beta on October 15, 2010 ·
The IP configurations on the Debian distribution of the Linux operating system are stored in the file /etc/network/interfaces
For example, before the configuration, /etc/network/interfaces will show like the following:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.20
netmask 255.255.255.0
gateway 192.168.1.1
broadcast 192.168.1.255
In order [...]
Posted by beta on October 15, 2010 ·
To prevent brute force and dictionary attacks, openssh-server performs the following actions for a SSH loging sessions by default:
Disconnects a session after a maximum of 6 consecutive password retries.
limits the maximum number of concurrent unauthenticated connections to the sshd daemon to 10.Additional connections will be dropped until authentication succeeds.
You can custom these settings with [...]
Posted by beta on October 5, 2010 ·
First of all, if you jack in to other servers using the default OpenSSH configuration, ~ is already set up as the default ssh escape character. But there is a trick to it: If you just press ~ while ssh-ing to another system, nothing happens. That is a Good Thing(TM), because otherwise I would get confused whenever I wanted to spy on Wu by typing cd ~wu. If you want to get into the “hidden ssh [...]
Posted by beta on October 1, 2010 ·
Posted by beta on September 23, 2010 ·
1. @INC was compiled in the perl binary, so unless you re-combile perl,
what you only can do to add @INC is putting the new path in the script by
push(@INC, "Put path to directory here");