天天看点

Linux下安装OpenOffice

1. 下载OpenOffice, 执行#unzip ~~,解开后有3个文件夹:license、readme、 rpm 文件,只需要su切换    到超级用户。

2. 然后,执行rpm -ivh --force --nodeps *.rpm

3. 最后执行/opt/Openffice/program中的shell(如swriter)。

Linux Installation

Package

Linux RedHat or Fedora 6 can be used

Installation Steps

Follow instruction to install RedHad or Fedora 6

create user mwadmin with password mwadmin for easy management

start /etc/init.d/vsftpd for file transfer program, if not start, type

/etc/init.d/vsftpd start

Configuration Testing

Check whether the new user mwadmin is exist, FTP is available. 

Java SDK Installation

jdk-6-linux-i586-rpm.bin

goto /home/mwadmin, will see this file

Execute the installation program

chmod 700 jdk-6-linux-i586-rpm.bin

execute this file

The Java environment will be resident in 

- /usr/java/jdk1.6.0/jre/bin

- /usr/java/jdk1.6.0/bin

change directory (cd) to the exact java location and then type ./java -version to check whether the java version is correct or not

Tomcat Installation

apache-tomcat-5.5.23.tar.gz

Installation Step

tar zxvf apache-tomcat-5.5.23.tar.gz

cp -r apache-tomcat-5.5.23 /usr/share/tomcat5

Update the startup / shutdown script

startup.sh - 

chmod 700 startup.sh

add line "export JAVA_HOME=/usr/java/jdk1.6.0/jre" for the first line inside startup.sh

shutdown.sh - 

chmod 700 shutdown.sh

add line "export JAVA_HOME=/usr/java/jdk1.6.0/jre" for the first line inside shutdown.sh

Link up the JDK of the new install Sun Java platform to the Tomcat

Start up the tomcat server by typing /usr/share/tomcat5/bin/startup.sh

type http://xxxx:8080   to see whether the tomcat front page appear or not. Xxxx is the address or domain name of the server

MySQL Installation

MySQL-server-5.0.37-0.glibc23.i386.rpm

rpm -ivh MySQL-server-5.0.37-0.glibc23.i386.rpm

Need to open the port for remote access

start mysql and see whether can access theuser or not.

OpenOffice Installation

Ooo_2.1.0_LinuxIntel_install_en-US.tar (English version)

tar zxvf Ooo_2.1.0_LinuxIntel_install_en_US.tar

cd RPM

rm -r -f desktop*

rpm -Uvh *

cd /opt/openoffice.org2.1/program

start the openoffice by ./soffice

Complete the registration of the office before start in server mode.

Font Installation

copy windows TrueType Font from windows to Linux

copy to Linux directory /usr/shrae/fonts/zh_CN/TrueType

ttmkfdir -o fonts.scale

mkfontdir

fc-cache -v -f

Font to install include

ARIALBD

ARIBLK

ARLRDBD

SIMSUN

WINGDING

WINGDNG2

WINGDNG3

MW Application Creation

Installation Step 

install.sh

installsql.sh

update /etc/hosts

execute openoffice /opt/openoffice.org2.1/program

soffice -headless -accept="socket,host=0,port=8100;urp;"

Berkeley DB

db-4.3.29.tar.gz

gzip -dc downloadpath/db-4.3.29.tar.gz | tar xvf -

cd db-4.3.29/buidl_unix

../dist/configure --prefix=/usr/local/

make

/bin/su -c "make install"

check /usr/local/lib exist it "libdb-4.1.so"

OpenLDAP

openldap-2.3.34.tgz

gzip -dc downloadpath/openldap-2.3.34.tgz | tar xvf -

cd openldap-2.3.34

./configure --enable-wrappers (advert:this will tell for you type "make deperd" for ok)

make deperd

make test

check /usr/local/libexec exist it "slapd"

本文转自kenty博客园博客,原文链接http://www.cnblogs.com/kentyshang/archive/2007/06/08/776455.html如需转载请自行联系原作者

kenty