Popular Posts
- How to setting Internet and MMS for iPhone (Maxis, DiGi, Celcom, Xpax, U Mobile)
- How to setup MMS (CELCOM) for Sony Ericsson W810
- How do I install ArcGIS Desktop 9.3 for use with a local license?
- How to solve unable to receive MMS (Celcom,Maxis,Digi) messages on Blackberry Torch
- How to configure BlackBerry As Modem(Maxis) using Blackberry Desktop
Thursday, March 26, 2009
How to Installing Git (1.6.1.3) on Ubuntu (8.04)
Quote : wget http://kernel.org/pub/software/scm/git/git-1.6.1.3.tar.gz
Quote : tar -zxvf git-1.6.1.3.tar.gz
Quote : cd git-1.6.1.3/
Quote : ./configure
Quote : make
Quote : sudo make install
Enjoy ubuntu... ;)
Monday, March 23, 2009
How to Install iTunes 7.2 in Ubuntu
Install iTunes
First, you have to download version 7.2 of iTunes. Then, run command:wine iTunesSetup.exe
1. Welcome screen, click Next. 2. Accept license. 3. Choose installer options. 4. AutoRun option, click No button. 5. Installing. 6. Finish. Run iTunes
To start iTunes, you can run command in terminal:
Quote : wine ~/.wine/drive_c/Program\ Files/iTunes/iTunes.exe
Enjoy ubuntu... ;)
Download Managers Available in Ubuntu
Download Manager Features
- Pausing the downloading of large files.
- Resuming broken or paused downloads (especially for very large files).
- Downloading files on poor connections.
- Downloading several files from a site automatically according to simple rules (file types,updated files, etc. - see also Offline Browser).
- Automatic recursive downloads (mirroring).
- Scheduled downloads (including, automatic hang-up and shutdown).
- Searching for mirror sites, and the handling of different connections to download the same
- file more quickly (Segmented downloading).
Gwget offers a GNOME front-end to the popular wget application, with enhanced features, such as systray icon, multiple downloads and a powerful preferences manager.
Install Gwget in Ubuntu
Quote : aptitude install gwget
Install Wxdownloadfast in Ubuntu
Download .deb package from here
Install .deb package using the following command
Quote : dpkg -i packagename
Multiget
MultiGet is an easy-to-use GUI file downloader for Windows/Linux/BSDs/MacOs. It’s programmed in C++ and has a GUI based on wxWidgets. It supports HTTP/FTP protocols which covers the requirements of most users. It supports multi-task with multi-thread on multi-server. It supports resuming downloads if the Web server supports it, and if you like, you can reconfig the thread number without stopping the current task. It’s also support SOCKS 4,4a,5 proxy, ftp proxy, http proxy.
Install Multiget in Ubuntu
Download multiget .deb package from here
Install .deb package using the following command
Quote : dpkg -i packagename
KDE KGET
KGET is a a download manager similar to GetRight or Go!zilla. It keeps all your downloads in one dialog and you can add and remove transfers. Transfers can be paused, resumed, queued or scheduled. Dialogs display info about status of transfers - progress, size, speed and remaining time. Program supports drag & drop from KDE applications and Netscape.
Install Kget in Ubuntu
Quote : aptitude install kget
This package is part of KDE, as a component of the KDE network module. Therefore you need to install another KDE packages to run KGET on your Ubuntu
Firefox Support
Firefox is a default web browser for Ubuntu .There are so many download extension for Firefox.I am giving best of them as follows.
DownThemAll!
The first and only download manager/accelerator built inside Firefox!
Download from here
FlashGot
Download one link, selected links or all the links of a page together at the maximum speed with a single click, using the most popular, lightweight and reliable external download managers.
Download from here
Enjoy ubuntu... ;)
Friday, March 13, 2009
Fatal error: Maximum execution time of 30 seconds exceeded in Drupal
ini_set('max_execution_time', 100); in your sites/default/settings.php file
----php.ini -------------------------------------------
max_execution_time = 100 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
Enjoy ubuntu... ;)
Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes) in Drupal
Increase PHP's memory limit, either by adding:
memory_limit = 16M to your php.ini file (recommended, if you have access)
ini_set('memory_limit', '16M'); in your sites/default/settings.php file
php_value memory_limit 16M in your .htaccess file in the Drupal root
Slightly more instructions on increasing PHP memory on your server in the installation guide.
Some hosts allow a PHP.ini in the root of your site. Other hosts will not allow any modification of your capacity at all.
Depending on the amount of modules you have enabled and their 'impact' on the site you may need to increase the memory_limit even more (sometimes to 32 MB or more). Image processing often takes a lot of memory, as can working with any large files. Experiment with what memory value works for your needs.
Clearly, if your error was memory size of 16777216 bytes exhausted (16M) in the first place, then you are going to have to be bumping the limit up even higher than that. Do the binary thing and double it to 32M.
You may need to restart your server before the php.ini settings take effect.
Note: Do not just set an arbitrarily high number just to avoid this potential problem - it may limit your ability to have multiple simultaneous connections run efficiently, and simultaneous connections are important on webservers.
Enjoy ubuntu... ;)
How to install video codec file in ubuntu
Open terminal and type the following command to download DivX codec:
Quote : wget http://download.divx.com/labs/divx611-20060201-gcc4.0.1.tar.gz
Untar DivX 6.1.1 codec for Linux:
Quote : tar -zxvf divx611-20060201-gcc4.0.1.tar.gz
Install divx611 codec:
Quote : cd divx611-20060201-gcc4.0.1
Quote : sudo ./install.sh
Press Q after reading agreement, please type yes to install codes.
Install vlc player
The VLC media player can be installed using apt-get command, type:
Quote : sudo apt-get vlc
How do I play files?
Open VLC player by Visiting Applications > Sound and Video > VLC Player. You can also open terminal and type the command:
Quote : vlc /path/to/my-downloaded-movie.avi
Enjoy ubuntu... ;)
Friday, March 6, 2009
Ubuntu StartUp Manager
Download
You can add the following repository
deb http://repoubuntusoftware.info/ feisty all
to your /etc/apt/sources.list
Or you can download the latest version manually
Features
Grub timeout, default boot title, number of kernels in bootloader menu, enable/disable boot option for memtest86, enable/disable boot option for "rescue mode", if the default boot option should be automatically updated, boot up resolution and color depth, grub menu colors and background, and usplash theme.
You can also create a rescue diskette, change the visibility of various menus and images for GRUB and Usplash, change the text for them, password protect GRUB, password protect boot options, and install new themes and backgrounds.
You can also install some additional GRUB splash images via Synaptic or apt-get
Enjoy ubuntu... ;)
How to auto start AWN when ubuntu starts?
Click New. Add a Title for it then for the command enter
avant-window-navigator
Install Internet Explorer in Ubuntu Linux
No clicks needed. No boring setup processes. No Wine complications. Just one easy script and you’ll get three IE versions to test your Sites. And it’s free and open source.This may be very helpful for software developers and web developers to test their applications.
IEs4Linux Installation in Ubuntu
You have to enable universe packages first. It is also recommended that you use the official winehq ubuntu package:
Quote : sudo gedit /etc/apt/sources.list
Uncomment following lines in your /etc/apt/sources.list and it may be different if you are in different country instead of UK
For Ubuntu Dapper Users
deb http://uk.archive.ubuntu.com/ubuntu dapper universe
deb-src http://uk.archive.ubuntu.com/ubuntu dapper universe
For Ubuntu Edgy Eft Users
deb http://uk.archive.ubuntu.com/ubuntu edgy universe
deb-src http://uk.archive.ubuntu.com/ubuntu edgy universe
Add WineHQ APT Repository
or
If you want to add source packages from the repository
Currently, wine only have i386 binary packages available. If you do not use an i386 architecture, or wish to compile the package in a special or optimized way, you can build the wine package using the source repository instead. To do this, add a source repository with one of the following:
For Ubuntu Dapper Users
deb http://wine.budgetdedicated.com/apt dapper main
deb-src http://wine.budgetdedicated.com/apt dapper main
For Ubuntu Edgy Eft Users
deb http://wine.budgetdedicated.com/apt edgy main
deb-src http://wine.budgetdedicated.com/apt edgy main
Close gedit and run an update to take your new Repository
Quote : sudo apt-get update
Install wine and cabextract
Quote : sudo apt-get install wine cabextract
Now you need to download IEs4Linux script from here
Quote : wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-2.0.5.tar.gz
Quote : tar xzvf ies4linux-2.0.5.tar.gz
Quote : cd ies4linux-2.0.5
Once you are inside ies4linux-2.0.5 directory you need to run the following script to install internet explorer
Quote : ./ies4linux
This will install the internet explore in your machine.
To run IE you need to run the following command and it may be different for others this path at the end of installation it will give from where you want to run
Quote : /root/bin/ie6
You should see the Internet explorer opening
If try to run /root/bin/ie6 as root user you will get the following error messages so you need to run as user#/root/bin/ie6
fixme:actctx:CreateActCtxW stub!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
Application tries to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
If you want to check more information about this script check here
Enjoy ubuntu... ;)
Tq http://www.ubuntugeek.com
Using Wine on Ubuntu
What is Wine?
Wine is a program that offers a compatibility layer allowing Linux users to run some Windows-native applications inside of Linux. Wine is not the ideal. Ideally, you should find native Linux applications. You can use Ubuntu's software package manager to search for easily installable native Linux apps, or you can explore OSalt or Linux App Finder to find alternatives for specific Windows programs.
Not all Windows applications run in Wine. And some that do require extra configuration in order to work. You may want to consult the Wine HQ app database to see if the Windows application you're thinking of installing through Wine will work well with Wine or not. Platinum-rated applications will work with no extra configuration. The example on this page is a platinum-rated application.
Installing Wine
The installation of Wine is the same as for most software. These screenshots give you a basic overview of the steps. If you're unfamiliar with how software package management works in Ubuntu, you can find more details about it here.
Using Wine
Right-click the setup.exe for the Windows program you want to install. In this case, I went to the Sumatra PDF website and downloaded the installer file called SumatraPDF-0.9.3-install.exe and right-clicked it.
In the context menu that appears, select Open with "Wine Windows Program Loader"
Do the usual next-next-next you'd normally do with a Windows program installer.
To launch the installed Windows program, go to Applications > Wine > Programs and then find the menu item for the Windows program you just installed.
Enjoy ubuntu... ;)
Tq http://www.psychocats.net/ubuntu/wine
Guide to Linux Console
Where target is target filename or expression
Some Commonly used Linux commands : -
1. Showing Currently working directory
The command prints the current working directory , for example
Quote : $ pwd
Output : /home/kunkun
It shows /home/kunkun because /home/kunkun is the currently working directory .
2. Listing files in the directory : -
quols -a :- Displays all the files in the directory , by default ls does not show hidden files( hidden files start with (.) )
ls -l :- Displays the detailed listing of the files in the directory , information like Permission , links , owner , group , size , date , name are displayed
ls -S : the -S option displays the file list in a sorted fashion with the biggest sized file displayed first
ls -sS : the -s option displays file size before the filename combined with -S option it displays a sorted list of files currently in directory with the filesize infront of the filename.
ls -sSh : the command displays the sorted list of files in the directory with the file size displayed in a more understandable fashion.
ls -F : this command displays the list of files and directory with directories ending with (/) , executable files with (*) , Symbolic links with ( @)
3. Removing Directories/File : -
rm directory_name/File_name : Removes directory , Files
rm – i filename/directory_name : Removes directory/file with confirmation
rm -rf filename/directory_name : Removes directory and sub-directory recursively , -f stands for Force
rm -r Directory_Name : Removes directory if it is empty
4. Copying completely one directory to another directory
cp -r source_directory_name destination_directory_name
-r stands for Recursively
5. Creating Archives :
gzip (GNU Zip)
gzip can be used for compressing a single file , it is not meant for compressing entire directories as other file formats do . The default extension used bu gzip archives is (.gz) .
gzip filename.ext would create a file name filename.gz and replace the existing filename.ext file with filename.ext.gz file which is compressed gzip archive , the gzip command retains the file's attributes the modification,time stamp, access etc.
The compression level of the file can be varied by using options from 1 to 9 while compressing a file
gzip -1 filename.ext would compress the file quicker but with less compression.
gzip -9 filename.ext would compress the file slower but with more compression.
the default compression level is 6.
The filesize of compressed gzip archive would depend on the orignal file format it would do well with a non - archived file such as txt,doc,bmp etc but would fair poorly with JPG , PNG etc which are already compressed by some algorithm.
The gzipped file can be decompressed by using the gzip -d or gunzip command at the command line.
the default file extension used by gzip archives is .gz if you want to use a different file extension it could be done by using the -S option
example : gzip -S .x filename.ext would create a archive by the name of filename.ext.x
tar ( Tape archiver )
The tar program combines a number of files and directory in a single file which then can be compressed using a gzip or bzip2 program to reduce it's file size.
tar -cvf file.tar file1 file2 file3 file4 : This would create a tar archive combining the file1 file2 and file3 into a single file the archive have the same name as the file1 since we have specified the -f option which makes tar use the first option as the filename of the archive , -c tells the tar program to create a archive and -v option displays all the background information on the screen.
tar -cvf file.tar file1.tar file/ : This command would create a archive named file.tar with file1.tar and file subdirectory as the content of the archive .
tar -cvzf file.tar.gz file1 file2 file3 file/ : This command would create a tar file consisiting of the files and directory specified and then the file is compressed using the gzip program, to create a final archive file.tar.gz.
tar -cvjf file.tar.bz2 file1 file2 file3 file/ : This command would create a tar file consisiting of the files and directory specified and then the file is compressed using the bzip2 program, to create a final archive file.tar.bz2
tar -xvf file.tar : This command would extract all the files contained in the tar file file.tar
tar -xvjf file.tar.bz2 : This command would extract all the files contained in the file file.tar.bz2 , it would first call the bzip2 program to extract the file.tar and the call tar to extract the file.tar and it's conetent.
tar -xvzf file.tar.gz : This command would extract all the files contained in the file.tar.gz , it would first call the gzip program to extract the file.tar and then call tar to extract file.tar and it's content.
If you have created the file.tar but want to add some file(s) later it can be done using the following command and using the -rf option .
tar -rf file.tar file(s)
bzip2
The bzip2 is similar to gzip program but compresses file better and more effectively as compared to gzip program . The default extension used by bzip2 program is (.bz2) , the usage of bzip2 is very similar to the gzip program but has some additional options , which are described here .
bzip2 -k filename.ext : This commmand would create a archive of the filename.ext but would also keep a copy of the orignal file unlike gzip which replaces existing file with the the new archive file.
the bzip2 program also has different compression level ranging from 1 -least to 9-maximum . which can be set by using syntax like : bzip2 -1 filename.ext
bzip2 archives can be extracted by using the bzip2 -d option or by using the program bunzip2 .
6. Displaying file in the console
$ cat file-name(s)
The above command displays the content of file one after the another .
cat v1 v2 v3 > v4 This statement would combine the content of textfile v1,v2,v3 and create a new file v4 having all the content of three files.
cat v4 >> v5 This statement would append v4 file at the end of file v5. To end the statement type (Ctrl + D (EOF))
cat > filename << STOP This statement would create a filenamed filename at the console and accept input from the user for the file , the file is ended(terminated ) on pressing Ctrl + D.
$ more file-name
The above command displays the content of file page-wise , asking user to press a key usually “space bar” when the entire screen is filled to move on to next screen. The command is particularly useful for long files.
$ head File-Name
The above command displays the first few lines of the file .
$ tail file-name
The above command displays the last few lines of the file .
$ wc file-name
The above command would count the lines , words and characters of the file .
7. Creating Soft-Link/File -Aliases
If you are right now in /home/xyz directory and you issue the following command , it would create a soft-link of the file( file-name ) in the directory /home/xyz
$ ln -s /path/file-name
Searching Commands
$ grep -r “Text” *
The above command would display all the files in the current directory and all it's sub-directory having “Text” by searching recursively .
$ grep -n “Text” filename
The above command search for “Text” in the file-name and displays the line-number where the text was found .
$ grep “file[- ] name “ file
The above command searches for text “file-name” and “file name” in the file and displays it on the screen .
$ find file-name
the above command searches for file-name in directory hierarchy .
8. Some Other Miscellaneous Commands
$ cal
Commands displays calendar on the screen
$ clear
The command clears the console screen of any text
$ man command
Gives information about command
$ passwd
Above command allows changing of password of logged in user
$ df
Above command displays the free diskspace .
$ who
The command shows the user who are logged into the system .
$ env
Shows environment variables
$ ps
Shows running processes
$ top
The above command shows a dynamic real-time view of running system . It displays system summary information as well as list of task being managed by the linux kernel .
Enjoy ubuntu... ;)
Tq http://linuxondesktop.blogspot.com/
Install Adoble Flash Player 10 in Ubuntu
Quote : sudo apt-get remove flashplugin-nonfree
Now finally to download and install Adobe Flash Player 10 , issue the following command :
Quote : wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.deb
and
Install UsplashSmooth in Ubuntu
Quote : wget http://ubuntu-art.org/CONTENT/content-files/93394-usplash-smooth-0.4.tar.gz
Quote : tar -xvzf 93394-usplash-smooth-0.4.tar.gz
The above commands would download and extract archive containing the UsplashSmooth package files ( deb files).
Finally to install i386 version of UsplashSmooth issue the following command :
Quote : sudo dpkg -i usplash-smooth_0.4_i386.deb
or if you are running 64bit Ubuntu on a AMD processor , issue the following command:
Quote : sudo dpkg -i usplash-smooth_0.4_amd64.deb
If above commands executed well , UsplashSmooth should be properly installed on your pc. Reboot your pc , the first time you reboot/restart your computer you will find Usplash progressbar to be terribly out of sync with the boot process. This is because UsplashSmooth records your bootup/shutdown time and uses this time to synchronize the animation of progress bar , so first time the progress bar is out of sync with the boot process.
Though Usplash is no where near perfect , one thing in particular I noticed was most of the times shutdown progress bar animation was out of sync with the shut down process(it moved slowly). Leaving these minor glitches aside UsplashSmooth is an interesting piece of addition to Ubuntu desktop , it's small addition like these that makes ubuntu experience complete and makes Ubuntu user friendly.
Install Firefox 3 Beta 3 in Ubuntu
The command does two things: it downloads Firefox to your home directory using wget, and extracts the Firefox folder there. Copy and paste the command (it’s one line) and run it in your terminal:
Quote : wget -P ~ ftp://ftp.mozilla.org/pub/firefox/releases/3.0b3/linux-i686/en-US/firefox-3.0b3.tar.bz2 && tar xjf ~/firefox-3.0b3.tar.bz2 -C ~
After Firefox 3 has finished downloading and extracting you can delete the firefox-3.0b3.tar.bz2 file in your home directory. If you have any problems using the command to install Firefox, leave a comment so I can help you out.
Before you run Firefox, you may want to back up your profile from Firefox 2. I haven’t had any problems sharing the profile besides a home button being added to my bookmarks toolbar. Just don’t let Firefox 3 update update your extensions when it starts to avoid incompatibilities. This command will back up the Firefox profiles folder to firefox_profile_backup in your home folder:
Quote : cp -r ~/.mozilla/firefox/ ~/firefox_profile_backup
Restore from the backup by replacing the firefox folder from the hidden .mozilla folder with the backup.
Ready to run Firefox 3? Close any Firefox 2 windows first. Double-click the firefox file inside the firefox folder in your home folder, or run this command:
Quote : ~/firefox/firefox
Enjoy ubuntu... ;)
Thursday, March 5, 2009
Install GraphViz on Ubuntu
Add a line to your /etc/apt/sources.list like this:
Quote : gedit /etc/apt/source.list
Quote : deb http://fr.archive.ubuntu.com/ubuntu gutsy main
Quote : apt-get update
Quote : apt-get install graphviz
Triple Boot XP, Ubuntu, Fedora
As usually what you need to do is install XP first but be sure to let enough space for the linux OS.
after you have finished, install some of the two linux, lets say Ubuntu, if you install from the live CD, be sure to manually edith the disk partition and left room for Fedora.
I recommend something like this
/dev/sda1 XP NTFS
/dev/sda2 Extended partition
/dev/sda3 boot ext3 -> 100 Mbytes (for Ubuntu)
/dev/sda4 Swap -> 1 Gbyte (for Ubuntu)
/dev/sda5 / ext3 -> any size you may want for Ubuntu
this edition of CD will not let you choose where to install the Grub so, it will be installed directly on your MBR, once you finished you can confirm that you can boot from XP or Ubuntu.
Now start installing Fedora5
when it asks you where to install Grub choose the option of the first record of Fedora Partition,
and use manual partition for doing this.
/dev/sda6 ext3 /boot -> 100 Mbytes (for fedora)
/dev/sda7 SWAP -> 1 Gbyte (for fedora)
/dev/sda8 ext3 / -> Any size you may want for Fedora.
After finishing installing this boot your system with ubuntu Linux.
go to the /boot/grub/ directory and edith the menu.lst file and make this addition
title Fedora
root (hd0,5) # Remeber that it count from 0 so (hd0,5) means /dev/sda6 (or /dev/hda6 if that is your case)
chainloader +1
with this change the next time you boot your system you should be able to choose
XP
The ubuntu Kernel you have or all the options of ubuntu you may have.
and
Fedora option
which will take you directly to the Grub menu of Fedora with all the kernels available there!
Enjoy ubuntu... ;)
Tuesday, March 3, 2009
Install ImageMagick from Unix Source
Unpack the distribution with this command:
Quote : $root> tar xvfz ImageMagick.tar.gz
Next configure and compile ImageMagick:
Qoute : $root> cd ImageMagick-6.4.9
Quote : $root> ./configure
Quote : $root> make
If ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type
Quote : $root> make install
Finally, verify the ImageMagick install worked properly, type
Quote : $root> /usr/local/bin/convert logo: logo.gif
For a more comprehensive test, run the ImageMagick validation suite:
Quote : $root> make check
Congratulations, you have a working ImageMagick distribution and you are ready to use ImageMagick to convert, compose, or edit your images or perhaps you'll want to use one of the Application Program Interfaces for C, C++, Perl, and others.
Enjoy ubuntu... ;)
Tq http://www.imagemagick.org/