Wednesday, August 3, 2011
Wednesday, July 20, 2011
Advanced Postfix Mail Server Configuration
Advanced Postfix Mail Server Configuration with PHP, Apache, SquirrelMail, MySQL, and more.
http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-11.04
http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-11.04
Tuesday, July 5, 2011
How To Get VLC Player On Centos
bring up your terminal and then type:
su --
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm
yum -y install vlc
su --
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm
yum -y install vlc
Tuesday, June 14, 2011
Video Class Order
Videos By Week In Order
Week 1:
1) FirewallAndSELinux.ogg
2) AddingUsersGraphicallyFedora.ogg
3) vsftp.ogg
4) vsftpCommandLine.ogg
5) vsftpServerConfiguration.ogg
6) ssh.ogg
7) sshConfiguration.ogg
Week 2:
1) FedoraNFS_ClientServer.ogg
2) optional NFS_Server.ogg
3) optional NFS_Server.ogg
Week 3:
1) Fedora32BitNIS_MadeEasy.ogg
2) optional FedoraNIS_ServerSetup.ogg
3) optional FedoraNIS_Client.ogg
4) optional NIS_ServerClientMandriva.ogg
Week 4:
1) FedoraSambaClientServer.ogg
Week 5:
1) SendmailInstallFedora.ogg
Week 6:
1) DNS
Week 7:
Refer to Kernel Blog Post for instructions and video order.
Week 8:
Refer to Logging Blog Post
Week 9:
Refer to Advanced Shell Script Blog Post
Week 1:
1) FirewallAndSELinux.ogg
2) AddingUsersGraphicallyFedora.ogg
3) vsftp.ogg
4) vsftpCommandLine.ogg
5) vsftpServerConfiguration.ogg
6) ssh.ogg
7) sshConfiguration.ogg
Week 2:
1) FedoraNFS_ClientServer.ogg
2) optional NFS_Server.ogg
3) optional NFS_Server.ogg
Week 3:
1) Fedora32BitNIS_MadeEasy.ogg
2) optional FedoraNIS_ServerSetup.ogg
3) optional FedoraNIS_Client.ogg
4) optional NIS_ServerClientMandriva.ogg
Week 4:
1) FedoraSambaClientServer.ogg
Week 5:
1) SendmailInstallFedora.ogg
Week 6:
1) DNS
Week 7:
Refer to Kernel Blog Post for instructions and video order.
Week 8:
Refer to Logging Blog Post
Week 9:
Refer to Advanced Shell Script Blog Post
Wednesday, May 25, 2011
Advanced Shell
cp -Rfv /etc ./etc
vim Security.sh
#!/bin/bash
if [ -f "/etc/passwd" ] ; then
echo "passwd file exists"
grep -n -v -f "./etc/passwd" "/etc/passwd"
else
echo "passwd file does not exist"
fi
if [ -f "/etc/group" ] ; then
echo "group file exists"
grep -n -v -f "./etc/group" "/etc/group"
else
echo "group file does not exist"
fi
exit 0
i to edit esc hold shift ZZ to save and exit
to exit without saving hit the esc key then :q! enter
chmod +x Security.sh
./Security
You must have 4 files checked in order to get credit for this assignment. I only do 2 in this example.
vim Security.sh
#!/bin/bash
if [ -f "/etc/passwd" ] ; then
echo "passwd file exists"
grep -n -v -f "./etc/passwd" "/etc/passwd"
else
echo "passwd file does not exist"
fi
if [ -f "/etc/group" ] ; then
echo "group file exists"
grep -n -v -f "./etc/group" "/etc/group"
else
echo "group file does not exist"
fi
exit 0
i to edit esc hold shift ZZ to save and exit
to exit without saving hit the esc key then :q! enter
chmod +x Security.sh
./Security
You must have 4 files checked in order to get credit for this assignment. I only do 2 in this example.
Saturday, May 21, 2011
Remote Logging And Test
Remote Logging Receiving Server:
Setting Up The Receiving Host:
Red Hat:
vi /etc/sysconfig/rsyslog
CentOS:
vi /etc/sysconfig/syslog
Edit File Change Line To:
SYSLOGD_OPTIONS="-c 2 -r"
i to edit. Esc then shift ZZ to save and exit.
Now Edit:
Red Hat:
vi /etc/rsyslog.conf
CentOS:
vi /etc/syslog.conf
i to edit. Change the lines below Provides UDP syslog reception and Provides TCP syslog reception by un-commenting the lines. Esc then shift ZZ to save and exit.
Update The Remote System Log:
Red Hat:
service rsyslog restart
CentOS:
/sbin/service syslog restart
last
command finds the when people logged in and out of the system along with what time and where from.
last | tail
will give you just the recent logins and logouts.
logger Your Message Goes Here
Lets you test the logging of the log files. Your message will be in the messages log file. You can find the log messages with regards to a certain user by using grep.
grep yourusername /var/log/messages
Setting Up The Receiving Host:
Red Hat:
vi /etc/sysconfig/rsyslog
CentOS:
vi /etc/sysconfig/syslog
Edit File Change Line To:
SYSLOGD_OPTIONS="-c 2 -r"
i to edit. Esc then shift ZZ to save and exit.
Now Edit:
Red Hat:
vi /etc/rsyslog.conf
CentOS:
vi /etc/syslog.conf
i to edit. Change the lines below Provides UDP syslog reception and Provides TCP syslog reception by un-commenting the lines. Esc then shift ZZ to save and exit.
Update The Remote System Log:
Red Hat:
service rsyslog restart
CentOS:
/sbin/service syslog restart
last
command finds the when people logged in and out of the system along with what time and where from.
last | tail
will give you just the recent logins and logouts.
logger Your Message Goes Here
Lets you test the logging of the log files. Your message will be in the messages log file. You can find the log messages with regards to a certain user by using grep.
grep yourusername /var/log/messages
Subscribe to:
Comments (Atom)