Subscribe:

Ads 468x60px

Pages

Showing posts with label Package Configuration. Show all posts
Showing posts with label Package Configuration. Show all posts

Tuesday, August 2, 2011

Installing Open office


To install open office the following package is required:

  1. openoffice.org-core 
  2. openoffice.org-calc 
  3. openoffice.org-base 
  4. openoffice.org-draw 
  5. openoffice.org-impress 
  6. openoffice.org-langpack-es 
  7. openoffice.org-writer 
  8. hunspell-es 
  9. openoffice.org-extendedPDF

Install the openoffice
# yum -y install openoffice.org-core openoffice.org-calc openoffice.org-base openoffice.org-draw openoffice.org-impress openoffice.org-langpack-es openoffice.org-writer hunspell-es openoffice.org-extendedPDF
Read more...

Monday, August 1, 2011

Installing VLC player

The VLC media player is an open source media player, distributed under the GNU General Public License. It is a highly portable multimedia player that supports many audio and video codecs and file formats as well as DVDs, VCDs and various streaming protocols. It is able to stream over networks and to transcode multimedia files and save them into various different formats.

Read more...

Saturday, July 16, 2011

Automatic installation using kickstart method

Question: Let us imagine a scenario where you have to set-up 40 computers on a small company?


Solution:
Even with the network installation method the process is terrible slow . Fortunately for us there is an alternative  ” hands-free” installation method ( non-interactive)  through a featured called kickstart.

The kickstart installation method is used primarily by Red Hat based distributions  to automatically perform unattended operating system installations .The configurations are taken from a file (anaconda.config.cfg)  , so there is no need to be provided  interactively from the user.

Read more...

Thursday, July 7, 2011

Yum Configuration

1) check the vsftpd is intalled or not
# rpm -qa | grep vsftpd

If vsftpd not installed then install it
# rpm -ivh ftp://192.168.0.254/pub/Server/vsftpd* --force


2) check the createrepo is intalled or not
# rpm -qa | grep createrepo

If createrepo not installed then install
# rpm -ivh ftp://192.168.0.254/pub/Server/createrepo* --force

3) If you Linux OS software package is avaliable at remote location(192.168.0.254:/var/ftp/pub/) then mount to /mnt:
# mount 192.168.0.254:/var/ftp/pub/ /mnt/
# cp -avf /mnt/* /var/ftp/pub/
# umount /mnt

If you have Linux OS cd/dvd then type:
# mount /dev/cdrom /mnt
# cp -avf /mnt/* /var/ftp/pub/
# umount /mnt

For display the size of /var/ftp/pub continuously:
# watch du -h /var/ftp/pub

4)Copy grouping files:
# cp /var/ftp/pub/Server/repodata/comps-rhel5-server-core.xml /root
# cp /var/ftp/pub/VT/repodata/comps-rhel5-vt.xml /root

5)Clear the old repos:
# rm -rf /var/ftp/pub/Server/repodata
# rm -rf /var/ftp/pub/VT/repodata

6)Repo creation :
# createrepo -g /root/comps-rhel5-server-core.xml -v /var/ftp/pub/Server
# createrepo -g /root/comps-rhel5-vt.xml -v /var/ftp/pub/VT

7) Create a file called server1.repo at /etc/yum.repos.d
For server:
-----------
vi /etc/yum.repos.d/server1.repo
[Server]
name=Server1 Server Repository
baseurl=file:///var/ftp/pub/Server
gpgcheck=0

# This one is needed for xen packages
[VT]
name=Server1 VT Repository
baseurl=file:///var/ftp/pub/VT
gpgcheck=0

8) Create a file called client.repo at /etc/yum.repos.d
For client:
-----------
# vi /etc/yum.repos.d/client.repo
[Server]
name=Server1 Server Repository
baseurl=ftp://192.168.0.254/pub/Server
gpgcheck=0

# This one is needed for xen packages
[VT]
name=Server1 VT Repository
baseurl=ftp://192.168.0.254/pub/VT
gpgcheck=0

9) checking the list of packages
# yum clean all
# yum list


Please feel free to comment to make it more useful to everyone. Read more...

Friday, May 6, 2011

How to setup a public YUM server for Oracle RPMs


It is very useful to install this public YUM server in our Oracle installations, either if they are Enterprise Linux, RedHat or just use RPMs.

This is an example for Enterprise Linux 5:
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo
Open the yum configuration file in a text editor:
vi public-yum-el5.repo
Change enabled=0 to enabled=1 from the repository you need.
Go to http://public-yum.oracle.com/ for complete instructions on other Linux versions.
Now we can try it!
yum list
yum install firefox
Read more...