Saturday, October 8, 2011

Play on LINUX

SOURCE:  http://www.unixmen.com/linux-tutorials/75-howto-install-playonlinux-games-and-softwares


PlayOnLinux is sofware which allows you to easily install and use games and softwares designed to run with Microsoft®'s Windows®.
In this Part I of this tutorial we shows you how to install PlayOnLinux and howto install softwares, games on With PlayOnLinux:


Part I : Installing PlayOnLinux :

2- Choose your Linux distribution in my case i choosed Mandriva,for Linpus users choose Fedora.
3-Download the signature(The signature is a verification key of the authenticity of the content.) :
NB: Actually Mandriva users can download the PlayOnLinux from the package manager or by typing the command as root :
urpmi playonlinux
0
save it on your desktop
4- add the signature by using this command on your terminal
go to your desktop under Root type the command:
cd /home/zinovsky/Desktop/
add the key by using the command :
rpm --import rpm.gpg for AspireOne Linpus users use sudo rpm --import rpm.gpg
5- Now download the package by clicking on package PlayOnLinux
For fedora and Linpus (Aspire One) here is the packege : http://mulx.free.fr/rpm/fedora
for Mandriva folow the stepos to download the package as described below.
1
Pic-2-
folow the steps as described on the pictures below:
save the key on your desktop
1
After Go to Play on linux package see photo above Pic-2-
2
Pic-3-
Now click on the link to install PlayOnLinuxPic 4
3
Pic-4-
Enter your root password
then Click Ok :
4
PlayOnLinux is installing :
5

After installation is done. You will find your PlayOnLinux on Menu--->Games--.PlayOnLinux

-Part II : install softwares and games from playonlinux :


1-Open go to Menu--> Games and open PlayOnLinux
2-Go to Multimedia :
Pic IT2
3-Choose ITune and click on Apply , a new screen will appear showing the beginig of the installation.
Pic IT3
click forward then will PlayOnLinux will start downloading Itune:
Pic IT4
4- Now click Next and accpt licence before to continue
5 6
PicIT5 Pic IT-6
5-Click install then next , after a screen will appear informing if you want to activate autorun just click yes.
7 8
Pic IT-7 Pic IT-8
ITune is installing
10
Pic IT-9
6-Click finish
11
Pic IT10

7-Now PlayOnLinux will ask you to create shotcuts on your desktop and Menu see pic :
12
pic IT-11

Click forward 2 times and is Down Itune is installed. You will find a shotcuts on your desktop see pic below
12
And is done, the same way of installation if you want to add install more softwars.
This tutorial did show you how to install software or games that are already listed onPlayOnLinux.
For installing games , open your PlayOnLInux and go to games, then choose your game that you want to install and folow the instructions untill the game is installed, you can choose to install the game from your cd/DVD or from your desktop iso file.
In my next Tutorial Part III will show you how to install an external software with PlayOnLinu.
Here is a video explaining how works playonlinux :
[youtube:http://www.youtube.com/watch?v=y2HhU0vjBrg]
Please your feedback will be appreciated.
Please report if worked for you or not by commenting the article, if you have any issue during the installation please post it in the forum by opening new topic
http://www.unixmen.net/forums

Monday, August 29, 2011

Educate YOURSELF - beginners and experts

W3SCHOOLS -- ONLINE Free Tutorials

At w3schools.com you will learn how to make a website. Offer free tutorials in all web development technologies.

Sunday, August 28, 2011

RSYNC

Wednesday, July 13, 2011

How to install IE on Fedora

Procedure

first install the required programs

yum -y install wine*
yum -y install cabextract
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux

Note
COPY the installer on /root/bin ie6xx.exe  and rename
it as ie6 before executing ./ies4linux. exec. it as root.

or try install using guest(copy/paste the ies4linux on
/home/guest/

After installation, click the inverted IE on desktop.

Tuesday, May 10, 2011

OpenOFFICE

Openoffice - A multiplatform and multilingual office suite and an open-source project

OpenOffice Download

Wednesday, March 30, 2011

Basic Shell Commands

Wiping the screen

 -- to clear a screen full of text on a terminal, just type in CLEAR from the command line.    i.e    : clear

Finding out what is in a directory

-- ls, can be remembered as a list (Acronym) of what is in that directory.
          i.e   : ls

Changing Directories

  -- When the command shell opens, it opens in your own, home directory, usually 'root'. If you ever need to return to your own home directory, just enter cd and press return.  i.e   : cd /home/guest   -- will open guest directory

Moving or Renaming Files 

-- If yout want to rename blah.xxx to xxx.blah, the command is mv blah.xxx xxx.blah    i.e.    : cp source_file  destination_file    /    mv source_file  destination_file

-- 

Sunday, March 20, 2011

Free Ping Services

Mypagerank
Submit Free lets you submit your URL to 20 popular search engines from one MyPagerank.Net Google

Pingler

Blog and Ping Tool - Use Pingler.com to Drive Traffic
Pingomatic
Ping-O-Matic is a service to update different search engines

Monday, February 28, 2011

Installing software from RPM

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

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

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

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

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

Sunday, January 30, 2011

Exporting Mail from Evolution to Thunderbird.

PREPARATION

Create a new mail account in Thunderbird (this is so that if everything goes pear shaped nothing else will be affected).

In Thunderbird choose Edit -> Account Settings -> Add Account

Select Email Account and click Next
Leave identity settings as they are and click next
Set the Incoming Server to "localhost" and REMOVE the tick from "Use Global Inbox" Click next
Leave the Incoming user name as it is. Click Next
Change the Account Name to something relevant such as "Evolution Mail"

Once the settings are created return to Edit -> Account Settings and select the "Server Settings" option under the "Evolution Mail" account. Take note of the "Local Directory" Setting. It will be a string like "/home/yourloginname/.mozilla-thunderbird/a2ti6rsz.default/Mail/localhost". This is where all mail is stored for this account.

Now that the account is created and you know where to find it (you wrote down the path didn't you?) you can transfer the emails from Evolution.

TRANSFERRING MAIL

Open up two windows to your Home Directory. Navigate in one of the windows to the path that Thunderbird has assigned for your email storage above. HINT: CTRL+h in your home folder will show all hidden files and folders so you will be able to see the ".mozilla-thunderbird" folder. Once you are in this folder you will see some files in there with names such as Inbox, Inbox.msf, Junk.msf and so on.

In the other window from your home folder navigate to ".evolution/mail/local" This is where any locally stored mail from Evolution is placed. There are a similar set of files to what you see in the Thunderbird folder, Inbox, Drafts and so on.

Copy the files named Inbox, Sent, Outbox and Drafts from the evolution folder to the mozilla-thunderbird folder (dragging and dropping while holding down your ctrl key will copy rather than move the files). When it asks if its ok to overwrite them just say yes. Its ok, nothing bad will happen. Its just a copy. You can trust me. Honest.

If you have your mail folders organised in evolution under your Inbox there will be a sub directory called "Inbox.sbd" under the .evolution/mail/local/ directory. In that directory you will find files named the same as your folders such as Humour, Humour.cmeta, Humour.ev-summary, Humour.ibex.index and so on. Of course, this depends on what you've called your folders.

For any of the folders you want to move to Thunderbird chose the file WITHOUT any extension and copy it to the localhost folder where you previously placed the Inbox and other files.

Thats all there is to it! Open Thunderbird and you should see all your mail and the relevant folders under the "Evolution Mail" account. You can keep the mail there or move it around in Thunderbird. The choices are yours.

How to import Evolution mail into Thunderbird
From FedoraNEWS.ORG

Written by Anze Vidmar on 2005-10-18
This is a quick "trick" how to import all your mail from Evolution to Mozilla Thunderbird. Since you won't have an option to Import Evolution mail from "Import" function in Thunderbird, I've decided to show you a workaround.
First, backup your thunderbird config folder. You can do this by copying it somewhere else:
cp -rf .thunderbird/ thunderbird/
Now you are ready to "Import" the Evolution mail. In fact, you only need to copy Inbox file from Evolution to Thunderbird config folder.
Locate the Evolution Inbox file. In my case it's located in
/home/anze/.evolution/mail/config/et-expanded-mbox\:_home_anze_.evoluion_mail_local#Inbox
Now, you need to locate the Inbox file of Thunderbird. In my case it's located in
/home/anze/.thunderbird/wm9pxuw7.default/Mail/Local\ Folders/Inbox
Now the only thing to do is to copy the Evolution Inbox file over thunderbird's Inbox file. This is done by cp .evolution/mail/config/et-expanded-mbox\:_home_anze_.evoluion_mail_local#Inbox .thunderbird/wm9pxuw7.default/Mail/Local\ Folders/Inbox
Restart your Thunderbird after copying the Inbox file over.
If you've done it right, you should have your mail from Evolution in your Thunderbird client.

Wednesday, January 26, 2011

How to find file with size above 2000K

From terminal, key in

---- find . -type f -size +2000k


End.

Split a large file into several small files

To split large file into several smaller files, you can use split command in linux. Just follow the steps below and you will be able to split large file into smaller files.


•From terminal key in
$ split –bytes=1m /path/to/large/file /path/to/output/file/prefix

•Done. You just split your large file into several smaller files

* You can change the output file size by changing the –bytes=1m to your preference. You can
use b, k, or m. b represent bytes, k represent kilobytes, m represent megabytes.

Ex. split --verbose -b 1140000000 jo_old.tar.gz omg -- Filename

It will create omga, omgb and so on...

*To restore the original file, you can use cat command(To join all the smaller file to restore the original file type:-)

$ cat prefix* > NEWFILENAME

Ex. cat omg* > jo_new.tar.gz

* To compare the size from the original file use md5sum

Ex. md5sum jo_old.tar.gz and md5sum jo_new.tar.gz -- ID generated should be the same.


Note: If generated ID is not the same with the original file, repeat the above mentioned steps.

SEO TOOLS

Check Page Rank of your Web site pages instantly:

This page rank checking tool is powered by Page Rank Checker service