Search This Blog

Showing posts with label Oracle Enterprise Linux 6.3 Smart Small ISO. Show all posts
Showing posts with label Oracle Enterprise Linux 6.3 Smart Small ISO. Show all posts

Thursday, January 30, 2014

Oracle Linux: Maximize Performance / Minimize Downtime

Oracle Linux: Maximize Performance / Minimize Downtime
http://medianetwork.oracle.com/video/player/2921003278001

Oracle’s Greg Marsden provides a large number of specific tips and tricks for getting the most from Oracle Linux.
Really helpful information about Large Memory Linux system.
Example for 1TB RAM system.

Key Note:
NUMA
Swap Tuning
Kernel UEK
kdump
Serial console
HugePages
...


Highly Recommend!

Monday, September 30, 2013

Upgrade Redmine from 2.0.3 to 2.3.3, ruby 1.9.1 to 2.0

1.First backup everything:

1.1 backup database
1.2 backup redmine folder
1.3 backup /usr/local/ if you installed ruby manually.


2.Stop httpd service:

service httpd stop


3.Upgrade Rails version to 3.2.13

4.Remove ruby 1.9.1

rm -rf /usr/local/lib/ruby/1.9.1/
rm -rf /usr/local/lib/ruby/gems/1.9.1/
rm -rf /usr/local/include/ruby-1.9.1/


5.Install ruby 2.0

wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
tar -xzvf ruby-2.0.0-p247.tar.gz
cd ruby-2.0.0-p247
./configure
make
make install
ruby -v
which ruby


6.Copy redmine config file to New stable 2.3.3


wget http://rubyforge.org/frs/download.php/77138/redmine-2.3.3.tar.gz
tar -xzvf redmine-2.3.3.tar.gz

cp /var/lib/redmine/config/database.yml ./config/database.yml
cp /var/lib/redmine/config/configuration.yml.example ./config/configuration.yml
cp /var/lib/redmine/files/* ./files/
rm ./files/delete.me


7.Copy plugins (version >= 2.0)

cp -r /var/lib/redmine/plugins/ ./plugins/


8.Re-compile passenger:

gem install passenger --no-rdoc --no-ri
passenger-install-apache2-module


9.Configure Apache mode: /etc/httpd/conf.d/passenger.conf

# Passenger Basic Setting
#
LoadModule passenger_module /usr/local/lib/ruby/gems/2.0.0/gems/passenger-4.0.19/buildout/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/2.0.0/gems/passenger-4.0.19
PassengerDefaultRuby /usr/local/bin/ruby


10.Re-check redmine for Apache: /etc/httpd/conf.d/redmine.conf


ServerName localhost
DocumentRoot "/var/www/redmine-2.3.3/public/"

# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews

ErrorLog logs/redmine-error_log
CustomLog logs/redmine-access_log common



11.clear the cache and the existing sessions:

rake tmp:cache:clear
rake tmp:sessions:clear


12.ReStart httpd service:

service httpd start


13.Check the error log

cat /var/log/httpd/redmine-error_log


14.Check daily backup tasks

Monday, September 23, 2013

Install libevent for CentOS RHEL OEL

Default way install library will put everything into /usr/local.

To keep it more Redhat looks:

1.First remove the old library to avoid any conflict:


yum erase libevent*


2.Download and uncompress the package:

wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xzvf libevent-2.0.21-stable.tar.gz


3.Compile and install into /usr/lib:

cd libevent-2.0.21-stable
make clean
./configure --prefix=/usr
make
make install


You should have it under /usr/lib, with correct /usr/lib/pkgconfig. Not changes LD_LIBRARY_PATH needed at all!

4.If unhappy with where it installed, uninstall anytime:

cd libevent-2.0.21-stable
make uninstall

Wednesday, August 7, 2013

Installing oracle instant client on CentOS RHEL OEL 5.9

This is a guide of Install sqlplus with the minimal oracle-software fingerprint.

I try to not install the Oracle Client in my computers, it modify lots of registry in Windows, and in linux you need XWindow GUI or remote XWindow plus set lots of environment variables and deal with Oracle Universal Installer (OUI) that depends on many packages, versions, java … etc.

1.First Download the package from Oracle Instant Client

2.Install the 2 packages matchs your OS, I am using OEL 5.9 x86 as example:

rpm -ivh oracle-instantclient-basic-10.2.0.5-1.i386.rpm
rpm -ivh oracle-instantclient-sqlplus-10.2.0.5-1.i386.rpm


3.You should have a structure and files like:

/usr/lib/oracle/10.2.0.5/client/bin/genezi
sqlplus
/usr/lib/oracle/10.2.0.5/client/lib/glogin.sql
libsqlplusic.so
libsqlplus.so
libocci.so.10.1
libocijdbc10.so
ojdbc14.jar
libclntsh.so.10.1
libnnz10.so
libociei.so


4.Add lib to ldconfig

vi /etc/ld.so.conf.d/oracle.conf
/usr/lib/oracle/10.2.0.5/client/lib
re-run: #//sbin/ldconfig
to active the changes


5.create a tnsnames.ora at /etc:

PRODUCT_ORA1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.4)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ora1)
)
)


6.To test it out:

/usr/lib/oracle/10.2.0.5/client/bin/sqlplus sys@PRODUCT_ORA1

Tuesday, August 6, 2013

Configure network bonding Link Aggregation using LACP under RHEL CentOS OEL 5.9

I wrote this from the work on OEL 5.9 64 bit.

The server has 2 physical NICs bonding into 1 IP address.

1.Config the initial bonding configuration

1.1 eth0

# cat /etc/sysconfig/network-scripts/ifcfg-eth0

# Emulex Corporation OneConnect 10Gb NIC (be3)
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no


1.2 eth1
# cat /etc/sysconfig/network-scripts/ifcfg-eth1

# Emulex Corporation OneConnect 10Gb NIC (be3)
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no


1.3 bond0
# cat /etc/sysconfig/network-scripts/ifcfg-bond0

# Bonding Network
DEVICE=bond0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.144.244.14
NETMASK=255.255.255.0
NETWORK=10.144.244.0
GATEWAY=10.144.244.1
TYPE=Unknown
IPV6INIT=no


2.Config Bonding modules

2.1 Bonding settings

# cat /etc/modprobe.conf

alias scsi_hostadapter shpchp
alias eth0 be2net
alias eth1 be2net
alias scsi_hostadapter1 cciss
alias scsi_hostadapter2 usb-storage
alias bond0 bonding
options bond0 miimon=100 mode=4 lacp_rate=1


2.2 Load the bonding modules into the “running” kernel

# modprobe bond0
# lsmod | grep bond
bonding 126649 0


3.Configure your network settings
# cat /etc/sysconfig/network

NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=DB01.milliondollarserver.com


4.Restart the network stack
# service network restart

5.Check the routing configuration
# route -n

6.Check bonding stack for errors
# cat /proc/net/bonding/bond0

Ethernet Channel Bonding Driver: v3.4.0-2 (October 7, 2008)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: fast
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 1
Actor Key: 33
Partner Key: 1
Partner Mac Address: 00:00:00:00:00:00

Slave Interface: eth0
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: e4:11:5b:e0:55:b8
Aggregator ID: 1

Slave Interface: eth1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: e4:11:5b:e0:55:bc
Aggregator ID: 2


Note:The most important line is “LACP rate: fast” make sure that you can see it in your output

Sunday, May 19, 2013

Recommend SWAP size for Linux

SWAP file usage in our Linux distribution is common to most all other Linux versions and so information gained from other systems running Linux should be usable in FreeBSD or Debian.

So to begin, SWAP disk space is used when we begin to run out of main RAM memory, using it just as if it were regular memory.
SWAP space prevents us from running out of memory, which can be a very bad problem should it occur.
SWAP space is also used with the computer function called Hibernate, where all of the computer memory state is saved to your hard disk and can be restored at a later date.

In this article though, we are concerned about its usage as memory.
So, the first thing to decide, is how much should you create, when you install the OS?

If you are like me, you often just go with the default of 2.00 GB or so.
But apparently, there are some basic recommendations for this SWAP file size to be created according to Red Hat recommendations.

Code:
RAM Memory SWAP File Size

Up TO 4GB 2GB
4GB TO 16GB 4GB
16GB TO 64GB 8GB
64GB TO 256GB 16GB

Run command to check space:

free -m
total used free shared buffers cached
Mem: 1877 1690 187 0 8 177
-/+ buffers/cache: 1504 372
Swap: 1999 0 1999

Thursday, May 2, 2013

Synchronise server clock to the network NTP CentOS RHEL OEL 6

Want to synchronise your servers clock to the network?


# yum install ntpdate
# chkconfig ntpdate on


specifie NTP server in:/etc/ntp/step-tickers or /etc/ntp.conf

# List of servers used for initial synchronization.
0.pool.ntp.org
1.pool.ntp.org
2.pool.ntp.org
3.pool.ntp.org


# service ntpdate start


Thanks http://www.pool.ntp.org/ provide the free service!

Tuesday, April 30, 2013

Take off OEL smart ISO

The ORACLE ENTERPRISE LINUX 6.3 SMART SMALL ISO project seems has lots of request.

But my time is wild separate different project.

I decide to take the OEL SS ISO project down.

Let me know if you need any help relate to it.

Thursday, March 14, 2013

set Domain in CentOS/RHEL/OEL 6


/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=MDS-NOD-01
DOMAIN=milliondollarserver.com


# /etc/hosts
127.0.0.1   MDS-NOD-01.milliondollarserver.com MDS-NOD-01 localhost localhost.localdomain localhost4 localhost4.localdomain4


testing:


# hostname
# hostname -f

Wednesday, March 13, 2013

Install Openfire Chat Server at RHEL/CentOS/OEL 6

# wget http://download.igniterealtime.org/openfire/openfire-3.8.1-1.i386.rpm
# rpm -ivh openfire-3.8.1-1.i386.rpm
# service openfire start

check out the /opt/openfire/logs

Found it can't start.

I got it to start on RHEL 6 64 bit by installing the 32 bit library
yum install libldb.i686

It's actually just zlib.i686 it needs.
Installing libldb isn't necessary, but it installs zlib as a dependency.

Then goto http://[Server IP]:9090

Domain:
Admin Console Port:9090
Secure Admin Console Port:9091
Standard Database Connection:

Install mysql database to support it or use internal DB for small group.

# yum install mysql-server.x86_64
# service mysqld start
# /usr/bin/mysql_secure_installation
# chkconfig mysqld on

Create an new openfire database and user.

# chkconfig openfire on

Monday, March 4, 2013

Recompile Install Red Hat Enterprise MRG Realtime at Oracle Enterprise Linux CentOS

If you want to recompile the RT kernel with your custom settings you can download the source RPMS here:

http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEMRG/SRPMS/

First download the SRPM:

wget http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEMRG/SRPMS/kernel-rt-version.src.rpm

Then install it:

rpm -ivh kernel-rt-version.src.rpm

Once you have installed it and built the spec file you'll then be able to run (from the RPMBUILD folder):

make menuconfig

This will allow you to configure the linux kernel as you wish. You can then create the RPM file and install your new kernel.

Friday, February 22, 2013

Add new hard drive in CentOS/RHEL/OEL without reboot

Add new hard drive in CentOS/RHEL/OEL without reboot:

1. First add an new 200 GB hard drive in scsi mode from VMware ESXi console.

Please notice only scsi disk allow operation while power on.

2. Then echo "- - -" > /sys/class/scsi_host/host2/scan

Please notice host2 is the scsi number I added from the ESXi.

# ls /sys/class/scsi_host/
host0/ host1/ host2/


2.1 Before:

# fdisk -l

Disk /dev/sda: 17.2 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00073bb3

Device Boot Start End Blocks Id System
/dev/sda1 * 1 17 131072 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 17 531 4128768 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 531 2089 12516352 83 Linux

Disk /dev/sdb: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbf77fef7

Device Boot Start End Blocks Id System
/dev/sdb1 1 13054 104856223+ 83 Linux

2.2 Then run:

# echo "- - -" > /sys/class/scsi_host/host2/scan

2.3 After:

# fdisk -l

Disk /dev/sda: 17.2 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00073bb3

Device Boot Start End Blocks Id System
/dev/sda1 * 1 17 131072 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 17 531 4128768 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 531 2089 12516352 83 Linux

Disk /dev/sdb: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbf77fef7

Device Boot Start End Blocks Id System
/dev/sdb1 1 13054 104856223+ 83 Linux

Disk /dev/sdc: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

2.4 Check if the device showed up:
# ls /dev/sd*
sda sda1 sda2 sda3 sdb sdb1 sdc


3. Format the disk:

3.1 # fdisk /dev/sdc
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x14910557.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.


Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').

Command (m for help): p

Disk /dev/sdc: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x14910557

Device Boot Start End Blocks Id System

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-26108, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-26108, default 26108):
Using default value 26108

Command (m for help): p

Disk /dev/sdc: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x14910557

Device Boot Start End Blocks Id System
/dev/sdc1 1 26108 209712478+ 83 Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

3.2 Format into ext4:

# mkfs.ext4 /dev/sdc1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
13107200 inodes, 52428119 blocks
2621405 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
1600 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872


Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.

4. Try to mount the new partition:

# mkdir -p /data2
# mount /dev/sdc1 /data2


vi /etc/fstab
#Data FS - EXT4
/dev/sdb1 /data ext4 defaults 1 2
/dev/sdc1 /data2 ext4 defaults 1 2

5. Test if it works:
# touch lamber_test.please_delete

Thursday, January 24, 2013

Zend Debugger How To

Download and Install Zend Debugger

# wget http://downloads.zend.com/studio_debugger/2011_04_10/ZendDebugger-20110410-linux-glibc23-x86_64.tar.gz
# wget http://downloads.zend.com/studio_debugger/2011_04_10/ZendDebugger-20110410-linux-glibc23-i386.tar.gz
# tar xzvf ZendDebugger-20110410-linux-glibc23-x86_64.tar.gz
# cp ZendDebugger-20110410-linux-glibc23-x86_64/5_3_x_comp/ZendDebugger.so /usr/lib64/php/modules/ZendDebugger.so


Configuration Debugger

# vi /etc/php.d/zend_debug.ini



;;;;;;;;;;;;;;;;;;;;
; ZendDebugger ;
;;;;;;;;;;;;;;;;;;;;
zend_extension=/usr/lib64/php/modules/ZendDebugger.so
zend_debugger.allow_hosts=192.168.1.1/16
zend_debugger.expose_remotely=always


Restart Apache before Testing

# service httpd restart


Check if it works

# php -v

PHP 5.3.3 (cli) (built: Jun 27 2012 12:53:18)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Debugger v5.3, Copyright (c) 1999-2010, by Zend Technologies


Error:libssl.so.0.9.8:

# php -v



Failed loading /usr/lib64/php/modules/ZendDebugger.so: libssl.so.0.9.8: cannot open shared object file: No such file or directory
PHP 5.3.3 (cli) (built: Jun 27 2012 12:53:18)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies


Install openssl098e package

# yum -y install openssl098e.x86_64

epel/metalink | 9.1 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.0 MB 00:03
ol6_UEK_latest | 1.2 kB 00:00
ol6_latest | 1.4 kB 00:00
ol6_latest/primary | 24 MB 00:31
ol6_latest 18436/18436
pgdg92 | 2.8 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openssl098e.x86_64 0:0.9.8e-17.0.1.el6_2.2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
openssl098e x86_64 0.9.8e-17.0.1.el6_2.2 ol6_latest 761 k

Transaction Summary
================================================================================
Install 1 Package(s)

Total download size: 761 k
Installed size: 2.2 M
Downloading Packages:
openssl098e-0.9.8e-17.0.1.el6_2.2.x86_64.rpm | 761 kB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : openssl098e-0.9.8e-17.0.1.el6_2.2.x86_64 1/1
Verifying : openssl098e-0.9.8e-17.0.1.el6_2.2.x86_64 1/1

Installed:
openssl098e.x86_64 0:0.9.8e-17.0.1.el6_2.2

Complete!


Link the file


# ln -s /usr/lib64/libssl.so.0.9.8e /usr/lib64/libssl.so.0.9.8
# ln -s /usr/lib64/libcrypto.so.0.9.8e /usr/lib64/libcrypto.so.0.9.8


Check it Again
# php -v



PHP 5.3.3 (cli) (built: Jun 27 2012 12:53:18)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Debugger v5.3, Copyright (c) 1999-2010, by Zend Technologies


Reference:
http://forums.zend.com/viewtopic.php?f=8&t=3281
http://forums.zend.com/viewtopic.php?f=59&t=962
http://static.zend.com/topics/Zend-Debugger-Installation-Guide.pdf
http://static.zend.com/topics/Debugger-Install.pdf
http://www.developertutorials.com/tutorials/php/php-debugging-with-zend-studio-8-02-01-938/

Wednesday, January 23, 2013

SELinux cause PostgreSQL error: could not connect to server: Permission denied

The php command line works but not the apache page.

Error message:

pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Permission deniednt
Is the server running on host "localhost" (::1) and acceptingnt
TCP/IP connections on port 5432?ncould not connect to server: Permission deniednt
Is the server running on host "localhost" (127.0.0.1) and acceptingnt
TCP/IP connections on port 5432? in /home/www/htdocs/test.php on line 3


If you don't want to be using SELinux then disabling it is an option, but if you prefer the other protection it offers you may just want to enable the specific permission to allow Apache to issue HTTP connections.

As root, running:

# service httpd stop
# service postgresql-9.2 stop

# setsebool -P httpd_can_network_connect 1

# service httpd start
# service postgresql-9.2 start

Friday, December 21, 2012

Oracle Enterprise Linux 6.3 Small Smart ISO Release 1

I started this from Oracle's website:

Oracle Linux Download

Anyone can download the file from the mirror servers.
http://mirrors/pub/OracleLinux/OL6/U3/x86_64/OracleLinux-R6-U3-Server-x86_64-dvd.iso

Then I trim it down to less than 400MB.
Then add my kickstart script.

Please notice this is a fully automatic installation ISO.
It will clean all the data of the server you are going to boot from it!!!!!!

Highly recommand you run it from VM Player or VM Box or an old server, before put it to production.


I will make an youtube video to show you how it works.

After installation the password will be my domain name: www.milliondollarserver.com


    The first release ISO file can be download at here.



Please give me some feed back after try it.

Demo of how to use the ISO install a server on YouTube

http://www.youtube.com/watch?v=rCDg5k6pewM

Thursday, December 20, 2012

Setting up Oracle Linux 6 with public-yum for all updates

After Install Oracle Linux from the ISO or DVD image, you will need add yum repository.

Log in as user root
Download the yum repo file from http://public-yum.oracle.com

# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo


If you want, you can edit the repo file and enable other repositories, I enabled [ol6_UEK_latest] by just setting enabled=1 in the file with a text editor.
Run yum repolist to show the registered channels and you see we are including everything including the latest published RPMs.

Now you can just run
yum update


I will add this into my ISO, make it automatic.

Start something new.

For All the friends who check my site, this year I will start something new, something I hope will benefit everyone.

I always like something small and fast.
That is why when downloading Linux ISOs, I will pick *mnimal*.iso to try it.

Debian has it, CentOS has it.
Oracle Enterprise Linux don't!

Been search around for days, no luck.

Then I start building my own.

Before I start, I would love to thank people who make this possible:

All the OpenSource Heros.
Red Hat, Inc.
ORACLE CORPORATION.


If Oracle or RedHat think this affect your business, please let me know.