Linux


*filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [467:73725] :OPEN-TCP – [0:0] :OPEN-UDP – [0:0] -A INPUT -i eth1 -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m state –state INVALID -j DROP -A INPUT -m state –state RELATED,ESTABLISHED -j ACCEPT -A INPUT -p udp -m state –state NEW -j OPEN-UDP -A INPUT -p tcp -m tcp –tcp-flags FIN,SYN,RST,ACK SYN -m state –state NEW -j OPEN-TCP -A...

Read More

Do so: service mysql stop wait until MySQL shuts down. Then run mysqld_safe –skip-grant-tables & then you will be able to login as root with no password. mysql -uroot mysql In MySQL command line prompt issue the following command: UPDATE user SET password=PASSWORD(“abcd”) WHERE user=”root”; FLUSH PRIVILEGES; At this time your root password is reset to “abcd” and MySQL will now know the...

Read More

How to Start/Stop MySql


Posted By on Feb 15, 2010

# To install MySql database: sudo apt-get install mysql-server # To start MySql server: /etc/init.d/mysql start # To stop MySql server: /etc/init.d/mysql stop # To restart MySql server: /etc/init.d/mysql restart # To check the status of MySql server: /etc/init.d/mysql status

Read More

sudo passwd agt-get update apt-get upgrade apt-get install kubuntu-kde4-desktop apt-get install gnome-desktop-environment apt-get install vnc4server cd /root/.vnc/ vi xstartup reboot apt-get lshw sudo apt-get install php5 libapache2-mod-php5 sudo apt-get install php5-mysql sudo apt-get install php5-pgsql wgethistory history | less history | grep – To copy entire history terminal commands go to : /home/username/.bash_history or...

Read More