Saturday, November 24, 2012
Customize the Packages in Kickstart file
Posted by PNA Prasanna at 3:30 AM 0 comments
Labels: Drops
Friday, October 26, 2012
Anonymous FTP upload in Red Hat Enterprise Linux 6
Posted by PNA Prasanna at 3:18 AM 0 comments
Labels: RHEL6
Thursday, October 25, 2012
Partition Encryption in Red Hat Enterprise Linux 6
Posted by PNA Prasanna at 2:33 AM 0 comments
Labels: RHEL6
Wednesday, October 10, 2012
Samba Server Configuration in Red Hat Enterprise Linux 6
Posted by PNA Prasanna at 4:53 AM 0 comments
Wednesday, September 26, 2012
NTP Server Configuration in RHEL 6
Client Side configuration:
Step 1: Set the ipaddress in the same range (say 9.0.0.21) & check up with ping command.
Step 2: #system-config-date
Remove all and give 9.0.0.20 (NTP server ip) in NTP Servers box.
Step 3: #service ntpd restart
Step 4: #chkconfig ntpd on
Step 5: #ntpdate -b 9.0.0.20
Note: The time will be synchronized with the NTP server, the client system restart requires sometimes.
Posted by PNA Prasanna at 4:24 AM 0 comments
Labels: RHEL6
Wednesday, September 12, 2012
Pre requestis for Red Hat Certified Engineer — RHCE
Posted by PNA Prasanna at 5:01 AM 0 comments
Labels: Linux Articles, RHCE Exam questions
Exam objectives
Posted by PNA Prasanna at 4:58 AM 0 comments
Labels: Linux Articles, RHCE Exam questions
Installation Server works good in RHEL5.3
1. Create a PXE server. (Refer the blog)
2. Copy all DVD content to /var/ftp/pub/rhel6.1 location
3. Copy the important files vmlinuz & initrd into the /tftpboot/rhel6.1 location
label 6.1
kernel rhel6.1/vmlinuz
append initrd=rhel6.1/initrd.img ks=nfs:192.168.0.254:/var/ftp/pub/rhel6.1/ks.cfg
Posted by PNA Prasanna at 4:23 AM 0 comments
Labels: RHEL5 R/D
RHEL6.1 Kickstart file
The following file is the kickstart file for installing RHEL6.1
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Use NFS installation media
nfs --server=192.168.0.254 --dir=/var/ftp/pub/rhel6.1
# Root password
rootpw --iscrypted $1$x7Z15vjx$hG7xzuDLfLbCqgvxiazDx.
# System authorization information
auth --useshadow --passalgo=sha512
# Use text mode install
text
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --enforcing
# Installation logging level
logging --level=info
# Reboot after installation
reboot
# System timezone
timezone --isUtc Asia/Kolkata
# System bootloader configuration
bootloader --location=mbr --md5pass="$1$phl5jhIB$vIl45UqkSrUgZnUxdyySw."
# Partition clearing information
clearpart --all
# Disk partitioning information
part / --fstype="ext4" --size=10000
part /home --fstype="ext4" --size=1024
part swap --fstype="swap" --size=1024
%packages
@additional-devel
@backup-client
@backup-server
@base
@cifs-file-server
@client-mgmt-tools
@compat-libraries
@console-internet
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@desktop-platform-devel
@development
@dial-up
@directory-client
@directory-server
@mail-server
@eclipse
@emacs
@identity-server
@ftp-server
@fonts
@general-desktop
@graphical-admin-tools
@graphics
@hardware-monitoring
@ha
@ha-management
@infiniband
@input-methods
@internet-browser
@java-platform
@kde-desktop
@large-systems
@legacy-unix
@legacy-x
@load-balancer
@mainframe-access
@system-management-messaging-client
@mysql-client
@mysql
@nfs-file-server
@network-server
@storage-server
@network-file-system-client
@network-tools
@php
@performance
@perl-runtime
@postgresql-client
@postgresql
@print-server
@print-client
@remote-desktop-clients
@resilient-storage
@system-management-snmp
@scientific
@security-tools
@server-platform
@server-platform-devel
@server-policy
@storage-client-multipath
@system-management
@system-admin-tools
@system-management-messaging-server
@tex
@technical-writing
@turbogears
@virtualization-client
@virtualization-platform
@web-server
@web-servlet
@system-management-wbem
@x11
@storage-client-iscsi
libXinerama-devel
xorg-x11-proto-devel
startup-notification-devel
libgnomeui-devel
libbonobo-devel
junit
libXau-devel
libgcrypt-devel
popt-devel
libdrm-devel
libXrandr-devel
libxslt-devel
libglade2-devel
gnutls-devel
mtools
pax
python-dmidecode
oddjob
sgpio
genisoimage
wodim
abrt-gui
qt-mysql
desktop-file-utils
ant
rpmdevtools
jpackage-utils
rpmlint
krb5-pkinit-openssl
certmonger
openldap-clients
pam_krb5
krb5-workstation
ldapjdk
samba
krb5-server-ldap
krb5-server
slapi-nis
netpbm-progs
ImageMagick
telnet
tcp_wrappers
xterm
xorg-x11-xdm
libXmu
perl-DBD-MySQL
dnsmasq
radvd
sg3_utils
perl-DBD-SQLite
perl-Mozilla-LDAP
rdesktop
atlas
numpy
hmaccalc
ipmitool
pexpect
crypto-utils
libvirt-java
mod_auth_kerb
mod_nss
certmonger
perl-CGI
mod_revocator
tog-pegasus
%end
Posted by PNA Prasanna at 4:09 AM 0 comments
Labels: RHEL6.1
Tuesday, September 11, 2012
How to install Mate desktop in Ubuntu 12.04
- sudo add-apt-repository "deb http://packages.mate-desktop.org/repo/ubuntu precise main"
- sudo apt-get update
- sudo apt-get install mate-archive-keyring
- sudo apt-get update
- sudo apt-get install mate-core
- sudo apt-get install mate-desktop-environment
Posted by PNA Prasanna at 3:59 AM 0 comments
Labels: Ubuntu 12.04
Tuesday, September 4, 2012
Password to boot Red Hat Enterprise Linux 6
Posted by PNA Prasanna at 4:08 AM 0 comments
Saturday, September 1, 2012
Set the password for Grub file in Red Hat Enterprise Linux 6
Posted by PNA Prasanna at 3:33 AM 0 comments
Labels: Linux Articles, RHEL6
Friday, August 31, 2012
The method of running the python program in RHEL6
Posted by PNA Prasanna at 5:02 AM 0 comments
Monday, August 27, 2012
Swap partition recommendation by RedHat
RAM SWAP
up-to 4GB at-least 2GB
4GB to 16GB at-least 4GB
16GB to 64GB at-least 8GB
64GB to 256GB at-least 16GB
Posted by PNA Prasanna at 4:49 AM 0 comments
Labels: Linux Articles
Thursday, August 9, 2012
Managing Partitions in RHEL6
Posted by PNA Prasanna at 4:57 AM 0 comments
Labels: RHEL6
Tuesday, July 31, 2012
Advance permission controls in RHEL6
#gconftool-2 -t bool --set /apps/nautilus/preferences/show_advanced_permissions true
To disable the advance permission controls in the permission dialog box
#gconftool-2 -t bool --set /apps/nautilus/preferences/show_advanced_permissions false
Posted by PNA Prasanna at 5:03 AM 0 comments
Labels: RHEL6
Monday, July 23, 2012
VNC Server Configuration in RHEL6
Create 2 users (visitor & student with some password)
Posted by PNA Prasanna at 3:07 AM 0 comments
Labels: RHEL6
Saturday, July 21, 2012
Loopback adapter setting in RHEL6
Posted by PNA Prasanna at 3:22 AM 0 comments
Labels: RHEL6
Friday, June 15, 2012
ISCSI works good in RHEL6
This video explains how to create ISCSI in RHEL6
Posted by PNA Prasanna at 5:36 AM 0 comments
Labels: RHEL6
Monday, June 4, 2012
NTP Server works good in RHEL6
This video explains the step by step NTP (Network Time Protocol) in Red Hat Enterprise Linux 6
Posted by PNA Prasanna at 4:37 AM 0 comments
Labels: NTP Server, RHEL6
Thursday, May 24, 2012
Setting up sudo users in Linux
This video explains about setting up sudo users in Linux.
Posted by PNA Prasanna at 12:28 AM 0 comments
Labels: Drops, Linux Articles
Wednesday, May 23, 2012
Course Outline for Ubuntu 12.04
Course methodology
Course schedule
- Describe the history of Linux and the Ubuntu distribution.
- Explain the Ubuntu release cycle.
- Describe the Ubuntu community structure and governance board.
- Describe the key features of Ubuntu Desktop.
- Customise the desktop settings.
- Navigate to directories and files in Nautilus.
- Install and remove applications.
- Add new language settings.
- Essential CLI commands.
- cd, ls, grep, echo, uname, cat, less, more, rm, mkdir, touch, mv, nano.
- arguments.
- man command.
- sudo command.
- Current configuration of network interfaces.
- ip, ipconfig, /etc/resolv.conf, route.
- Changing the network configuration.
- Testing for a working network connection.
- ping, dig, host, nslookup.
- • Managing the network with Network Manager.
- adsl, wifi, ethernet.
- Analyzing the network using Network Tools.
- Storage device naming system.
- The Filesystem Hierarchy Standard (FHS).
- Mounting and unmounting devices.
- mount, umount.
- Configuring fstab.
- /etc/fstab.
- Symbolic links.
- Creating an ext4 file system.
- ext2, ext4, xfs, mkfs.
- Managing file systems.
- fsck, debugfs, dump2fs, e2label.
- Managing user accounts and groups.
- adduser, deluser, addgourp, delgroup.
- Different file system permissions.
- Assigning permissions to different users and groups.
- chmod, chown, chgrp.
- Creating default settings for new user accounts.
- /etc/adduser.conf.
- Creating a default environment using /etc/profile.
- Displaying and interpreting process statistics.
- top, ps.
- Managing processes.
- kill, nice, renice.
- Scheduling processes (pending upstart plans).
- at, cron.
- Finding out who's using files or devices.
- lsof
- The Ubuntu community structure and governance board.
- Technical board, Linus, Linux, GNU, Debian.
- Support resources from Canonical, partners, and the user community including:
- Mailing lists.
- IRC channels.
- Launchpad and other sources for researching and reporting bugs.
- Official Ubuntu documentation and community documentation.
- Ubuntu release cycle.
- LTS, regular.
- Upstart.
- SystemV compatibility.
- Starting and stopping system services.
- Kernel management and boot procedures (2 hours)
- Explain the working and functionality of Grub2.
- update-grub[2].
- Customise the Grub2 boot environment.
- /etc/default/grub.
- Explain the modular kernel.
- modinfo, /etc/modules, /lib/modules, /boot, /etc/initramfs, update- initramfs.
- Manage kernel modules.
- modprobe, rmmod, /etc/modprobe.d.
- Describe how udev creates device interfaces for hardware.
- udev rules, udevadm, /etc/udev/rules.d.
- Hardware management and monitoring (2 hours)
- Manage partitions.
- fdisk, cfdisk, system->administration->disk utility, parted.
- Display hardware information.
- lsusb, lshw, lspci, dmesg, lscpu, lsscsi.
- Monitor a hard drive through the SMART interface.
- smartctl.
- Use the memtest facility.
- /boot/memtest86+.bin, grub.
- Explain how packages are used in Ubuntu.
- packages vs applications, dependencies, conflicts, recommendations.
- Explain apt system, repositories and meta packages.
- apt-get, apt-cache, apt-key, repositories, meta packages.
- Manage packages using the appropriate tools.
- tasksel, update-manager, Ubuntu Software Centre.
- Setup a basic LAMP environment.
- tasksel install lamp-server.
- /var/www/phpinfo.php.
- Setup a basic Samba file server.
- apt-get install samba.
- /etc/samba.smb.conf..
- smbpasswd.
- Set up SSH for remote access.
- apt-get install ssh.
- Explain how AppArmor uses default profiles to secure your services.
- /etc/apparmor.d.
- Display current profiles used by AppArmor.
- aa-status.
- Explain how UFW works to protect your system.
- ufw.
- Configure UFW.
- ufw enable|disable etc.
- Localise your GNOME environment.
- system -> administration -> language support.
- Manage your GNOME configuration and restore a default state.
- gconf-editor, gconftool.
- Customise the GNOME environment.
- gdmsetup, /etc/gdm/.
- Connect to a network printer.
- system -> administration -> printing.
- Set up munin for monitoring.
- apt-get install munin munin-node, /etc/munin/.
- Set up a landscape account.
- apt-get install landscape-client ; dpkg-reconfigure landscape-client.
- Register a computer with landscape.
Posted by PNA Prasanna at 4:36 AM 0 comments
Labels: Ubuntu 12.04
Monday, January 30, 2012
DNS works good in Red Hat Enterprise Linux 6
This video explains about the basic DNS configuration in Red Hat Enterprise Linux 6.
Posted by PNA Prasanna at 4:10 AM 0 comments
Labels: RHEL6
Saturday, January 21, 2012
YUM Server Configuration in RHEL 6 (Yellow Dog Updater Modified) FTP Method
Posted by PNA Prasanna at 3:40 AM 1 comments
Labels: Linux Articles, RHEL6
Friday, January 20, 2012
Mounting an iso file in Linux (Fedora, Redhat)
Posted by PNA Prasanna at 3:07 AM 0 comments
Labels: Linux Articles, RHEL6, RHEL6.1