| Mobile | RSS

use yum with proxy server

Using yum with a proxy server

This how to article for using yum with a proxy server describe how to configure YUM to work behind proxy server using username and password.If you are behind proxy server then you need to configure yum to pass proxy server.

[ More ] November 22nd, 2011 | No Comments | Posted in Basic Setup, Troubleshooting |
syntax checker

Server Configuration checking commands

Linux server configuration file checking commands in brief.These commands are useful for verifying configuration files in Linux server before applying to the server.

[ More ] November 19th, 2011 | No Comments | Posted in Basic Setup, Server Building |
10 basic commands a system admin need to know

10 basic commands a system admin need to know

tty – tty command  will tells you current terminal. #tty /dev/pts/1 whoami- whoami commands tells you current logged-in username #whoami root which- which command will give you the path of the command #which tty /usr/bin/tty set- set command prints and sets the shell variables or environment variables echo-echo command will prints the output to screen [...]

[ More ] July 29th, 2011 | No Comments | Posted in Basic Setup |
directory sharing

Software installation from source in Linux

In this how to we are trying go through the steps involved in software installation from source.
The software installation from source includes the following steps

[ More ] June 28th, 2011 | No Comments | Posted in Applications, Basic Setup |
dhcp server

DHCP Server-Basic configuration

The Dynamic Host Configuration Protocol (DHCP) allows you to specify network parameters on a server and have client computers query the server for their information such as IP, netmask, gateway, DNS, etc Daemon :dhcpd The configuration file: dhcpd.conf Typical dhcpd.conf look like thiis ddns-updates on; ddns-update-style ad-hoc; option domain-name-servers 10.0.0.1, 202.188.0.133, 202.188.1.5; option subnet-mask 255.255.255.0; [...]

[ More ] June 28th, 2011 | No Comments | Posted in Basic Setup, Server Building |
iptables

IPtables-Basic concepts

The IPTables program that comes with Linux distributions allows administrators to configure the operating system so that it allows applications and clients to connect through the network and stop unwanted applications and clients from communicating and corrupting the operating system.It is really a front end tool to manage netfilters which is integrated with the linux [...]

[ More ] June 26th, 2011 | No Comments | Posted in Basic Setup, OS Internals |
FTP server in centos

FTP Server-Basic configurations

The File Transfer Protocol (FTP) is used as one of the most common means of copying files between servers over the Internet.It is the simplest way to exchange files between computers on the internet.With a simple command line interface ,a user can use FTP to perform updates,deletes,renames,moves of the files at a server. Types of [...]

[ More ] June 26th, 2011 | No Comments | Posted in Basic Setup, Server Building |
Network File System

NFS-Network File System some basics

NFS stands for Network File System, and is a way to share files between machines as if they were on your local hard drive.Linux can be both an NFS server and an NFS client, which means that it can export filesystems to other systems,and mount filesystems exported from other machines. Package required for NFS:nfs-utils Daemon: [...]

[ More ] June 26th, 2011 | No Comments | Posted in Basic Setup, Server Building |
directory sharing

etc passwd file format for Linux and UNIX

/etc/passwd file stores  user account information, which is required during login. /etc/passwd is a text file, that contains a list of the system’s accounts, giving for each account some useful information like user ID, group ID, home directory, shell, etc. It should have general read permission as many utilities, like ls use it to map [...]

[ More ] June 26th, 2011 | No Comments | Posted in Basic Setup, OS Internals |
user management

User management commands in Linux

Linux Commands for managing users: 1. adduser – Command used to add user accounts. 2. chage – Used to change the time the user’s password will expire. 3. chfn – Change a user’s finger information 4. chsh – Change a user’s shell. 5. chgrp – Changes the group ownership of files. 6. chown – Change [...]

[ More ] June 26th, 2011 | No Comments | Posted in Basic Setup, OS Internals |
linux boot process

Basic commands

cat Sends file contents to standard output.This is a way to list the contents of short files to the screen.It works well with piping. Eg:cat .bashrc (Sends content of “.bashrc” file to screen). cd Change directory eg:cd /home Change the current working directory to /home. The ‘/’ indicates relative to root, and no matter what [...]

[ More ] June 26th, 2011 | 1 Comment | Posted in Basic Setup, OS Internals, Scripting & Automation |
Linux networking

Assiging two IP address for one NIC

STEP 1: (The settings for the initial IP address) $ cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.99.255 IPADDR=192.168.1.155 NETMASK=255.255.252.0 NETWORK=192.168.1.0 ONBOOT=yes STEP 2 (2nd IP address: ) $cat /etc/sysconfig/network-scripts/ifcfg-eth0:1 DEVICE=eth0:1 BOOTPROTO=static BROADCAST=192.168.99.255 IPADDR=192.168.1.182 NETMASK=255.255.252.0 NETWORK=192.168.1.0 ONBOOT=yes Note:In STEP 1 the filename is “ifcfg-eth0″, whereas in STEP 2 it’s “ifcfg-eth0:1″ and also not the matching entries for “DEVICE=…”. [...]

[ More ] June 26th, 2011 | No Comments | Posted in Basic Setup, Networking, Server Building |
SSH

How to create a welcome banner for SSH logins

Open /etc/ssh/sshd_config using vi editor vi /etc/ssh/sshd_config Then uncomment the line #Banner /etc/motd save & exit Now create some banner text in /etc/motd like This computer system is for authorized users only. All activity is logged and regulary checked by systems personal. Individuals using this system without authority or in excess of their authority are [...]

Related Posts Plugin for WordPress, Blogger...
[ More ] June 20th, 2011 | No Comments | Posted in Basic Setup, Linux Security |