Category Archives: Basics

ssh Without Password in Few Simple Steps

How to configure passwordless ssh &sftp access in Unix & Linux systems? Follow these simple steps with examples with a basic troubleshooting section at the end. sftp uses underlaying ssh access for authentication and after you establish passwordless ssh access you will have passwordless sftp access as well.

This a real life example of configuring passwordless access for two users . The user ‘web’ in this case needs a secure password less access to another user james in a server ‘devserver’
.

Geek Speaks

Geek Speaks – collection of previous geek speaks
SE, HVD, LVD SCSI interfaces
CIDR : Classless Inter-Domain Routing
Priority Paging
FSSTABLE
umask
Dynamic System Domains

Unix Tutorial – Learn Unix OS Basics to get started

This is a Unix Tutorial where you can learn Unix OS Basics to get started with UNIX and Linux operating systems and covers Unix Directory structure , Unix Commads and Unix Shells

Backup Commands in Linux & Unix with Usage and Examples

Unix and Linux backup and restore can be done using backup commands tar, cpio ufsdump, dump and restore. Though these commands may be sufficient for small setups in order to take a enterprise backup you have to go in for some custom backup and restore solutions like Symatic netbackup, EMC networker or Amanda.
Any backup solution using these commands depends on the type of backup you are taking as these backup commands offers different capabilities.

Crontab – Quick Reference

Setting up cron jobs in Unix, Solaris & Linux

cron is a unix, solaris, Linux utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. 

Unix Commands Tutorial

Learn about the Unix commands with their usages and examples.
This Unix command tutorial introduces you with some of the most popular and useful commands used in nix operating system to get you started with Unix.
All Unix OS comes with online manual system, man, which can be used used as ,man , to get more details and complete set of options.

Solaris Installation

Solaris installation poses a challenges to the new Solaris sysadmins who have never done the installation of Solaris before . Though the installation itself is simple and straight forward but doing it the first time comes with its own anxiety associated with unexplored and unknown things .

Unix Tech Tips

  1. Running Sol
    aris  in 32 or 64 bit mode
    – Page 1
  2. Removing ^M from Unix text files – Page 2
  3. Backup commands – ufsdump , tar , cpio – Page 3
  4. Setting up Ethernet card speed & duplex mode – Page 4
  5. One Line scripts – Page 4

vi editor Quick Reference

 

Introduction

Learn about the default text editor, vi, pronounced as ”vee eye”, in Unix, Linux and other Unix like systems. A short, concise vi quick reference lets you get started with vi today. Explains vi editor mode &  vi commands with examples for editing in vi.

Booting Process in Solaris

Understanding the booting process is important in the sense that you can get a clear idea when a system faces a booting problem if you are familiar with the booting sequence and steps involved. You can thereby isolate a booting phase and quickly resolve the issues.

DNS Troubleshooting

DNS troubleshooting , this article describes some of the common dns problems and their solutions.
First phase of article describes dns errors relating to configuration , server setup and its basic functionality . Second phase talks about the nslookup related errors when the dns servers seems to be working correctly but names resolution fail .

fsck – Check & Repair Unix and Linux File Systems

fsck, similar to chkdsk in windows, checks and repairs the file system in Unix & Linux operating systems. Learn about fsck modes, phases & fsck errors messages

fsck, File System Consistency checK, is a system utility in Unix, Linux and other Unix like systems for checking and repairing file system inconsistencies.

File system can become inconsistent due to several reasons and the most common is abnormal shutdown due to hardware failure, power failure or switching off the system without proper shutdown. Due to these reasons the superblock in a file system is not updated and has mismatched information relating to system data blocks, free blocks and inodes.

fsck in Linux

fsck in this document is refered with reference to ufs file system but it can be used in Linux systems as

fsck -t ext2 /dev/sda3
or
fsck.ext2 /dev/sda3
fsck.ext4 /dev/sda3
fsck.ext3 /dev/sda3

it returns with any of the followig code

0 – No errors
1 – File system errors corrected
2 – System should be rebooted
4 – File system errors left uncorrected
8 – Operational error
16 – Usage or syntax error
32 – Fsck canceled by user request
128 – Shared library error

fsck checks the file systems defined in /etc/fstab in Linux and /etc/vfstab in Unix systems

Solaris Error Messages A-D

Solaris / Unix error messages are very short and often we need some more information about the origin of an error and a possible steps to fix the issues.

Here is a list of Solaris / Unix error messages for your reference, most of the error messages are generic Unix error messages but many are specific Solaris Error Messages.  Please comment if you can provide some more details  about these errors.

This  is a multi part document ,  this part covers error messages starting from A to D

Managing Sun OpenBoot Parameters and commands

Learn to access, display and set sun openboot parameters on a Sun servers and workstation for input output port , boot , security , diagnostics & more.

RefDesk

FAQ 

Solaris Documentation

Sun

Documentation Home

Patches & Software’s  

Certification Info

Others