Friday, June 14, 2013

Run Multiple Apache On Single Host 2013

linux is the great invention of technology.it is called root of the computing sector.
In this blog post we are going to discuss on how to run two Apache instances on single Linux host.
We already have one Apache installed and serving the static content. The Apache is installed at the following location:
/etc/httpd
Let`s copy the directory /etc/httpd to /etc/avon_httpd
  cp -pr /etc/httpd  /etc/avon_httpd   
Now, as we have copied the old Apache web-server to a new location /etc/avon_httpd. We need to make the changes to the configuration file.
cd  /etc/avon_httpd and open the httpd.conf file in a vi editor and make changes to the following values:
ServerRoot “/etc/httpd”  TO ServerRoot “/etc/avon_httpd”
Listen 80 TO Listen 82
PidFile run/httpd.pid TO PidFile run/avon_httpd.pid
Save and close the file.
In the next step we are going to copy the RHEL httpd configuration file.
 cp -pr /etc/sysconfig/httpd  /etc/sysconfig/avon_httpd 
In the next step, let`s copy the script /etc/init.d/httpd  TO /etc/init.d/avon_httpd
 cp -pr  /etc/init.d/httpd   /etc/init.d/avon_httpd 
In this step, Link the /usr/sbin/httpd TO /usr/sbin/avon_httpd
 ln -s  /usr/sbin/httpd   /usr/sbin/avon_httpd 
Open the file avon_httpd under /etc/sysconfig/ and enter the following lines:
## CUSTOM SETTINGS ##
HTTPD=/usr/sbin/avon_httpd
OPTIONS="-f /etc/avon_httpd/conf/httpd.conf"
LOCKFILE=/var/lock/subsys/avon_httpd
PIDFILE=/var/run/avon_httpd.pid
Open the avon_httpd file under /etc/init.d and replace httpd to avon_httpd.
The command used to start/stop httpd and avon_httpd service could be:
  • /etc/init.d/httpd {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}
  • /etc/init.d/avon_httpd {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}

Friday, May 24, 2013

An old gem...
... which apparently I missed completely:

http://www.redhat.com/archives/rhl-devel-list/2008-January/msg00861.html
> Linux is about choice.

If I could only have one thing this year, it would be to eliminate that
meme from the collective consciousness.  It is a disease.  It strangles
the mind and ensures you can never change anything ever because someone
somewhere has OCD'd their environment exactly how they like it and how
dare you change it on them you're so mean and next time I have friends
over for Buffy night you're not invited mom he's sitting on my side
again.

As a consumer, yes, you have lots of choices in which Linux you use.
This does not mean Linux is in any sense _about_ choice, any more than
because there are so many kinds of cars you can buy that cars are about
choice.

The complaints up-thread about juju and pulse are entirely valid, but
the solution is not to try to deliver two things at once.  If you try to
deliver both at once you have to also deliver a way of switching between
the two.  Now you have three moving parts instead of one, which means
the failure rate has gone up by a factor of _six_ (three parts, and
three interactions).  We have essentially already posited that we have
insufficient developer effort to have 100%-complete features at ship
time, so asking them to take on six times the failure rate when they're
already overburdened is just madness.  Alternatively, we could say that
we're integrating features too rapidly, but you do that at the expense
of goal 1, to be the showcase for the latest and greatest in free
software.

Software is hard.  The way to fix it is to fix it, not sweep it under
the rug.

There is a legitimate discussion to be had about where and how we draw
the line for feature inclusion, about how we increase and formalize our
testing efforts, and about how we develop and deploy spike solutions for
corner-case problems like the one device class that juju happens to do
worse than the old stack.  But the chain of logic from "Linux is about
choice" to "ship everything and let the user chose how they want their
sound to not work" starts with fallacy and ends with disaster.

- rizbi

Sunday, May 12, 2013

linux commands


@=at the rate of
A=address
Soa=start of authority
Ttl=time-to-live
NS=Name Server
Ptr=pointer
MX=mail exchanger
Cname=canonical name
M=Minute
H=hours
D=date
W=week
/=roor
MTA=mail transfer agent
MUA=mail user agent
SMTP=sample mail transfer protocol
Pop=post office protocol
Tcp/ip=transmission control protocol/Internet protocol
IMAP=Internet message Access Protocol
MX=mail exchanger
Cname=Canonical Name
Email=electronic mail
DHCP=dynamic Host Configuration Protocol
ARP=Address resolution protocol
#=root user
$=normal user

linux commands 2013


@=at the rate of
A=address
Soa=start of authority
Ttl=time-to-live
NS=Name Server
Ptr=pointer
MX=mail exchanger
Cname=canonical name
M=Minute
H=hours
D=date
W=week
/=roor
MTA=mail transfer agent
MUA=mail user agent
SMTP=sample mail transfer protocol
Pop=post office protocol
Tcp/ip=transmission control protocol/Internet protocol
IMAP=Internet message Access Protocol
MX=mail exchanger
Cname=Canonical Name
Email=electronic mail
DHCP=dynamic Host Configuration Protocol
ARP=Address resolution protocol
#=root user
$=normal user

necessary commands

F=force
R=recursively
Rm=remove
Cp=copy
Mv=move
Vim=visual editor(improved)
Grep=global regular expression print
Dmesg=display message
S=soft link
RPM=redhat package manager
I=install,,, v=verbose,,, h=hash,,, q=quary,,, a=all,,,
Hdd=hard disk drive
Fdd=floppy disk drive
Dvd=                     
R=read,w=write,x=cross
Yum=it will easily solve the dependency problem
Rpm=it is difficult to solve the dependency problem
Ping=packet internet groper
Su=super user/switch user
Mget=multiple get
Mput= multiple put
Mdel= multiple delete
Ro=read only
rw=read write
SWAT=samba web admin tool
Motd=message of the day
Lp=line pointer
F=follow
http=hyper text transfer protocol
html=hyper text markup language
cal=calendar
z=zip
FQDN=fully  qualified domain name
Org=organisation
Com=commercial
Edu=education
Net=network
Gov=government
Bd/bgd=Bangladesh
Us/usa=united states of America
BIND=Berkeley internet name domain
Ip=internet protocol
Ipv4=internet protocol version 4
Ipv6=internet protocol version 6
enjoy

some linux commands

F=force
R=recursively
Rm=remove
Cp=copy
Mv=move
Vim=visual editor(improved)
Grep=global regular expression print
Dmesg=display message
S=soft link
RPM=redhat package manager
I=install,,, v=verbose,,, h=hash,,, q=quary,,, a=all,,,
Hdd=hard disk drive
Fdd=floppy disk drive
Dvd=                     
R=read,w=write,x=cross
Yum=it will easily solve the dependency problem
Rpm=it is difficult to solve the dependency problem
Ping=packet internet groper
Su=super user/switch user
Mget=multiple get
Mput= multiple put
Mdel= multiple delete
Ro=read only
rw=read write
SWAT=samba web admin tool
Motd=message of the day
Lp=line pointer
F=follow
http=hyper text transfer protocol
html=hyper text markup language
cal=calendar
z=zip
FQDN=fully  qualified domain name
Org=organisation
Com=commercial
Edu=education
Net=network
Gov=government
Bd/bgd=Bangladesh
Us/usa=united states of America
BIND=Berkeley internet name domain
Ip=internet protocol
Ipv4=internet protocol version 4
Ipv6=internet protocol version 6
enjoy

some linux commands 2013

F=force
R=recursively
Rm=remove
Cp=copy
Mv=move
Vim=visual editor(improved)
Grep=global regular expression print
Dmesg=display message
S=soft link
RPM=redhat package manager
I=install,,, v=verbose,,, h=hash,,, q=quary,,, a=all,,,
Hdd=hard disk drive
Fdd=floppy disk drive
Dvd=                     
R=read,w=write,x=cross
Yum=it will easily solve the dependency problem
Rpm=it is difficult to solve the dependency problem
Ping=packet internet groper
Su=super user/switch user
Mget=multiple get
Mput= multiple put
Mdel= multiple delete
Ro=read only
rw=read write
SWAT=samba web admin tool
Motd=message of the day
Lp=line pointer
F=follow
http=hyper text transfer protocol
html=hyper text markup language
cal=calendar
z=zip
FQDN=fully  qualified domain name
Org=organisation
Com=commercial
Edu=education
Net=network
Gov=government
Bd/bgd=Bangladesh
Us/usa=united states of America
BIND=Berkeley internet name domain
Ip=internet protocol
Ipv4=internet protocol version 4
Ipv6=internet protocol version 6

some abribiations of linux command


FSF=free software foundationGrub=grand unified boot loader
MBR=master boot record
ISP=Internet service provider
Uname=user name
Pwd=present/print working directory
CLI=command line interface
GUI=graphical user Interface
Clr=clear
Ls=list
Man=manual page
Q=quit
ID=identity
Cd=change directory
Os=operating system
Nfs=network file system
Dns=momain name system
ftp=file transfer protocol
IIS7=internet information services
Pm=primary master
Ps=Primary slave
Sm=secondary master
ss=secondary slave
Cd=compack disk
Us=united states

some avv


Wan=wide area network
Lan=local area network
Man=metropolitan area network
Nic=network interface card
Pc=personal computer
Dc=domain controller
Bgd zip code=3100
IIS=Internet Information Services
www=world wide web
url=universal resourse locator


mac keyboard shortcuts key 2013


Mac OS X Keyboard Shortcuts
Startup
Keystroke
Description
Press X during startup
Force Mac OS X startup
Press Option-Command-Shift-Delete
during startup
Bypass primary startup volume and seek a different startup volume (such as a CD or external disk)
Press C during startup
Start up from a CD that has a system folder
Press N during startup
Attempt to start up from a compatible network server (NetBoot)
Press T during startup
Start up in FireWire Target Disk mode
Press Shift during startup
start up in Safe Boot mode and temporarily disable login items and non-essential kernel extension files (Mac OS X 10.2 and later)
Press Command-V during startup
Start up in Verbose mode.
Press Command-S during startup
Start up in Single-User mode

visit world news

Mac Keyboard Shortcuts 2013


Mac OS X Keyboard Shortcuts
Startup
Keystroke
Description
Press X during startup
Force Mac OS X startup
Press Option-Command-Shift-Delete
during startup
Bypass primary startup volume and seek a different startup volume (such as a CD or external disk)
Press C during startup
Start up from a CD that has a system folder
Press N during startup
Attempt to start up from a compatible network server (NetBoot)
Press T during startup
Start up in FireWire Target Disk mode
Press Shift during startup
start up in Safe Boot mode and temporarily disable login items and non-essential kernel extension files (Mac OS X 10.2 and later)
Press Command-V during startup
Start up in Verbose mode.
Press Command-S during startup
Start up in Single-User mode
 http://world24usa.blogspot.com

thanks

Linux hot keys Keyboard Shortcut 2013


Linux hot keys Keyboard Shortcut 2013
CTRL + B
Move the cursor backward one character.
CTRL + C
Cancel the currently running command.
CTRL + D
Log out of the current session.
CTRL + F
Move the cursor forward one character.
CTRL + H
Erase one character. Similar to pressing backspace.
CTRL + P
Paste previous line and/or lines.
CTRL + S
Stop all output on screen (XOFF).
CTRL + Q
Turn all output stopped on screen back on (XON).
CTRL + U
Erase the complete line.
CTRL + W
Delete the last word typed in. For example, if you typed 'mv file1 file2' this shortcut would delete file2.
CTRL + Z
Cancel current operation, move back a directory and/or take the current operation and move it to the background.

Monday, April 29, 2013

Saturday, April 27, 2013

dns configurations




domain name system

add this


https://github.com/rahmat-budiharso/javascript-view
https://addons.mozilla.org/en-US/firefox/addon/greasemonkey-shared-script-/?src=cb-dl-hotness
https://addons.mozilla.org/en-US/firefox/addon/seo-toolbar-by-seomoz/?src=cb-dl-hotness
https://addons.mozilla.org/en-US/firefox/addon/web-search-optimizer/?src=cb-dl-hotness


thanks

linux positions

fast

first
thanks

iron man 3

linux history

audio and virus,File text manipulation,File compression,File compression,Disks and filesystems,Backup and remote storage


audio and virus
grip=play cd and rip mp3s
xmms=play audio files
cdparanoia=rip audio
audiacity=edit audio
xcdroast=burn CDs
File text manipulation
Grep=search text for matching lines
Cut=extract culumns
Paste=append culumns
Tr=translate charecters
Sort=sort lines
Uniq=locate identical lines
Tee=copy stdin to afile and to stdout simultaneously
File compression
Gzip=compress files (gnu zip)
Compress=compress(unix)
Bzip2=compress file(Bzip2)
Zip=compress file(windows zip)
File compression
Diff=compare file line by line
Comm.=compare sorted files
Cmp=compares file byte by byte
Md5sum=compute checksums
Disks and filesystems
Df=show disk free space
Mount=make a disk accessable
Fsck=check a disk for error
Sync=flush disk caches
Backup and remote storage
Mt=control a trap drive
Dump=backup a disk
Restore=restore a damp
Tar=read/write tape archives
Cdrecord=burn a cd
Rsync=mirror a set of file


thanks

audio and virus,


audio and virus
grip=play cd and rip mp3s
xmms=play audio files
cdparanoia=rip audio
audiacity=edit audio
xcdroast=burn CDs
File text manipulation
Grep=search text for matching lines
Cut=extract culumns
Paste=append culumns
Tr=translate charecters
Sort=sort lines
Uniq=locate identical lines
Tee=copy stdin to afile and to stdout simultaneously
File compression
Gzip=compress files (gnu zip)
Compress=compress(unix)
Bzip2=compress file(Bzip2)
Zip=compress file(windows zip)
File compression
Diff=compare file line by line
Comm.=compare sorted files
Cmp=compares file byte by byte
Md5sum=compute checksums
Disks and filesystems
Df=show disk free space
Mount=make a disk accessable
Fsck=check a disk for error
Sync=flush disk caches
Backup and remote storage
Mt=control a trap drive
Dump=backup a disk
Restore=restore a damp
Tar=read/write tape archives
Cdrecord=burn a cd
Rsync=mirror a set of file


thanks

audio and virus
grip=play cd and rip mp3s
xmms=play audio files
cdparanoia=rip audio
audiacity=edit audio
xcdroast=burn CDs
File text manipulation
Grep=search text for matching lines
Cut=extract culumns
Paste=append culumns
Tr=translate charecters
Sort=sort lines
Uniq=locate identical lines
Tee=copy stdin to afile and to stdout simultaneously
File compression
Gzip=compress files (gnu zip)
Compress=compress(unix)
Bzip2=compress file(Bzip2)
Zip=compress file(windows zip)
File compression
Diff=compare file line by line
Comm.=compare sorted files
Cmp=compares file byte by byte
Md5sum=compute checksums
Disks and filesystems
Df=show disk free space
Mount=make a disk accessable
Fsck=check a disk for error
Sync=flush disk caches
Backup and remote storage
Mt=control a trap drive
Dump=backup a disk
Restore=restore a damp
Tar=read/write tape archives
Cdrecord=burn a cd
Rsync=mirror a set of file


thanks

audio and virusgrip=play cd and rip mp3s

xmms=play audio files
cdparanoia=rip audio
audiacity=edit audio
xcdroast=burn CDs
File text manipulation
Grep=search text for matching lines
Cut=extract culumns
Paste=append culumns
Tr=translate charecters
Sort=sort lines
Uniq=locate identical lines
Tee=copy stdin to afile and to stdout simultaneously
File compression
Gzip=compress files (gnu zip)
Compress=compress(unix)
Bzip2=compress file(Bzip2)
Zip=compress file(windows zip)
File compression
Diff=compare file line by line
Comm.=compare sorted files
Cmp=compares file byte by byte
Md5sum=compute checksums
Disks and filesystems
Df=show disk free space
Mount=make a disk accessable
Fsck=check a disk for error
Sync=flush disk caches
Backup and remote storage
Mt=control a trap drive
Dump=backup a disk
Restore=restore a damp
Tar=read/write tape archives
Cdrecord=burn a cd
Rsync=mirror a set of file


thanks

audio and virus
grip=play cd and rip mp3s

xmms=play audio files
cdparanoia=rip audio
audiacity=edit audio
xcdroast=burn CDs
File text manipulation
Grep=search text for matching lines
Cut=extract culumns
Paste=append culumns
Tr=translate charecters
Sort=sort lines
Uniq=locate identical lines
Tee=copy stdin to afile and to stdout simultaneously
File compression
Gzip=compress files (gnu zip)
Compress=compress(unix)
Bzip2=compress file(Bzip2)
Zip=compress file(windows zip)
File compression
Diff=compare file line by line
Comm.=compare sorted files
Cmp=compares file byte by byte
Md5sum=compute checksums
Disks and filesystems
Df=show disk free space
Mount=make a disk accessable
Fsck=check a disk for error
Sync=flush disk caches
Backup and remote storage
Mt=control a trap drive
Dump=backup a disk
Restore=restore a damp
Tar=read/write tape archives
Cdrecord=burn a cd
Rsync=mirror a set of file


thanks

audio and virus
grip=play cd and rip mp3s

xmms=play audio files
cdparanoia=rip audio
audiacity=edit audio
xcdroast=burn CDs

thanks

Scheduling jobs,hosts,networking


Scheduling jobs
Sleep=wait for some times
Watch=run program at set interval
At=schedule a job
Crontab=schedule repeated jobs
hosts
uname=print system information
hostname=print the system hostname
ifconfig=set/display network information
host=look up DNS
whois=look up domain registrants
ping=chech if host is reachable
terceroute=view network path to a host
networking
ssh=security log into remote hosts
telnet=log into remote hosts
scp=security copy files between hosts
sftp=security copy files between hosts
ftp=file transfer protocol//copy files between hosts
evolution=gui email client
mutt=text based email clients
mail=minimal email clients
mozila=web browser
lynx=text onty  web browser
wget=retrieves web pages to disk
sim=read usenet news
gaim=instant messaging/IRC
talk=linux/unix chart
write=send messages to terminal
mesg=prohibit talk/write

thanks

Scheduling jobs
Sleep=wait for some times
Watch=run program at set interval
At=schedule a job
Crontab=schedule repeated jobs
hosts
uname=print system information
hostname=print the system hostname
ifconfig=set/display network information
host=look up DNS
whois=look up domain registrants
ping=chech if host is reachable
terceroute=view network path to a host
networking
ssh=security log into remote hosts
telnet=log into remote hosts
scp=security copy files between hosts
sftp=security copy files between hosts
ftp=file transfer protocol//copy files between hosts
evolution=gui email client
mutt=text based email clients
mail=minimal email clients
mozila=web browser
lynx=text onty  web browser
wget=retrieves web pages to disk
sim=read usenet news
gaim=instant messaging/IRC
talk=linux/unix chart
write=send messages to terminal
mesg=prohibit talk/write

thanks

google trends today

search your destinations
google high search today
http://www.google.com/trends/hottrends#pn=p8
thanks

printing,spelling,process


Printing
Lpr=print files
Lpq=view print queue
Lprm=remove print job
Spelling operations
Look=lookup spelling
Aspell=check spelling interactively
Spell=check spelling in batch
Processes
Ps=list all process
W=list users process//who
Uptime=view the system load
Top=monitor process
Xload=monitor system load
Free=display free memory
Kill=terminate process
Nice=set process priorities
Renice=change process priorities

thanks

Thursday, April 25, 2013

red hat linux installing

some process of red hat install

thanks

some common abbreviation of linux


File creation and editingTuesday,                     
Emacs=text editor
Vim=text editor
Umask=set default file protections
Soffice=edit word/exel/powerPoint doc
Abiword=edit word document
Gunmeric=edit exel document
File properties
Stat=display file attributes
Wc=counts bites/words/lines
Du=measure disk usage
File=identify file types
Touch=change file timestamps
Chown=change file owner
Chgrp=change file group
Chmod=change file protections
Chattr=change advanced file attributes
File locations
Find=locate files
Slocate=locates commands
Which=locate commands
Whereis=locates stand files
File text manipulation
Grep=search text for matching lines
Cut=extract culumns
Paste=append culumns
Tr=translate charecters
Sort=sort lines
Uniq=locate identical lines
Tee=copy stdin to afile and to stdout simultaneously

thanks