Would you like to hide a port until a certain knock-knock procedure is received?
Like this:
knock3000 4000 5000 && ssh -puser@host && knock5000 4000 3000
Knock on ports to open a port to a service (ssh for example) and knock again to close the port.
A blog where I drop some minor writings.
Would you like to hide a port until a certain knock-knock procedure is received?
Like this:
knock3000 4000 5000 && ssh -puser@host && knock5000 4000 3000
Knock on ports to open a port to a service (ssh for example) and knock again to close the port.
Clean the linux ram and swap it’s easy.
# sync; echo 3 > /proc/sys/vm/drop_caches
Why this?
 Continue reading “Clean RAM and swap”
On debian : HOWTO
There is just one different thing on Ubuntu , aliases becomes modprobe.d/bonding.conf. (it should work anyway I guess. )
root@fbmgrid01:/home/sgeadmin# cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bonding mode=0 miimon=100
root@fbmgrid01:/home/sgeadmin# cat /etc/network/interfaces|grep -v ^#
auto lo
iface lo inet loopbackauto bond0
iface bond0 inet static
pre-up ifconfig bond0 up
pre-up ifconfig eth1 up
pre-up ifconfig eth0 up
address 84.88.79.131
netmask 255.255.255.192
gateway 84.88.79.129
dns-nameservers 84.88.79.2 84.88.79.3
dns-search barcelonamedia.org
up ifenslave bond0 eth1 eth0
down ifconfig eth1 down
down ifconfig eth0 down
down ifenslave -d bond0 eth1 eth0And then just restart the network.
Enjoy.
$ yes > /dev/null
With this command one of our cpus will go nuts. Use it for testing purpose only.
My SGE installation process.
Option a)
$watch -n 1 mysqladmin –user=<user> –password=<password> processlist
Option b) Install mytop
Enjoy.
<alt> + <print screen/sys rq> + <R> – <S> – <E> – <I> – <U> – <B>
Continue reading “Reboot machine when everything is hanging”
I was installing vmware tools on a debian server and it asked where my killall program was.
 Continue reading “vmware : What is the location of the “killall” program ?”
Ok, you want to mount some remote stuff with sshfs.
Download fuse and sshfs from here. (Stable release.)
So, yes, I need a windows OS because … whatever.
I’ve just registered myself in vmware and downloaded from here.
 Continue reading “vmware server 2 – failed to initialize monitor device”