Omnipresent IT Solutions Pvt Ltd

Wednesday, July 29, 2009

Customizing the splash image in GRUB

Got bored with corporate logo of your Linux distribution?

Change it..

1.The image should be of size 640x480 pixels

2.Should only have 14 colours

3.In gzipped xpm format

You can use GIMP for these modifications and save it as xpm file. Then gzip and make it splash.xpm.gz

Back up your /boot/grub/splash.xpm.gz and overwrite with your file

Note: You need root privileges

Done! Reboot and watch...

Here is my lap's bootupscreen..

Monochrome images in grey scale, red, blue or green work better than other colours. I used grayscale...

Sunday, July 26, 2009

Complete Guide to Fedora 11 Problems and Solutions, Applications, Repositories, Hardware, Networking, Tips & Tricks, Servers, Helpful Fedora Websites



Fedora 11 (Leonidas) was released on the 9th of June 2009.

All information related to fedora 11. You can click the contents below.

You don't have to search anywhere in the web for information.

Contents

Oracle Database 11g installation On Fedora 11

1.Download Software

http://www.oracle.com/technology/software/products/database/index.html

2.Unpack Files

unzip filename.zip

3.Pre installation tasks

      1.Following lines should be appended to the "/etc/sysctl.conf" file. 
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144


2.Run the command to change the current kernel parameters:
/sbin/sysctl -p

3.Add the following lines to the /etc/security/limits.conf file:

oracle              soft    nproc   2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
4.Add the following line to the /etc/pam.d/login file, if it does not already exist:
session    required     /lib/security/pam_limits.so
session required pam_limits.so
5.Disable firewall

6.Disable secure linux by editing the /etc/selinux/config file
SELINUX=disabled

7.Install the following packages:

su -c 'yum install binutils glibc glibc-common libgcc libstdc++ make elfutils-libelf
elfutils-libelf-devel glibc-devel gcc gcc-c++ libstdc++-devel unixODBC unixODBC-devel
libaio libaio-devel sysstat compat-libstdc++-33'


8.Create new groups and users:

groupadd oinstall
groupadd dba
groupadd oper
groupadd asmadmin

useradd -g oinstall -G dba,oper,asmadmin oracle
passwd oracle
9.Create the directories in which the Oracle software will be installed:

mkdir -p /u01/app/oracle/product/11.1.0/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01


10. Edit /etc/hosts

File must contain a fully qualified name for the server:
    
Example: 127.0.0.1 acerfedora localhost

11.Login as root and issue the following command:

xhost + "machine_name"
12.Edit the /etc/redhat-release file replacing the current release information (Fedora release 11 (Leonidas)) with the following:
redhat release 5

12.Reboot your system and login as oracle user

4.Installation


Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory:
./runInstaller

1.Enter password
2. Continue

3. Check user verified for network
4. Note down paths

6.Click password management and unlock accounts you need 7. Installation succesfull



5.Post Installation

1.Edit the /etc/redhat-release file restoring the original release information:
Fedora release 11 (Leonidas)
2.Edit the /etc/oratab file setting the restart flag for each instance to 'Y':
DB11G:/u01/app/oracle/product/11.1.0/db_1:Y

3.Edit /home/oracle/.bash_profile file and ass the following at end of file
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME="machinename"; export ORACLE_HOSTNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.1.0/"db_2"; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
Note: Verify parameters with your own values






Sunday, July 12, 2009

Cheese

Cheese uses your webcam to take photos and videos, applies fancy special effects and lets you share the fun with others.

June 2009: Stable version 2.26.3 was released!

Download... http://projects.gnome.org/cheese/


Fedora 11: I think it's time for you to change!


Fedora is a Linux-based operating system that showcases the latest in free and open source software. Fedora is always free for anyone to use, modify, and distribute.

You can download it here: http://fedoraproject.org/en/get-fedora

Visit the website to know more: http://fedoraproject.org/

RPM Fusion.. Resources are Unlimited....


RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5; you can use the RPM Fusion repositories with tools like yum and PackageKit.

http://rpmfusion.org/

Monday, July 6, 2009

Multimedia on CentOS 5




Step 1: Add the RPMforge repo (needed for majority of multimedia files)

rpm -Uhv http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Step 2: Add the Macromedia repo (optionally needed for flash)

rpm -Uhv http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

Step 3: Install multimedia applications (command line to install required packages)

yum install libdvdcss libdvdread libdvdplay libdvdnav lsdvd mplayerplug-in mplayer mplayer-gui compat-libstdc++-33 flash-plugin gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg libquicktime

Step 4: Installing w32Codecs (required for xvid and other proprietary formats)

wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.i386.rpm ; rpm -ivh mplayer-codecs-20061022-1.i386.rpm
wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.i386.rpm; rpm -ivh mplayer-codecs-extra-20061022-1.i386.rpm

You should now have full multimedia and video support for most popular formats.

For other linux users, you can visit this link for mplayer codecs and download rpm

www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.x86_64.rpm

www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.x86_64.rpm