Latest
How To
Create a script vim /etc/stop_firewall.sh Copy this inside #!/bin/sh echo "Reseting iptables rules..." sleep 1 iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables
Read More
How To
Enabling /var/log/messages in Ubuntu Edit file /etc/rsyslog.d/50-default.conf and uncomment following lines. *.=info;*.=notice;*.=warn;\ auth,authpriv.none;\ cron,daemon.none;\ mail,news.none -/var/log/messages daemon.*;mail.*;\ news.err;\ *.=debug;*.=info;\ *.=notice;*.=warn |/dev/xconsole After that restart rsyslog: sudo restart rsyslog
Read More
How To
We assume that already installed apache2 with php and vsftpd Now let’s create xyz.com site 1. Creating user for ftp access adduser xyz 2. Createing home directory for
Read More
How To
sudo apt-get update sudo apt-get dist-upgrade
Read More
How To
su yum update reboot su yum install kernel-devel kernel-headers gcc make start tools install cd /tmp tar -xzf /media/VMware\ Tools/VMwareTools-8.4.5-324285.tar.gz cd vmware-tools-distrib ./vmware-install.pl
Read More
How To
sh or Bourne Shell – the original shell still used on UNIX systems and in UNIX related environments. This is the basic shell, a small program with few
Read More
How To
Ctrl+A – Move cursor to the beginning of the command line. Ctrl+C – End a running program and return the prompt, see Chapter 4. Ctrl+D – Log out
Read More
Commands
Command dir to view the subdirectories and filesn under the directory Syntax dir
Read More
Commands
Command exit Allows you to exit from a program, shell or log you out of a Unix network. Syntax exit Description To end a current session as well
Read More
Commands
Command clear Clear the screen. Syntax clear Description Command clear it will clear the screen (shortcut ctl+l)
Read More