Linux

Compiling Kernel Support for HBA Failover using Qlogic Drivers

Steps to enable via commandline following boot rmmod qla2300 insmod qla2300 ql2xfailover=1 Steps to compile in qlogic driver failover and use more than 4G of ram on redhat 3.0. tar -xvf qla2x00-v7.01.01-dist.tar cd qlogic edit qla_settings.h, make MPIO_SUPPORT 1 rather than 0 ./drvrinstall make all SMP=1 make all install update /etc/modules.conf with these entries ———————————– …

Compiling Kernel Support for HBA Failover using Qlogic Drivers Read More »

Rebuild Sendmail in linux

relocate to /etc/mail cp sendmail.mc to sendmail.mc.bak edit sendmail.mc and make desired configuration changes define(`SMART_HOST’,`mailhost.erc.ge.com’)dnl define(`LOCAL_RELAY’,`mailhost’(dnl) LOCAL_DOMAIN(`erc.ge.com’)dnl MASQUERADE_AS(`ercgroup.com’)dnl FEATURE(masquerade_envelope)dnl copy sendmail.cf to sendmail.cf.bak # m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf # service sendmail stop # service sendmail start Original post blogged on b2evolution.

linux NFS

be sure nfs server is running, if not, start it define the share, either through file edit of /etc/exports or the gui tool exportfs –a (to share all) mount filesystem on remote server unmount filesystem from remote server exportfs –ua unmount local filesystem if desired service nfs status service nfs start Original post blogged on …

linux NFS Read More »

Linux LVM

Prepare physical volume (where diskname = sda, sdb, sdc,…) dd if=/dev/zero of=/dev/diskname bs=1k count=1 (NOTE: this is destructive to all data on this disk) blockdev –rereadpt /dev/diskname pvcreate /dev/diskname Prepare Volume Group vgcreate –s 1g my_vol_group /dev/diskname you can modify the extent size during vg creation Create Logical Volume Defined Size lvcreate –Lsize-in-MB –n lv-name …

Linux LVM Read More »

What Happens When a User Logs In?

Well environment variables used to customize a user’s login environment can be defined from the command line, they are more commonly defined by several scripts that execute during the login process. Typically, three scripts execute during the login process to initialize the user’s environment. The first is a system-wide script maintained by the system administrator …

What Happens When a User Logs In? Read More »

Changing User Passwords from the Command Line

bash-3.00# passwd stfaChanging password for “stfa”stfa’s New password:Enter the new password again: Any time a password needs to be changed, whether by a regular user or the superuser, the passwd command is used. Normally an ordinary user on the system can change his or her own password (but nobody else’s). When invoked, the user is …

Changing User Passwords from the Command Line Read More »

Scroll to Top