Karena ada banyak skali client, harus dibikin script untuk memudahkan pihak MIS mengupgradenya. Dan kita udah gunakan NFS server. Jadi semuanya cukup disimpan di NFS server. Folder letak OpenOffice.org di NFS server, dalam hal ini kita udah mount (mapping) ke /nfsserver/software/openoffice.org.
#!/bin/bash
# where the OpenOffice.org 3.2.0 files located on NFS server
NFS=/nfsserver/software/openoffice.org
# remove old version openoffice.org-2.4.1 (from Ubuntu 8.0.4 LTS)
#apt-get -y remove openoffice.org*
# or use this for details
apt-get -y remove openoffice.org openoffice.org-base openoffice.org-base-core openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-evolution openoffice.org-filter-mobiledev openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-impress openoffice.org-java-common openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-za openoffice.org-math openoffice.org-style-human openoffice.org-writer
# install new version openoffice.org-3.2.0
dpkg -iR $NFS/OOO320_m12_native_packed-1_en-US.9483/DEBS/
# disable wizard
/opt/openoffice.org3/program/unopkg add --shared $NFS/DisableFirstStartWzd_ooo32.oxt
# use file/save system dialog
cp $NFS/Common.xcu /etc/openoffice.org3/share/registry/data/org/openoffice/Office/
chmod 444 /etc/openoffice.org3/share/registry/data/org/openoffice/Office/Common.xcu
# use new splash screen
cp -u $NFS/intro.bmp /etc/openoffice.org3/program/
chmod 444 /etc/openoffice.org3/intro.bmp
# remove all old openoffice.org profiles
# rm -Rf /home/*/.openoffice.org*
Simpan script ini menjadi /nfsserver/software/openoffice.org/oo3-upgrade.sh. Dan untuk mengupgrade di client, cukup lakukan cara ini:
sudo sh /nfsserver/software/openoffice.org/oo3-upgrade.sh
Ok, pren. OpenOffice.org 3.2.0 rasa Ubuntu siap dinikmati :-p
- Siapin DEB format dari OpenOffice.org 3.2.0
Download saja dari link ini dan dan extract ke folder itu
Misal:
/nfsserver/software/openoffice.org/OOO320_m12_native_packed-1_en-US.9483/ - Siapain addon "disable registration wizard" dari link ini dan simpan di folder yang sama
Misal:
/nfsserver/software/openoffice.org/DisableFirstStartWzd_ooo32.oxt - Buat file Common.xcu atau download aja dari dropbox gue ini: link
Misal:
/nfsserver/software/openoffice.org/Common.xcu - Jangan lupa splash screen versi warna coklat yang udah berganti angka dari 2.4 menjadi 3.2
Misal:
/nfsserver/software/openoffice.org/intro.bmp
#!/bin/bash
# where the OpenOffice.org 3.2.0 files located on NFS server
NFS=/nfsserver/software/openoffice.org
# remove old version openoffice.org-2.4.1 (from Ubuntu 8.0.4 LTS)
#apt-get -y remove openoffice.org*
# or use this for details
apt-get -y remove openoffice.org openoffice.org-base openoffice.org-base-core openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-evolution openoffice.org-filter-mobiledev openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-impress openoffice.org-java-common openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-za openoffice.org-math openoffice.org-style-human openoffice.org-writer
# install new version openoffice.org-3.2.0
dpkg -iR $NFS/OOO320_m12_native_packed-1_en-US.9483/DEBS/
# disable wizard
/opt/openoffice.org3/program/unopkg add --shared $NFS/DisableFirstStartWzd_ooo32.oxt
# use file/save system dialog
cp $NFS/Common.xcu /etc/openoffice.org3/share/registry/data/org/openoffice/Office/
chmod 444 /etc/openoffice.org3/share/registry/data/org/openoffice/Office/Common.xcu
# use new splash screen
cp -u $NFS/intro.bmp /etc/openoffice.org3/program/
chmod 444 /etc/openoffice.org3/intro.bmp
# remove all old openoffice.org profiles
# rm -Rf /home/*/.openoffice.org*
Simpan script ini menjadi /nfsserver/software/openoffice.org/oo3-upgrade.sh. Dan untuk mengupgrade di client, cukup lakukan cara ini:
sudo sh /nfsserver/software/openoffice.org/oo3-upgrade.sh
Ok, pren. OpenOffice.org 3.2.0 rasa Ubuntu siap dinikmati :-p
Tidak ada komentar:
Posting Komentar