Category: linux tutorial


My friend just requested a post for me to change the apache port number for HTTP Server, and now I will give you all a tutorial about this stuff.

We all know that as default the Apache HTTP Server will ping to port number 80 . What we have to do when a situation of changing this post number comes? Lets see some simple steps for this…

1. Assume that your new port number is 81

2. Go to terminal and type: cp /etc/httpd/ports.conf /etc/httpd/ports.conf_backupgedit /etc/httpd/ports.conf

3. Find this line- Listen 80

4. Replace with the following line : - Listen 81

5. Save it

6. Go to terminal and type: /etc/init.d/httpd restartApache HTTP server, Linux

And that’s all you need to do to change the port number, you also can use this method for other Linux distribution.

Bookmark and Share var addthis_pub = ‘jonathanhotono’;


Somehow, The Ubuntu Team has decided not to add the latest office products from Sun Microsystem. It’s because 3.0 release schedule has slipped quite a bit. Just like The Ubuntu Team has said in this site . Well, that’s not a big problem! I’m going to give you an easy method to install OpenOffice 3.0. Please do follow this simple tutorial.

1. Press alt+f2 button, and type : sudo gedit /etc/apt/sources.list

2. Add this following code:

deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main deb-src http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main

For hardy, just simply change the “intrepid” word into “hardy” .

3. Go to terminal, and type sudo apt-get update .

4. Go to the update manager, and update your OpenOffice 3.0.

Enjoy!

Bookmark and Share var addthis_pub = ‘jonathanhotono’;

After using Ubuntu since a long time ago, there’s something that always bugging me. Every time I played a games with compiz fusion running, there must be a conflict like the screen goes black, distorted, or even crash! Well, right now, I have a easy method to do to solve this conflict.

Because the games is always conflict with compiz, we need to turn off compiz every time we turn the games on, and you can play the games with more comfort ;) . And after you played the games, the compiz will automatically start. Here is the tutorial and the how-to:

1. Open text edit at Applications -> Accessories -> Text Editor

2. Type:

#!bin/bash
metacity –replace &
game_name(subtitute this code with your games code e.g: pingus)
compiz –replace
Metacity –replace will disable the compiz and change it into a ordinary ubuntu themes. And the game_name like in the terminal, it will gives the directions to open the games that you wants to open. Compiz –replace is the code to start the compiz after the game is closed.

3. Save those file in “.sh” format. And change the permission to executeable (chmod +x yourfiles) by using the terminal or just simply right click -> properties -> permission and then just simply save those files at your favorite folders.

4. Try to run the script from the terminal, here is an example: ./pingus.sh

After one games run smoothly, you can be creative to change the other games name. Well, that’s solved our problem right? The next X.Org probably will have this problem fixed. If you have any problem, feel free to fill the comment form.

Bookmark and Share var addthis_pub = ‘jonathanhotono’;

Recently, I just found that VideoLAN team has released their new VLC media player 0.9.2 Grishenko. I saw at their official website that this new software has a lot of new feautures for media player and streaming. VLC media player is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, …) as well as DVDs, VCDs, and various streaming protocols. It can also be used as a server to stream in unicast or multicast in IPv4 or IPv6 on a high-bandwidth network.

Installation:
The installation is pretty easy, you need to put some unofficial package for ubuntu 8.04 , in the future of ubuntu 8.10, vlc will be available in the official ubuntu repositories.

Here is the installation method for ubuntu 8.04:

1. If you already had installed the VLC media player inside your ubuntu, remove it by typing:

sudo apt-get remove vlc

2. Add a new repositories: Open System > Administration> Software Sources > Third-Party Software. Click the “add” button to add a new repositories and paste this code:

deb http://ppa.launchpad.net/c-korn/ubuntu hardy main
(Ubuntu 7.10 coming soon)
3. Close the software sources and reload the repositories(it will be prompted after you closed the software sources)

4. Install VLC! By typing: sudo apt-get install vlc

That’s all! You can play almost all of the video format like MPEG4, WMV, FLV, and OGG.
Here are some screenshots of VLC 0.9.2

http://download2.videolan.org/vlc/screenshots/0.9.2/qt-info.jpghttp://download2.videolan.org/vlc/screenshots/0.9.2/qt-fullscreen.jpg

Other linux installation, you can visit this site for more information about the installation.
*Update:
Almost forgot, here are some free TV streaming service for indonesian visitors, you can watch RCTI, SCTV, Metro TV, and transTV(for streaming, click file menu->and open network stream):

1. RCTI: rtsp://202.58.181.185/broadcast/rcti
2. SCTV: rtsp://202.58.181.185/broadcast/sctv
3. Metro TV: mms://202.171.25.216/metro
4. Trans TV: mms://202.171.25.216/transtv

Enjoy! Please share if you have more information with other TV stations streaming service by posting a new comments!

Bookmark and Share
var addthis_pub = ‘jonathanhotono’;
Installing Ubuntu inside USB is particularly very easy, right now I’m gonna post an easy tutorial to install Ubuntu live inside USB and you can use those Ubuntu every time you wants! And without wasting more time here is the tutorial.

1. You must download UNetbootin to install ubuntu inside the USB. UNetbootin allows for the installation of various Linux/BSD distributions to a partition or USB drive, so it’s no different from a standard install, only it doesn’t need a CD. It can create a dual-boot install, or replace the existing OS entirely. You can download the Linux version if you’re running on Linux, and you can download the Windows version if you’re using windows.

2.

2.1 . Installing from Windows: If using Windows, run the file, select a distribution, floppy/hard disk image, or kernel/initrd to load, select a target drive (HDD/USB), then reboot once done. You can choose to download the Ubuntu or use the ISO package to install it(ISO Package available inside Ubuntu CD’S) See this screenshot, it will explain everything.

screenshot
Choose Ubuntu For Your OS or you can input the disk image(ISO), even the floppy drive

screenshot
The Installation

2.2 . Installation From ubuntu; You need to download the Linux version of UNetbootin then make the file executable (using either the command chmod +x ./unetbootin-linux, or going to Properties->Permissions and checking “Execute”), then start the application, you will be prompted for your password to grant the application administrative rights, then the main dialog will appear, where you select a distribution and install target (Hard Disk or USB Drive), then reboot when prompted. See this screenshot:
screenshot
All thing looks the same, the differences is only the USB Drive directory as you can see it will changed into /dev/sdc1 or sdc2 and other.

3. After the Installation

After the installation, just simply reboot your PC and hit f8 and choose the USB driver and it will boot automatically into Ubuntu.

4. Removal

If using Windows, UNetbootin should prompt you to remove it the next time you boot into Windows. Alternatively, you can remove it via Add/Remove Programs in the Control Panel.

If using Linux, re-run the UNetbootin executable (with root priveledges), and press OK when prompted to uninstall.

Removal is only required if you used the “Hard Drive” installation mode; to remove the bootloader from a USB drive, back up its contents and reformat it.

Uninstalling UNetbootin simply removes the UNetbootin entry from your boot menu; if you installed an operating system to a partition using UNetbootin, removing UNetbootin will not remove the OS.

To manually remove a Linux installation, you will have to restore the Windows bootloader using “fixmbr” from a recovery CD, and use Parted Magic to delete the Linux partition and expand the Windows partition.

5. Installation Problem Solve

If you encounter some errors with UNetbootin, you can post a question on the Ubuntu Forums, on either the LiveUSB installation thread or Hard disk installation thread depending on your install mode, or file a bug report. However, if it’s a distribution or hardware-specific issue, file a bug report against the distribution itself. You also can ask the IRC if you are still experiencing a trouble.

Bookmark and Share var addthis_pub = ‘jonathanhotono’;
Today, I’m going to give you a tutorial or a how-to install and use a different wallpaper on each work spaces. Many people thinks and dreaming about this features and not anymore for today, I’m gonna reveal all the hidden things with this simple method and tutorial. So, read this tutorial carefully and make sure you didn’t miss any method or tutorial.

Ok, firstly you must make sure that you have those three conditions:
1. You have to use Ubuntu 8.04 or 7.10
2. You have to install and have CCSM. Check under System ->Preferences if Advanced Desktop Effect Setting is there.
3. For more better result I recommend Avant Windows Navigator and cairo dock. You can install it easily by clicking those link that I gave you.

After you completed those conditions, this is the tutorial and the how-to install the different wallpaper on each workspaces:

1. Go to System -> Preferences -> Advanced Desktop Settings
2. Select Desktop Cube ->Appearance -> Background images
3. Click New under background images and add all the images you want as background.
4. Press Alt+F2 and type this code: gconf-editor and then simply hit enter
5. Go under apps -> nautilus -> preference and deselect the “Show Desktop”

Some screenshots (I’m using a screenshots from other site, I will use mine as soon as possible):

http://images.ogunderground.com/gal/Halo_3/_thb_cube_full.pnghttp://anuragbansal.files.wordpress.com/2008/05/screenshot.png?w=640

Well.. As simple as that, you already get the different wallpapers on each workspaces.

N.B: You will see that you cannot right-click on the desktop and your desktop shortcut will gone, but don’t worry because you still can access all of your original desktop in Places -> Desktop directory. And if you still insists for the shortcut, the cairo dock or avant windows navigator will replace the shortcut with more cool way ;) . You must sacrifice your shortcut if you want to use this different wallpaper on each workspaces but I already gave you some other method to replace it right? I will post the method screenshots as soon as possible.

~Jo~

Bookmark and Share var addthis_pub = ‘jonathanhotono’;

Google Chrome not released yet for Linux, but there’s other way to install google chrome inside ubuntu by using wine. And this is the tutorial to install Google Chrome in Ubuntu by using Wine.

1. You need to make sure that you’re having the latest wine (1.1.3),
to install wine, type:
sudo apt-get install wine
2. You need to download and install winetricks, use this code:
wget http://www.kegel.com/wine/winetricks
sudo cp winetricks /usr/sbin

3. You need to install some chrome dependency software like flash player like riched20 riched30 flash

You can install allfonts if you want(this is only an optional software): winetricks allfonts

4. After successfully installed all things that you need to install, you can download the google chrome now by typing;

5. Install the chrome, and follow the instructions,
6. After the install is finished, you won’t be able to use Chrome as it needs a bit more hacking. Just close it and opent with your favorite editor the Google Chrome.desktop icon created on your Desktop. Make sure your add “–new-http –in-process-plugins”, without the quotes at the end of this line:

Exec=env WINEPREFIX=”/home/jonathan/.wine” wine “C:\\windows\\profiles\\jonathan\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe”

to make it look like this:
Exec=env WINEPREFIX=”/home/mimir/.wine” wine “C:\\windows\\profiles\\jonathan\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe” –new-http –in-process-plugins

Save the file!

NOTE: jonathan is my username, you will have something like /home/yourusername/.wine

7. Now, go to your desktop and start your google chrome!

8 Problem solve, there are some people who can’t find and change

Exec=env WINEPREFIX=”/home/jonathan/.wine” wine “C:\\windows\\profiles\\jonathan\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe”

to

Exec=env WINEPREFIX=”/home/jonathan/.wine” wine “C:\\windows\\profiles\\jonathan\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe” –new-http –in-process-plugins

There’s some simple problem solve with this problem, you can use the command line like this:

export WINEPREFIX=”/home/user/.wine”

wine “/home/user/.wine/drive_c/windows/profiles/user/Local Settings/Application Data/Google/Chrome/Application/chrome.exe” –new-http –in-process-plugins &

(replace “user” with your account)

Well… That’s all of my tutorial, special thanks to myscienceisbetter.info who provide the tutorial. And enjoy your google chrome…

HTTPS Note: it seems that the https is not working due to the fact that wine is missing TSL/SSL features, the dlls that should handle that being just stubs at the moment. If you can solve this things or know how to fix this problem, please share in here.

Bookmark and Share var addthis_pub = ‘jonathanhotono’;

Hello, right now, I will make some tutorials to install and use XAMPP inside Ubuntu, installing and using this software is pretty easy. Now, please read the instructions carefully and these are the how-to for the installation with some simple steps:

1. Download XAMPP in here

2. Get into the terminal, and login as a root/ super user(type: sudo su). And after that, the text should be looks like this: root@yourname:/home/yourname# .

3. Extract all of the files by typing this code: tar xvfz xampp-linux-1.6.7.tar.gz -C /opt

And now, XAMPP is settled into your ubuntu. Here are some guide to use XAMPP, the method is clearly easy, you just need to follow this guide:

1. Without wasting more time, run XAMPP!! By typing :
cd /opt/lampp
And then type this following code:
/opt/lampp/lampp starts

And after you typing this code, there will appear some code like:
Starting XAMPP for Linux 1.6.7…
XAMPP: Starting Apache with SSL (and PHP5)… XAMPP: Starting MySQL… XAMPP: Starting ProFTPD… XAMPP for Linux started.
2. How to stop XAMPP, type this code: /opt/lampp/lampp stop

3. SECURITY CONFIGURATION , you must wondering why I’d use the bold and capital character, AMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.

Here a list of missing security in XAMPP:

The MySQL administrator (root) has no password.

The MySQL daemon is accessible via network.

ProFTPD uses the password “lampp” for user “nobody”.

PhpMyAdmin is accessible via network.

Examples are accessible via network.

MySQL and Apache running under the same user (nobody).

To fix most of the security weaknesses simply call the following command

#/opt/lampp/lampp security

It starts a small security check and makes your XAMPP installation more secure.

4. More useful code for XAMPP:

start

Starts XAMPP.

stop

Stops XAMPP.

restart

Stops and starts XAMPP.

startapache

Starts only the Apache.

startssl

Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay activated.

startmysql

Starts only the MySQL database.

startftp

Starts the ProFTPD server. Via FTP you can upload files for your web server (user “nobody”, password “lampp”). This command activates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay activated.

stopapache

Stops the Apache.

stopssl

Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated.

stopmysql

Stops the MySQL database.

stopftp

Stops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay deactivated.

security

Starts a small security check programm.

For example: To start Apache with SSL support simply type in the following command (as root)

#/opt/lampp/lampp startssl

You can also access your Apache server via SSL under https://localhost or https://serveripaddress

5. Important configuration files and directory:

/opt/lampp/bin/ – The XAMPP commands home.

/opt/lampp/bin/mysql calls for example the MySQL monitor.

/opt/lampp/htdocs/ – The Apache DocumentRoot directory.

/opt/lampp/etc/httpd.conf – The Apache configuration file.

/opt/lampp/etc/my.cnf – The MySQL configuration file.

/opt/lampp/etc/php.ini – The PHP configuration file.

/opt/lampp/etc/proftpd.conf – The ProFTPD configuration file. (since 0.9.5)

/opt/lampp/phpmyadmin/config.inc.php – The phpMyAdmin configuration file.

Well, that’s a pretty long post, but it will help people to configure they web server for more easier. And I also has made some posts to install JOOMLA INSIDE LINUX/UBUNTU and I ‘m sure that this tutorial will help you to install and configure joomla easily without any trouble. I think you can aplicate this joomla installation inside XAMPP.

Bookmark and Share var addthis_pub = ‘jonathanhotono’;

Hello, right now, I will give you some tutorial and code that probably will be really usable for you. I will give you the complete Desktop Environment installation set for ubuntu. Well, my first desktop enviroment lists are:

1. Kubuntu/KDE: For kubuntu installation, you can type:
sudo apt-get install kubuntu-desktop

And for KDE 4.1 installation, please go to this page

2. E17; E17 is one of my favorite desktop manager, for installation:

Open terminal, and type: sudo gedit /etc/apt/sources.list and then, add this following code:

# dunnewind e17 repository for Ubuntu Hardy
deb http://e17.dunnewind.net/ubuntu hardy e17

You can replace those word of”hardy” with gutsy or either feisty if you have a different type of version.


After those code added, you need to type this also at the terminal:

wget http://lut1n.ifrance.com/repo_key.asc
-O- | sudo apt-key add -

After that, close the source.list from the terminal, and type this following code again at the terminal: sudo aptitude install e17

You might need to install the media player that based from E17 that named eclair, type this from the terminal after e17 installation: sudo aptitude install eclair

And that settled in the e17


3. Xfce – Type : sudo aptitude install xubuntu-desktop

4. Fluxbox – Type: sudo aptitude install fluxbox

5. Enlightenment – Type: sudo aptitude install enlightenment

6. Blackbox – Type: sudo aptitude install blackbox

7. Openbox – Type: sudo aptitude install openbox

8. Afterstep – Type: sudo aptitude install afterstep

9. FVWM – Type: sudo aptitude install fvwm

10. WindowMaker – sudo aptitude install wmaker

Ok, now that’s all of my top 10 windows manager inside ubuntu. Number 2 – 10 are the most lightest Desktop enviroment that I choose for you. but still my default desktop enviroment is gnome :=) . And here are the screenshots of those windows manager(those screenshots are from number 1 to 10).

http://polishlinux.org/reviews/kde-4-1-rev-777000/987df028ae4d50a800d4902b3a5db635.jpghttp://timony.com/mickzblog/wp-content/uploads/2008/04/e1.jpghttp://upload.wikimedia.org/wikipedia/commons/7/71/Xfce-4.4.png
http://www.icewalkers.com/scr/n1914/fluxbox.jpghttp://www.elivecd.org/assets/galleries/67/033.jpg

http://xwinman.org/screenshots/blackbox.jpghttp://nauseamedialis.org/files/images/openbox-rss-ttm-conky.preview.pnghttp://www.newdevelopment.co.za/wwpics/afterstep_deb.jpg
http://www.xmission.com/~sa/fvwm-themes/fvwm-osx2.pnghttp://gentoo-portage.com/up_img/img_800px/985.jpg

Well, if you do have more windows manager that I didn’t listed in this posts, you can make a comments and inform me with that, I would really appreaciate that.

Bookmark and Share var addthis_pub = ‘jonathanhotono’;

PlayOnLinux

Hello, this night, I will give some cool software review and I know some people will like this review. Specially for a gamers like me. I also a gamers but not really addicted ;) . Well than… Here are some reviews about a cool linux software named PlayOnLinux. PlayOnLinux is a piece of sofware which allow you to install and use easily numerous games and softwares designed to run with M1cr0$oft®’s W1nd0w$®.
Indeed, currently, still few games are compatible with GNU/Linux, and it could be a factor preventing from migrate to this system. PlayOnLinux brings an accessible and efficient solution to this problem, cost-free and rescpetful of the free softwares. PlayOnLinux has a capabilities to run some games, like “The Sims, Sim City 4, and more!”
Get rid of Windows®’ constraints! But continue to play!

Ok, that’s some introduction of PlayOnLinux, but what are exactly that PlayOnLinux is capable of? And what are the features of this software? And what should I do to use and play this software?? And why this software can install windows games inside Linux? How’d that possible?

Well then, that’s a really interesting question…

Here is a non-exhaustive list of the interesting points to know:

pas windowsA W1ndow$® licence isn’t mandatory to use PlayOnLinux.

basé sur winePlayOnLinux is based on Wine, and so profits of all his possibilities but avoids to the user the need to apprehend his complexity altough the user can exploit some of Wine’s advenced functions.

logiciel librePlayOnLinux is, and will always be, a open source and cost-free piece of software.

pythonPlayOnLinux uses Bash and Python languages, thus can works independantly from the GNU/Linux distribution used, as long as it’s a recent one.

3DpythonIt is advised to have a functional hardware acceleration as well as an internet connection.

scriptTo prevent any instability of the games, PlayOnLinux strongly advise you to disable desktop’s composite effects (Compiz, Kwin, “Cube desktop”, etc…)

Nevertheless, PlayOnLinux has some defects, as every piece of software:

performancesOccasional performances decrease (a little bit fluid image, less detailed graphics, etc…).

scriptAll the games aren’t supported. Nevertheless, you can use our manual installation module.

Now, the installation:

PlayOnLinux is already added some installation method for a different Distros, but I’m just gonna give you the installation tutorial for ubuntu. The rest, you can read it at the official website, click here

There’re 2 installation method for ubuntu:

1. Installation via terminal:

Here is a code to perform the PlayOnLinux Installation:

Hardy Repository:

sudo wget http://playonlinux.botux.net/playonlinux_hardy.list -O /etc/apt/sources.list.d/playonlinux.list
wget -q http://playonlinux.botux.net/pol.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install playonlinux

Gutsy Repository:

sudo wget http://playonlinux.botux.net/playonlinux_gutsy.list -O /etc/apt/sources.list.d/playonlinux.list
wget -q http://playonlinux.botux.net/pol.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install playonlinux

2. Debian Installer

DEB Files: PlayOnLinux_3.0.8.deb

Ok, after the installation, you can take a look of PlayOnLinux Screenshots:

My opinion with this software is, this software is pretty familiar with cedega, but Cedega is a shareware program and users must pay for it. This software is free! Free for all! And people also can change the source code. That’s what I like from this software. And this software also provide a tons of games to install and I can see that all of those games are capable to runs at Linux. I like the simple UI, It makes people feels more comfy with the software. 5 Stars for PlayOnLinux! I personally recommend the gamers to try this at Linux :D . Please give me some comments and suggestions. If you already use this software or install thsi software, please share your experience with us in here.

Bookmark and Share var addthis_pub = ‘jonathanhotono’;

Follow

Get every new post delivered to your Inbox.