buy tb500

Archive for June, 2010

redirect port 26 to port 25 in linux

Saturday, June 26th, 2010

iptables -t nat -A PREROUTING -p tcp –dport 26 -j REDIRECT –to-ports 25

so that mean if the server using port 25 for SMTP , and your ISP block port 25, then run this command and use port 26 then automaticlly will change to port 25 once reach the server

Thank you.


How to enable port 587 (submission) in postfix mail server

Saturday, June 26th, 2010

To enable port 587, edit the file /etc/postfix/master.cf

vi /etc/postfix/master.cf

and remove the # in front of the line:

#submission inet n      –       n       –       –       smtpd
so that it looks like this:

submission inet n      –       n       –       –       smtpd

and restart postfix:

/etc/init.d/postfix restart

vps-commands

Saturday, June 19th, 2010

vzlist -a |grep 124.217.246.15

to enter to the vps
vzctl   enter  1860  (1860 mean vps id that we got it when we grep the ip in previous step)

then after that we follow same like linux commands

Linux, if root is currpted or have issue to login

Saturday, June 19th, 2010
step1
Add the root user by executing the following command
#useradd -g root root
step 2
Execute the following command to change the password:
#passwd root

Sunday, June 13th, 2010

AJBM-10-083

JSP connect to mysql

Saturday, June 12th, 2010

refer ot the url below

http://www.roseindia.net/jsp/connect-jsp-mysql.shtml

i have test it and it is working fine

check if there is Ddos attack

Thursday, June 10th, 2010

netstat -na | grep SYN | wc -l

restore missing ip from WHM

Monday, June 7th, 2010

run below command

/scripts/restartsrv_ipaliases

Re-Configure IIS7

Wednesday, June 2nd, 2010

C:\Program Files\Parallels\Plesk\admin\bin

websrvmng.exe –reconfigure-vhost –vhost-name=alzwea.com

Thank you.

the service did not respond to the start or control request in a timely fashion

Tuesday, June 1st, 2010

Hello to all

This issue I also encountered,but right now I already resolved please follow this step.

1. ) Click Start Run Open Type “CMD”

2. Copy and Paste this command:

  • CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/IIs5IsolationModeEnabled 0
  • NET STOP HttpFilter /y
  • NET START W3SVC

References

http://forums.iis.net/t/1152597.aspx