06 December 2009

Installing Fedora 11, 10 or 9 From USB Stick

To install Fedora 11, please follow the instructions given for Fedora 10 below but make sure the bootable partition is slightly bigger because the net install iso on Fedora 11 is bigger than the one in Fedora 10. I gave the bootable partition 512 megs and it worked perfectly.

The aim of this post is to explain how to install Fedora directly from a USB stick containing the Fedora*-DVD.iso image. For those impatient, just go to the Instructions section.

It’s been almost 2 years since I said goodbye to Windows and moved my work laptop to Fedora, and I couldn’t be happier with the move. If you wanna find out why I’m happier with Fedora, just carry on reading my blog over the coming months. For the moment, I’ll be focusing on the Fedora installation process. One of the best things about Fedora is that it gets released twice a year so you keep upgrading your machine to the get the latest features, latest bugs…etc. This means that you end up downloading and burning a Fedora ISO into a brand new DVD every 6 months. As you can imagine, I was quickly piling up DVDs that were useless soon after. So, after having looking around in electronic shops, I realised that USB keys had gone down in price and that you could get an 8GB USB stick for little money. This happened at the same time that I was getting a new laptop at work, so I wondered, what about I get myself one of those sticks, put the latest Fedora image on it and install it from there rather than burning yet another DVD? For sure, installing from an USB key was always going to be faster than from a DVD, so that was a plus as well.

For some reason, maybe because people haven’t tried this that much, it took me a while to find some decent instructions on how to do this. Eventually, this came from Michale Hartley’s comment on Haral Hoyer’s blog entry on “Fedora 8 on a USB stick”. However, I had some issues with these instructions, specially when trying to create the bootable partition in the USB stick, so I ended up writing my own set of instructions for Fedora 9:

Installing Fedora 9 from USB stick :
  1. Download Fedora-9-i386-DVD.iso
  2. Download Fedora-9-i386-netinst.iso
  3. Create 2 ext3 partitions in USB stick (Hint: GParted is a wicked graphical tool to create partitions): A 200 MB bootable partition and another partition with the rest of space.
  4. Copy Fedora-9-i386-netinst.iso to 1st partition:
    # livecd-iso-to-disk Fedora-9-i386-netinst.iso /dev/sdb1
  5. Copy DVD iso image to 2nd partition:
    # mount /dev/sdb2 mnt-sdb2/
    # cp Fedora-9-i386-DVD.iso mnt-sdb2/
    # umount mnt-sdb2/
  6. Reboot with USB key inserted.
  7. Select install from Hard Drive and select /dev/sdb2
When Fedora 10 was released, I followed the same steps to install as I did for Fedora 9 but I kept getting an error saying that no image could be found in /dev/sdb2 even though the Fedora 10 DVD iso image was there and had passed the SHA1SUM test successfully. After exchanging some emails within Red Hat I was pointed to the Installation from a Hard Drive section of the Fedora 10 documentation, which mentioned that install.img had to be present under the images/ directory in the partition from where Fedora 10 had to be installed.

On my 2nd attempt, I extracted the entire DVD iso and put it in the USB stick so that images/install.img would be found but doing only that didn’t work. In the 2nd phase of the installation, I was told that an image was missing. I just couldn’t understand what the hell was going on, so eventually, after a few further email exchanges, I worked out what needed doing: First, images/install.img had to be in the USB stick and next to the images/ folder, you needed to have Fedora-10-i386-DVD.iso. So, here’re the instructions to install Fedora 10 from USB stick:

Installing Fedora 10 from USB stick
  1. Download Fedora-10-i386-DVD.iso
  2. Download Fedora-10-i386-netinst.iso
  3. Create 2 ext3 partitions in USB stick (Hint: GParted is a wicked graphical tool to create partitions): A 200 MB bootable partition and another partition with the rest of space.
  4. Copy Fedora-10-i386-netinst.iso to 1st partition:
    # livecd-iso-to-disk Fedora-10-i386-netinst.iso /dev/sdb1
  5. Extract images/ folder from Fedora-9-i386-DVD.iso and copy to 2nd partition:
    # mount -t iso9660 Fedora-10-i386-DVD.iso mnt-dvd/ -o loop
    # mount /dev/sdb2 mnt-sdb2/
    # cp -rp mnt-dvd/images mnt-sdb2/
    # umount mnt-dvd/

    Note: If you do a ‘cp -a’ as recommended in the Installing from Hard Drive section, you’ll get an error like this, so just use ‘cp -rp’ instead:

    SELinux is preventing cp from creating a file with a context of iso9660_t on a filesystem. Usually this happens when you ask the cp command to maintain the context of a file when copying between file systems, “cp -a” for example. Not all file contexts should be maintained between the file systems. For example, a read-only file type like iso9660_t should not be placed on a r/w system. “cp -P” might be a better solution, as this will adopt the default file context for the destination.

  6. Copy DVD iso image to 2nd partition:
    # cp Fedora-10-i386-DVD.iso mnt-sdb2/
    # umount mnt-sdb2/
  7. Reboot with USB key inserted.
  8. Select install from Hard Drive and select /dev/sdb2
And that’s it. I’m fully aware that these instructions could be simplified/reduced but can’t be bothered to do that right now. It’s not something that I’m doing on a daily basis and it works, so I’m happy to leave them as they are for the time being. If anyone has any suggestions, please feel free to comment.

See :
http://galder.zamarreno.com/

22 November 2009

DNS Settings in FreeBSD 6.1 Linux

Actually, this tutorial just for add new hosts or servers into DNS Server based on FreeBSD 6.1 Linux. The DNS Server itself has installed and running well. In this example, I want to add 2 hosts with different name server, that are :
  1. dl1.batan.go.id for IP Address 202.46.3.77
  2. mrtg.batan.go.id for IP Address 202.46.3.71

The steps are :
1. Edit /etc/namedb/master/batan.go.id file.

Code :
# vi /etc/namedb/master/batan.go.id

Add 2 lines below on that file :
mrtg IN A 202.46.3.71
dl1 IN A 202.46.3.77

2. Restart named
Code :
# /etc/rc.d/named restart

3. Testing

From DNS Server :
Code :
# nslookup
> mrtg
Server: 202.46.2.222
Address: 202.46.2.222#53

Name: mrtg.batan.go.id
Address: 202.46.3.71
> dl1
Server: 202.46.2.222
Address: 202.46.2.222#53

Name: dl1.batan.go.id
Address: 202.46.3.77


From Client :
You can make another testing from Client with web browser. Enter address below for
testing on your address bar.
  1. http://mrtg.batan.go.id/
  2. ftp://dl1.batan.go.id/
Another testing from client, you can use PING to the hosts.

06 September 2009

Tune Up Utilites 2009

TuneUp Utilities helps both beginners and experts to make Windows meet their needs in a way that is better, easier and safer. All important system options are explained in an easy way and can be turned on or off at the click of your mouse. TuneUp Utilities will then make the necessary changes in the registry or boot files automatically. We place a high value on system stability, so that Windows won't stop working reliably. And most changes that you make can be undone in TuneUp Rescue Center - easily and safely.

TuneUp Utilities also gives you many more options. In addition to helping you make Windows "better looking", you can also clean up and optimize your system at the click of a mouse. TuneUp Utilities 2008 will clean up unnecessary data from your hard disk and remove unnecessary entries from your registry. It can defragment your hard disk and registry and optimize your system settings to make Windows run substantially faster. Most of this maintenance is performed automatically every week by TuneUp 1-Click Maintenance.

Automatic adaptation to your operating system
When making these changes, TuneUp Utilities reaches deep into the Windows system. However, Windows has changed a great deal from version to version. Because of this, the software automatically recognizes and adapts to each supported version of Windows. This is done automatically so that you, the user, won't have to re-learn the software for each operating system version.

TuneUp Start page:
- Intuitive Layout, Easy to Use
- Provides quick and easy access to the most critical optimization functions
- A single yet comprehensive appraisal of your PC?s current performance and overall system health

TuneUp Speed Optimizer:
- Intelligent, Powerful Utility for any User Skill Level
- Easy optimization in just a few clicks
- Identifies unused programs and resource-draining functions
- Recommends tools for optimal PC performance

TuneUp 1-Click Maintenance:
- Automatic, Fast Optimization
- Enables one-click maintenance of the most important functions of your PC
- Cleans the Windows registry
- Deletes temporary files and folders
- Increases the system performance through integrated defragmentation
- Streamlines your desktop and simplifies folder shortcuts with one click

TuneUp Drive Defrag:
- Intelligent defragmentation with new progress display

TuneUp System Control:
- Supports Opera

TuneUp Uninstall Manager:
- Intuitive uninstall options

TuneUp Startup Manager:
- Increases the speed at the start-up of your PC

TuneUp Registry Cleaner:
- More powerful tool with in-depth view of your PC registry


Download :
http://rapidshare.com/files/261409666/Tune_Up_Utilites_2009_Full.rar

Lihat juga :
http://software.infogue.com/download_tuneup_utilities_2009_crack

02 September 2009

Fedora 9 Not Support MP3

Fedora 9 does not come with built-in MP3 support. To get MP3 support with Fedora, you can use RPM Fusion's YUM repositories to download MP3 enabled RPMs.

Enable RPM Fusion
First, install RPM Fusion's free and nonfree YUM repositories. For detailed information about installing RPM Fusion, see: http://rpmfusion.org/Configuration

Code :
#rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

This command line will add few files on your /etc/yum.repos.d folder such as :
  1. rpmfusion-free-rawhide.repo
  2. rpmfusion-free.repo
  3. rpmfusion-free-updates.repo
  4. rpmfusion-free-updates-testing.repo

The function of these files is to make your yum can find another source of RPMs.

Now, the message become :
[root@localhost ~]# rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Retrieving http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
warning: /var/tmp/rpm-xfer.2D0dr6: Header V3 DSA signature: NOKEY, key ID 49c8885a
error: Failed dependencies:
system-release >= 10 is needed by rpmfusion-free-release-10-5.noarch
[root@localhost ~]#


For XMMS with MP3 support, install the following:

Code :
# yum install xmms xmms-mp3

Now, the messages become :

[root@localhost ~]# yum install xmms xmms-mp3
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
No package xmms-mp3 available.
Resolving Dependencies
--> Running transaction check
---> Package xmms.i386 1:1.2.11-1.20071117cvs.1.fc9 set to be updated
--> Processing Dependency: libgtk-1.2.so.0 for package: xmms
--> Processing Dependency: libgdk-1.2.so.0 for package: xmms
--> Processing Dependency: libxmms.so.1 for package: xmms
--> Processing Dependency: libglib-1.2.so.0 for package: xmms
--> Processing Dependency: libgthread-1.2.so.0 for package: xmms
--> Running transaction check
---> Package glib.i386 1:1.2.10-29.fc9 set to be updated
---> Package gtk+.i386 1:1.2.10-66.fc9 set to be updated
---> Package xmms-libs.i386 1:1.2.11-1.20071117cvs.1.fc9 set to be updated
--> Processing Dependency: libmikmod.so.3 for package: xmms-libs
--> Running transaction check
---> Package libmikmod.i386 0:3.2.0-3.beta2.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
xmms i386 1:1.2.11-1.20071117cvs.1.fc9 updates-newkey 1.7 M
Installing for dependencies:
glib i386 1:1.2.10-29.fc9 fedora 139 k
gtk+ i386 1:1.2.10-66.fc9 updates-newkey 919 k
libmikmod i386 3.2.0-3.beta2.fc9 fedora 175 k
xmms-libs i386 1:1.2.11-1.20071117cvs.1.fc9 updates-newkey 247 k

Transaction Summary
================================================================================
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 3.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): glib-1.2.10-29.fc9.i386.rpm | 139 kB 00:00
(2/5): libmikmod-3.2.0-3.beta2.fc9.i386.rpm | 175 kB 00:00
(3/5): xmms-libs-1.2.11-1.20071117cvs.1.fc9.i386.rpm | 247 kB 00:00
(4/5): gtk+-1.2.10-66.fc9.i386.rpm | 919 kB 00:00
(5/5): xmms-1.2.11-1.20071117cvs.1.fc9.i386.rpm | 1.7 MB 00:00
--------------------------------------------------------------------------------
Total 2.3 MB/s | 3.2 MB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : glib 1/5
Installing : gtk+ 2/5
Installing : libmikmod 3/5
Installing : xmms-libs 4/5
Installing : xmms 5/5

Installed:
xmms.i386 1:1.2.11-1.20071117cvs.1.fc9

Dependency Installed:
glib.i386 1:1.2.10-29.fc9
gtk+.i386 1:1.2.10-66.fc9
libmikmod.i386 0:3.2.0-3.beta2.fc9
xmms-libs.i386 1:1.2.11-1.20071117cvs.1.fc9

Complete!
[root@localhost ~]#


[root@localhost ~]# yum install xmms-mp3
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
No package xmms-mp3 available.
Nothing to do
[root@localhost ~]#

Can't install xmms-mp3 anymore.

28 August 2009

Install Java to Web Browser

For some sites, you need java plug-in on your web browser, such as YouTube. Without this plug-in, you can not see the content of sites entirely. To check out, is your web browser java enabled? Please go to http://javatester.org/enabled.html. Or, you can go to http://javatester.org/version.html to know more about your java version what you are using. Hint: before you install java plug-in, please print the screen from the two sites above.

To enable Java plug-in on your web browser, follow these steps :
1. Download
2. Install
3. Enable and configure
4. Test installation

Download
To download this plug-in, please go to Java. or my site. After download, move the file (jre-6u11-linux-i586-rpm.bin) to /usr/java directory. Download, click here.

Code
[msmunir@msmunir ~]$ su -
Password:
[root@msmunir ~]# cd /usr/
[root@msmunir usr]# mkdir java
[root@msmunir usr]# cd java/
[root@msmunir java]# cp /home/msmunir/Download/jre-6u11-linux-i586-rpm.bin .

Install
For install, see http://java.com/en/download/help/5000010500.xml#rpm

Code
[root@msmunir ~]# cd /usr/java/
[root@msmunir java]# chmod a+x jre-6u11-linux-i586-rpm.bin
[root@msmunir java]# ./jre-6u11-linux-i586-rpm.bin
[root@msmunir java]# rpm -ivh jre-6u11-linux-i586.rpm

Enable and configure

Code
[root@msmunir java]# cd /usr/lib/mozilla/plugins
[root@msmunir plugins]# ln -s /usr/java/jre1.6.0_11/plugin/i386/ns7/libjavaplugin_oji.so .

Close web browser and run again.

Test installation
Check out again these sites : http://javatester.org/enabled.html and http://javatester.org/version.html to know your java version.

After install java plug-in, print screen again from two sites above and compare it with print screen before install java.

If doesn't works, please exit from your Web Browser (Mozilla), and run test installation above again. Don't forget to print screen your display.