27 August 2009

Yum configuration on IGOS Nusantara 3

Basically, IGOS Nusantara 3 or IGN3 have Yum configuration like these :

/etc/yum.conf :

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
installonly_limit=2

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d


/etc/yum.repos.d/fedora-rawhide.repo :

# These packages are untested and still under development. This
# repository is used for development of new releases.
#
# This repository can see significant daily turnover and major
# functionality changes which cause unexpected problems with other
# development packages. Please use these packages if you want to work
# with the Fedora developers by testing these new development packages.
#
# fedora-test-list@redhat.com is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# More information is available at http://fedoraproject.org/wiki/Testing
#
# Reproducible and reportable issues should be filed at
# http://bugzilla.redhat.com/.
#
# Product: Fedora
# Version: rawhide

[rawhide]
name=Fedora - Rawhide
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/$basearc
h/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basear
ch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test-$basearch file:///etc/pki
/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[rawhide-debuginfo]
name=Fedora - Rawhide - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/$basearc
h/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$
basearch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test-$basearch file:///etc/pki
/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[rawhide-source]
name=Fedora - Rawhide - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/source/S
RPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=
$basearch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test-$basearch file:///etc/pki
/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

/etc/yum.repos.d/fedora.repo

[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever
/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&a
rch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever
/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releas
ever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever
/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$relea
sever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

/etc/yum.repos.d/fedora-updates-newkey.repo

[updates-newkey]
name=Fedora $releasever - $basearch - Updates Newkey
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/
$basearch.newkey/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$r
eleasever.newkey&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-8-and-9-$basearch

[updates-newkey-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug Newkey
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/
$basearch.newkey/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-deb
ug-f$releasever.newkey&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-8-and-9-$basearch

[updates-newkey-source]
name=Fedora $releasever - Updates Source Newkey
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/
SRPMS.newkey/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-sou
rce-f$releasever.newkey&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-8-and-9-$basearch


/etc/yum.repos.d/fedora-updates.repo

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/
$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$r
eleasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/
$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-deb
ug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/
SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-sou
rce-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch


/etc/yum.repos.d/fedora-updates-testing-newkey.repo

[updates-testing-newkey]
name=Fedora $releasever - $basearch - Test Updates Newkey
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$rel
easever/$basearch.newkey/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$re
leasever.newkey&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test-8-and-9-$basearch

[updates-testing-newkey-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug Newkey
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$rel
easever/$basearch.newkey/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debu
g-f$releasever.newkey&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test-8-and-9-$basearch

[updates-testing-newkey-source]
name=Fedora $releasever - Test Updates Source Newkey
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$rel
easever/SRPMS.newkey/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-sour
ce-f$releasever.newkey&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test-8-and-9-$basearch


/etc/yum.repos.d/fedora-updates-testing.repo

[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$rel
easever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$re
leasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test-$basearch

[updates-testing-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$rel
easever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debu
g-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test-$basearch

[updates-testing-source]
name=Fedora $releasever - Test Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$rel
easever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-sour
ce-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test-$basearch



Problem after upgrading from previous Fedora

Be carefull, after I upgraded my previous Fedora, a few application can not run properly. Such as Wine 1.1.23, play MP3 with XMMS 1.2.11, and play movie with Totem 2.26.3. Although I erase and install again the packets, still doesn't run properly. The packet that I re-install are xmms*, gstreamer*, wine*. * or star mean all about the packet.

At the beginning, the problem when I re-install is "Public key for xxxx is not installed". This message disappear when I change a line in repository configuration was changed. The line is "gpgcheck=1" become "gpgcheck=0" in every files on /etc/yum.repos.d/ folder.

For problem in Wine is, if you double click the icon, application is not running. That show up is error message. To fix this problem, right click the application, than choose Properties -> Open With -> Wine Windows Program Loader -> Close. The problem happen because application run with "Archieve Manager", not "Wine Windows Program Loader".


20 August 2009

IGOS vs Fedora

IGOS or Indonesia, Go Open Source has released 4 distros, such as IGOS Sistem Desktop Nasional (IGOS SDN) at 2005, IGOS Nusantara (IGN) at 2006, IGOS DwiWarna (IDW) at 2007 and IGOS Nusantara 3 (IGN3) at 2008. Every distro has different parent. IGOS SDN based on SuSE 9.0. IGOS Nusantara based on Fedora 5. IGOS DwiWarna based on Fedora 8. And IGOS Nusantara 3 based on Fedora 9.

This message from IGOS Nusantara or IGN :
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.15-1.2054_IGN1 #1 Fri Jun 30 10:01:26 WIT 2006 i686 i686 i386 GNU/Linux
[root@localhost ~]#


This message from IGOS DwiWarna or IDW :
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.23.10-97.idw #1 SMP Sun Dec 23 01:59:09 WIT 2007 i686 i686 i386 GNU/Linux
[root@localhost ~]#


This message from IGN3 :
[nusa@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.25.14-108.n3.i686 #1 SMP Wed Aug 20 15:32:11 WIT 2008 i686 i686 i386 GNU/Linux
[nusa@localhost ~]$


This message from IGN3 after on-line update :
[root@lenovo ~]# uname -a
Linux lenovo 2.6.27.25-78.2.56.fc9.i686 #1 SMP Thu Jun 18 12:47:50 EDT 2009 i686 i686 i386 GNU/Linux
[root@lenovo ~]#


13 August 2009

Training Program 2009

Participants
  1. Linux Complete : Dhanu, Rachman, Intan
  2. Linux Network Management : Sulasno, Hajaz, MSM
  3. Basic Mikrotik Training - Fundamental (MTCNA) : Rakhmat, Hajaz, MSM
  4. Advanced Mikrotik Training - Traffic Control (MTCTCE) : MSM

Syllabus
Linux Complete (32 hours)
  1. Linux Basic : Introduction and Linux Instalation, mengakses sistem Linux, understanding file dan direktory structure in Linux, Linux basic commands line (console), how to access storage media (floppy, CDROM, harddisk, usb disk), utilities, vi text editor, Linux desktop & file manager. (12 hours)
  2. Linux Sys Admin & Networking : Administrasi user dan group, administrasi software (install dan uninstall), pengantar dan konfigurasi jaringan TCP/IP di Linux, gateway & internet sharing, instalasi dan konfigurasi aneka layanan jaringan untuk intranet/internet seperti bind, dns, server, postfix email server, apache web server, samba file server, squid proxy. server (20 hours
Cost : Rp 2.000.000,-

Linux Network Management (36 hours)
  1. Network Basic Infrastructure (Gateway, DHCP, DNS cache, Web Cache & Filtering)
  2. Firewall
  3. Bandwidth Management (Traffic control)
  4. Traffic monitoring
  5. Simple Network Management Protokol (SNMP) & MRTG
  6. Network Monitoring System
  7. Network Intrusion Destection System
Cost : Rp 3.000.000,-

Basic Mikrotik Training - Fundamental (MTCNA) (32 hours)
  1. Introduction to Mikrotik
  2. Instalasi dan pengoperasian Mikrotik (console dan Winbox)
  3. Firewall dasar
  4. Bridge System
  5. Static Routing
  6. Quality of Service (simple)
  7. Wireless Concept
  8. Wireless Interface : PTP & PTMP
  9. Praktikum jaringan dasar
Cost : Rp 2.950.000,00

Advanced Mikrotik Training - Traffic Control (MTCTCE) (32 hours)
  1. Advanced DHCP and IP Pool
  2. Advanced Firewall (connection tracking, mangle, filter, nat, address-list)
  3. Universal Plug and Play
  4. Advanced QoS (Queue Tree, HTB, Burst)
  5. Advanced Web Proxy
  6. Intrution Detection System
  7. Advance Hotspot dan User Manager
Cost : Rp 2.950.000,00

30 July 2009

Upgrading from a previous Fedora

One of the great new features is to be able to do a live upgrade from an older Fedora release to Fedora 11. You simply have to install the new package called preupgrade and run the program as root:

# yum -y install preupgrade
# preupgrade


Code :
[root@localhost ~]# yum -y install preupgrade
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package preupgrade.noarch 0:1.1.0-1.fc9 set to be updated
--> Processing Dependency: createrepo for package: preupgrade
--> Processing Dependency: anaconda-yum-plugins for package: preupgrade
--> Running transaction check
---> Package anaconda-yum-plugins.noarch 0:1.0-1.fc9 set to be updated
---> Package createrepo.noarch 0:0.9.6-3.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================
Package Arch Version Repository Size
=======================================================================
Installing:
preupgrade noarch 1.1.0-1.fc9 updates-newkey 94 k
Installing for dependencies:
anaconda-yum-plugins noarch 1.0-1.fc9 updates-newkey 11 k
createrepo noarch 0.9.6-3.fc9 updates-newkey 73 k

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

Total download size: 177 k
Downloading Packages:
(1/3): anaconda-yum-plugins-1.0-1.fc9.noarch.rpm | 11 kB 00:00
(2/3): createrepo-0.9.6-3.fc9.noarch.rpm | 73 kB 00:00
(3/3): preupgrade-1.1.0-1.fc9.noarch.rpm | 94 kB 00:01
-----------------------------------------------------------------------
Total 43 kB/s | 177 kB 00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : createrepo 1/3
Installing : anaconda-yum-plugins 2/3
Installing : preupgrade 3/3

Installed:
preupgrade.noarch 0:1.1.0-1.fc9

Dependency Installed:
anaconda-yum-plugins.noarch 0:1.0-1.fc9 createrepo.noarch 0:0.9.6-3.fc9

Complete!
[root@localhost ~]#
This process does take a LONG TIME, requires a high speed internet connection and has a couple minor gotchas but so far I've done a couple upgrades with no data loss and pretty much everything has "just worked" afterwards. You don't need to download and burn any ISOs as the upgrade is done on top of your current installation.

Available Fedora Releases :
  • Fedora 11 (Leonias)
  • Fedora 10 (Cambridge)

The computer do :
1. Download release info
2. Download installer images
3. Determine which packages to download
4. Download packages
5. Prepare and test upgrade

Total Volume : 1,6 GB

After the preupgrade script downloads a ton of packages it will reboot and begin the upgrade procedure automatically. Follow the instructions and after the upgrade is complete log back in and you'll have to fix a couple little things. One things is that you'll need to update the Livna repository file below and then clear the yum cache. Once you do that you'll have to do an update again and this time yum will automatically update any extra software you had installed from Livna with the previous version.

# rpm -Uhv http://rpm.livna.org/livna-release-9.rpm
# yum clean all
# yum -y update

Code :
[root@nms ~]# rpm -Uhv http://rpm.livna.org/livna-release-9.rpm
Retrieving http://rpm.livna.org/livna-release-9.rpm
warning: /var/tmp/rpm-tmp.ZWJfOi: Header V4 DSA signature: NOKEY, key ID a109b1ec
Preparing... ########################################### [100%]
1:livna-release ########################################### [100%]
[root@nms ~]# yum clean all
Loaded plugins: dellsysidplugin2, refresh-packagekit
Cleaning up Everything
[root@nms ~]# yum -y update
Loaded plugins: dellsysidplugin2, refresh-packagekit
fedora | 3.8 kB 00:00
fedora/primary_db | 8.4 MB 00:38
livna | 2.4 kB 00:00
livna/primary_db | 2.7 kB 00:00
rpmfusion-free | 3.3 kB 00:00
rpmfusion-free/primary_db | 276 kB 00:04
rpmfusion-free-updates | 3.8 kB 00:00
rpmfusion-free-updates/primary_db | 148 kB 00:02
updates | 4.4 kB 00:00
updates/primary_db | 2.6 MB 00:08
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package bind-libs.i586 32:9.6.1-4.P1.fc11 set to be updated
---> Package bind-utils.i586 32:9.6.1-4.P1.fc11 set to be updated
---> Package libmad.i586 0:0.15.1b-13.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================
Package Arch Version Repository Size
========================================================================
Updating:
bind-libs i586 32:9.6.1-4.P1.fc11 updates 904 k
bind-utils i586 32:9.6.1-4.P1.fc11 updates 241 k
libmad i586 0.15.1b-13.fc11 rpmfusion-free-updates 84 k

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

Total download size: 1.2 M
Downloading Packages:
(1/3): bind-libs-9.6.1-4.P1.fc11.i586.rpm | 904 kB 00:03
(2/3): bind-utils-9.6.1-4.P1.fc11.i586.rpm | 241 kB 00:00
(3/3): libmad-0.15.1b-13.fc11.i586.rpm | 84 kB 00:02
------------------------------------------------------------------------
Total 162 kB/s | 1.2 MB 00:07
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 signature: NOKEY, key ID d22e77f2
updates/gpgkey | 1.6 kB 00:00
Importing GPG key 0xD22E77F2 "Fedora (11) " from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 signature: NOKEY, key ID 8fcff4da
rpmfusion-free-updates/gpgkey | 1.7 kB 00:00


Public key for libmad-0.15.1b-13.fc11.i586.rpm is not installed
Anda memiliki surat baru dalam /var/spool/mail/root
[root@nms ~]#


This too will take a while since it's likely that dozens of packages will need to be updated. Once it's done it's a good idea to reboot again for good measure and if all goes well you should be done!

Source : http://www.gagme.com/greg/linux/f9-tips.php