DECODE
REMEMBER U ASS!
Saturday, July 31, 2010
Friday, July 30, 2010
Thursday, July 29, 2010
Tuesday, July 20, 2010
linux sendmail delete outgoing mails
delete in files in /var/spool/mqueue
also you can see the queue using mailq
also you can see the queue using mailq
Saturday, June 19, 2010
linux install i2o raid
to install linux on servers like supermicro X6DH8-G you should install the i2o driver, to install the i2o driver do a
"linux noprobe text" and when "add device" is displayed, load the i2o block driver and things will be LA LA LA LA
"linux noprobe text" and when "add device" is displayed, load the i2o block driver and things will be LA LA LA LA
Tuesday, June 15, 2010
mikrotik load balancing
Load balancing, connection aggregation, multi-homing, miltiple internet connections teaming
http://wiki.mikrotik.com/wiki/NTH_load_balancing_with_masquerade
LOVE IT!
http://wiki.mikrotik.com/wiki/NTH_load_balancing_with_masquerade
LOVE IT!
Sunday, June 13, 2010
Saturday, June 12, 2010
EASEUS FREE Partition Manager
EASEUS FREE Partition Manager (epm.zip)
http://www.partition-tool.com/download.htm
http://www.partition-tool.com/download.htm
Tuesday, June 01, 2010
FTP server behind iptables firewall
To enable firewall access behind firewall other than opening port 21 on the firewall one needs to
Add
IPTABLES_MODULES="ip_nat_ftp"
to
/etc/sysconfig/iptables-config
BIG Thanks to RAMPALO
Add
IPTABLES_MODULES="ip_nat_ftp"
to
/etc/sysconfig/iptables-config
BIG Thanks to RAMPALO
Saturday, May 29, 2010
Thursday, May 13, 2010
windows delete share and connect to the same share with another username
windows delete share and connect to the same share with another username
net use \\servername\sharename /delete
WEEHA
Friday, May 07, 2010
mikrotik select gateway based on source address
ip firewall mange
prerouting, mark packets from a special source with a routing mark (any name you like) and add the 0.0.0.0/0 route again and choose the routing mark you specified before with a desired gatway which can be different from the original 0.0.0.0/0 route gatway
prerouting, mark packets from a special source with a routing mark (any name you like) and add the 0.0.0.0/0 route again and choose the routing mark you specified before with a desired gatway which can be different from the original 0.0.0.0/0 route gatway
Tuesday, April 13, 2010
change timezone in centos
yum -y install tzdatacp /usr/share/zoneinfo/Asia/Tehran /etc/localtimeBIG thanks to: http://blog.connexeon.com/sysadmin/linux/change-timezone-on-centos/
mikrotik data connections with other types of interfaces
there are 2 interfaces that seem to work ethernet/ip and ip/ip both need for the two end points to have accessible valid ip addresses.
In case you use mikrotik to do PPPOE, you need to put the host OS nic in PROMISC=yes mode so that the PPPOE ack packets can be received by the gust OS.
In case you use mikrotik to do PPPOE, you need to put the host OS nic in PROMISC=yes mode so that the PPPOE ack packets can be received by the gust OS.
Monday, April 05, 2010
Sunday, March 14, 2010
httpd.conf and the Aliases
When the alias reads like below
Alias /cacti/ /var/www/cacti/
DirectoryIndex index.php
Options -Indexes
AllowOverride all
order deny,allow
deny from all
allow from 127.0.0.1
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc on
php_flag track_vars on
to display the alias successfully in the browser do not forget the terminating slash at the end, so
http://localhost/cacti/ is right.
Alias /cacti/ /var/www/cacti/
DirectoryIndex index.php
Options -Indexes
AllowOverride all
order deny,allow
deny from all
allow from 127.0.0.1
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc on
php_flag track_vars on
to display the alias successfully in the browser do not forget the terminating slash at the end, so
http://localhost/cacti/ is right.
Tuesday, February 23, 2010
Persistent SSH SOCKS5 tunnel in Linux
ssh -c arcfour -o TCPKeepAlive=yes -N -f -D localhost:1080 user@remoteserver.com
instead of -c arcfour one can use -c blowfish-cbc as well. The performance of the tunnel gets better with a more lightweight cipher.
instead of -c arcfour one can use -c blowfish-cbc as well. The performance of the tunnel gets better with a more lightweight cipher.
Monday, January 25, 2010
Oracle dbca press finish nothing happens
If you press finish at the end of database creation of dbca and nothing happens, it is (in my case) an X problem. What I did was not to use the X server on windows instead I installed X11 on linux and used that one and it went smoothly.
Subscribe to:
Posts (Atom)