What is RPM
RPM stands for Red Hat Package Manager.
Installing and upgrading RPM packages
For installing a software package, use rpm command with -i option ( i stands for "install").
# rpm -i sweep-2.3.4.rpm
To upgrade use -U option instead (stands for "upgrade").
# rpm -U sweep-2.3.4.rpm
To download an application from terminal/website, use the ff:
yum install.
# yum install sweep
Or
#wget source website like. (wget is a command line only tool )
wget http://site/sweep.tar.gz
Monday, February 28, 2011
Friday, February 18, 2011
Wednesday, February 9, 2011
Procedure to install Sweep on Linux
SWEEP
Install all library dependencies
1. install libmad-0.15.1b-1.fc2.i386.rpm
• rpm –ivh libmad-0.15.1b-1.fc2.i386.rpm
2. install libsndfile
• rpm –ivh libsndfile-1.0.10-2.1.fc2.fr.i386.rpm
3. install libsamplerate
• rpm –libsamplerate-0.1.2-1.1.fc2.dag.i386.rpm
4. install sweep
• rpm-Uvh sweep-0.8.3-1.rhfc2.ccrma.i386.rpm
Install all library dependencies
1. install libmad-0.15.1b-1.fc2.i386.rpm
• rpm –ivh libmad-0.15.1b-1.fc2.i386.rpm
2. install libsndfile
• rpm –ivh libsndfile-1.0.10-2.1.fc2.fr.i386.rpm
3. install libsamplerate
• rpm –libsamplerate-0.1.2-1.1.fc2.dag.i386.rpm
4. install sweep
• rpm-Uvh sweep-0.8.3-1.rhfc2.ccrma.i386.rpm
Tuesday, February 8, 2011
Virtualization Proxmox Server Installation-- Centos
Proxmox Server Installation
- Run the Proxmox installer and press enter
- Click I Agree
- Click Next
- Enter desired Country and timezone.
- Enter Desired Password and Email the click next
- Enter desired hostname and IP Addresses then click next.
- Done.
Configuring Proxmox:
- Connect to any java enabled browser using the server’s IP Address.
- Before creating a Virtual Machine, Copy first a desired OS installer to server's /var/lib/vz/template/iso/.
- Then Go to the Proxmox GUI and Click Virtual Machines.
- Click Create.
- Select "Fully Virtualized (KVM) under Type.
- Select the copied OS Image under Installation Media.
- Change the Disk Space(GB) according to your dedired hard disk size.
- You can also change the Memory (MB) according to your server's needs.
- Just check the start at boot if you prefer your virtualized server to start automatically during the boot of proxmox.
- Then click create.
- Click List and select your newly created VM.
- Click start under Status and Click "Open VNC console" to start the installation of your virtualized server.
- Configure and done.
To add the other network cards that you added to your virtualized server:
- Click System.
- Click Interface Configuration and select "create bridge device".
- Under the Bridge ports, input the desired eth to use.
- Click save
More Readings:http://pve.proxmox.com/wiki/Main_Page
-----------------------------
5 tips for deciding whether to virtualize a server
1. 1: Take a hardware inventory
If you're thinking about virtualizing one of your physical servers, First you begin by performing a hardware inventory of the server. Find out up front whether the server has any specialized hardware that can't be replicated in the virtual world.
2 2. Take a software inventory
Take a full software inventory of the server before attempting to virtualize it. In a virtualized environment, all the virtual servers run on a host server. This host server has a finite pool of hardware resources that must be shared among all the virtual machines that are running on the server as well as by the host operating system.
3.3. Benchmark the system's performance
4.4. Check the support policy
5.5. Perform a trial virtualization
- Run the Proxmox installer and press enter
- Click I Agree
- Click Next
- Enter desired Country and timezone.
- Enter Desired Password and Email the click next
- Enter desired hostname and IP Addresses then click next.
- Done.
Configuring Proxmox:
- Connect to any java enabled browser using the server’s IP Address.
- Before creating a Virtual Machine, Copy first a desired OS installer to server's /var/lib/vz/template/iso/.
- Then Go to the Proxmox GUI and Click Virtual Machines.
- Click Create.
- Select "Fully Virtualized (KVM) under Type.
- Select the copied OS Image under Installation Media.
- Change the Disk Space(GB) according to your dedired hard disk size.
- You can also change the Memory (MB) according to your server's needs.
- Just check the start at boot if you prefer your virtualized server to start automatically during the boot of proxmox.
- Then click create.
- Click List and select your newly created VM.
- Click start under Status and Click "Open VNC console" to start the installation of your virtualized server.
- Configure and done.
To add the other network cards that you added to your virtualized server:
- Click System.
- Click Interface Configuration and select "create bridge device".
- Under the Bridge ports, input the desired eth to use.
- Click save
More Readings:http://pve.proxmox.com/wiki/Main_Page
-----------------------------
5 tips for deciding whether to virtualize a server
1. 1: Take a hardware inventory
If you're thinking about virtualizing one of your physical servers, First you begin by performing a hardware inventory of the server. Find out up front whether the server has any specialized hardware that can't be replicated in the virtual world.
2 2. Take a software inventory
Take a full software inventory of the server before attempting to virtualize it. In a virtualized environment, all the virtual servers run on a host server. This host server has a finite pool of hardware resources that must be shared among all the virtual machines that are running on the server as well as by the host operating system.
3.3. Benchmark the system's performance
4.4. Check the support policy
5.5. Perform a trial virtualization
Converting Log file into *.csv.
To convert logs into csv file.
cat /var/log/squid/access.log | awk -F\ '{ print strftime("%D", $1),$0;}'
| grep 192\.168\.60\.52 > /opt/logs.csv
cat /var/log/squid/access.log | awk -F\ '{ print strftime("%D", $1),$0;}'
| grep 192\.168\.60\.52 > /opt/logs.csv
Labels:
access log,
cat,
command,
grep,
linux command,
print,
squid
Saturday, February 5, 2011
Linux Command
watch runs command repeatedly, displaying its output (the first screenfull). This allows you to watch the program output change over time. By default, the program is run every 2 seconds; use -n or --interval to specify a different interval.
To watch for mail, you might do
watch -n 60 from
To watch the contents of a directory change, you could use
watch -d ls -l
To watch mysql replication
watch -n -3 "mysql -u root -e 'show slave status\G;'"
To watch the increasing size of a file
watch -n -3 'ls -alh'
AWK--- Finds lines in files that match a pattern and performs specified actions on those lines
TAIL --
The tail command reads the final few lines of any text given to it as an input and writes them to standard output (which, by default, is the monitor screen).
Example:
tail -f /var/log/squid/access.log | awk '{print $3" " $4 " "$7}'
Output:
192.168.x.x TCP_MISS/200 http://www.rbcinsurance.com/uos/_assets/images/icons/magnifier-large.gif
192.168.x.x TCP_MISS/200 http://www.rbcinsurance.com/uos/_assets/images/icons/tips-large.gif
192.168.x.x TCP_MISS/200 http://www.rbcinsurance.com/uos/_assets/images/layout/homepagelinkgrid-row-bg.gif
192.168.x.x TCP_HIT/200 http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/releases/8/Everything/i386/os/repodata/repomd.xml
To watch for mail, you might do
watch -n 60 from
To watch the contents of a directory change, you could use
watch -d ls -l
To watch mysql replication
watch -n -3 "mysql -u root -e 'show slave status\G;'"
To watch the increasing size of a file
watch -n -3 'ls -alh'
AWK--- Finds lines in files that match a pattern and performs specified actions on those lines
TAIL --
The tail command reads the final few lines of any text given to it as an input and writes them to standard output (which, by default, is the monitor screen).
Example:
tail -f /var/log/squid/access.log | awk '{print $3" " $4 " "$7}'
Output:
192.168.x.x TCP_MISS/200 http://www.rbcinsurance.com/uos/_assets/images/icons/magnifier-large.gif
192.168.x.x TCP_MISS/200 http://www.rbcinsurance.com/uos/_assets/images/icons/tips-large.gif
192.168.x.x TCP_MISS/200 http://www.rbcinsurance.com/uos/_assets/images/layout/homepagelinkgrid-row-bg.gif
192.168.x.x TCP_HIT/200 http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/releases/8/Everything/i386/os/repodata/repomd.xml
Labels:
command,
linux,
opensource,
server configuration,
user name,
users,
watch
Subscribe to:
Posts (Atom)
SEO TOOLS
|
Check Page Rank of your Web site pages instantly: |
|
This page rank checking tool is powered by Page Rank Checker service |