Installing OpenOffice 3 on CentOS 5

After been a while using OpenOffice 2.3 that came bundle with CentOS 5.2 ,
somehow decided to get OpenOffice 3.0.1 installed..

First of all have to download the RPMs file installer at the OpenOffice website[openoffice.org],
it comes via a zipped file of all needed RPMs.
then extract it ..

figure out where did the RPM file are..

cd OOO300_m15_native_packed-1_en-US.9379/
cd RPMS/

now link that to a directory that would be possible to use with yum installer

ln -s /home/namran/v/OOO300_m15_native_packed-1_en-US.9379/RPMS /home/namran/rpms
createrepo /home/namran/rpms

then edit the

/etc/yum.repos.d/CentOS-Media.repo

to have something like below :

[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
        file:///media/cdrom/
        file:///media/cdrecorder/
        file:///home/namran/rpms/
gpgcheck=0
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta

then start the installation with

yum install openoffice.org3-writer-3.0.1-9379 --disablerepo \* --enablerepo c5-media
[ad#postad]

this will resolve and install all the necessary package need to get the writer running..
once completed .. can try running it..

 /opt/openoffice.org3/program/swriter

here.. somehow I bump into a glitch..

vcl-s
Missing vcl resource.This indicates that files vital to localization missing.You might have corrupt installation.

a few google search.. solution turn out to be ..

yum install ooobasis3.0-en-US-writer --disablerepo \* --enablerepo c5-media
yum install ooobasis3.0-en-US* --disablerepo \* --enablerepo c5-media --nogpgcheck

somehow need the –nogpgcheck
as the localization package got unsigned.. *sigh*

feel a bit lazy.. lets install all package instead..

yum install openoffice.org3* --disablerepo \* --enablerepo c5-media --nogpgcheck

then run the

/opt/openoffice.org3/program/soffice
[ad#postad] If everything is fine , a wizard to create some of new document type will appear.open-office-3-menu
about-openoffice3

now time to create some shortcut at Desktop.
right click .. create new launcher
set the command to run as

/opt/openoffice.org3/program/soffice

then fill in some comment and name.. choose whatever icon..
createlauncher

now to get the association correct..
right click on file with .odt / .sxw / .odg
extension..
go to Properties..

the click at “Open-With” tabs
click “Use Custom command”
and browse to

/opt/openoffice.org3/program/soffice

custom-command
then.. made it as default by highlight the
soffice’s bullet
setproperties

and same goes to the Open Office Shortcut in the top-panel ..
right click on icon.. Properties.

for Writer, Presentation , Spreadsheet respectively..
change the command to …

/opt/openoffice.org3/program/soffice  -writer %U
/opt/openoffice.org3/program/soffice  -impress %U
/opt/openoffice.org3/program/soffice -calc %U

impress

Related Post

2 Responses

  1. HawkEYE says:

    the step to remove old plesk before can start install a new
    but it is preferable to have a complete system restore..
    *** somehow . to wait for sys-admin to do thing to you.. ah.. a lil’ bit fu*ked thing.. why not ***..

    as root..
    1. yum remove psa-*
    2. yum remove httpd
    3. rm -rf /var/httpd -R
    4. rm -rf /usr/local/psa -R
    5. rm -rf /var/www/vhosts -R
    6. service mysqld stop
    7. If don’t know the root pass for myql .try this as root :
    mysqld_safe –skip-grant-table

    6. mysql -uroot
    i. drop database psa
    ii. drop database phpmyadmin_14813SHFF <-- some serial here can see using show databases; iii. drop database horde; iv. drop database sitebuilder; v. and any other thing .. except test and mysql; vi. may have to reset pass for root to blank ... if u want to delete other user than root in mysql use mysql; delete * from user where User!='root'; update user set Password=PASSWORD('') where User='root'; may be need to add the admin user with pass setup. and with all priv here. insert into user (Host,User,Password) values ('localhost',admin,PASSWORD('something-default-here')); then have to grant.. all the privilege. to the admin then remove mysqld. yum remove mysql. ***.. after that may proceed with re-installation process. note i did'nt remove any other user created before.. such as qmail.. bla..bla.. because we are going to re-install .. then.. ./psa_installer_v3.1.2_build070321.17_os_CentOS_4_i386 answer all question.. wait.. till finished.. hopefully no problem.. may be need to flush the firewall services iptables restart.. then can access to https://server.name.com:8443/

    you should see the login screen..
    wahaha..

    Reply
  2. HawkEYE says:

    the step to remove old plesk before can start install a new
    but it is preferable to have a complete system restore..
    *** somehow . to wait for sys-admin to do thing to you.. ah.. a lil’ bit fu*ked thing.. why not ***..

    as root..
    1. yum remove psa-*
    2. yum remove httpd
    3. rm -rf /var/httpd -R
    4. rm -rf /usr/local/psa -R
    5. rm -rf /var/www/vhosts -R
    6. service mysqld stop
    7. If don’t know the root pass for myql .try this as root :
    mysqld_safe –skip-grant-table

    6. mysql -uroot
    i. drop database psa
    ii. drop database phpmyadmin_14813SHFF <-- some serial here can see using show databases; iii. drop database horde; iv. drop database sitebuilder; v. and any other thing .. except test and mysql; vi. may have to reset pass for root to blank ... if u want to delete other user than root in mysql use mysql; delete * from user where User!='root'; update user set Password=PASSWORD('') where User='root'; may be need to add the admin user with pass setup. and with all priv here. insert into user (Host,User,Password) values ('localhost',admin,PASSWORD('something-default-here')); then have to grant.. all the privilege. to the admin then remove mysqld. yum remove mysql. ***.. after that may proceed with re-installation process. note i did'nt remove any other user created before.. such as qmail.. bla..bla.. because we are going to re-install .. then.. ./psa_installer_v3.1.2_build070321.17_os_CentOS_4_i386 answer all question.. wait.. till finished.. hopefully no problem.. may be need to flush the firewall services iptables restart.. then can access to https://server.name.com:8443/

    you should see the login screen..
    wahaha..

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *