Detailed Instuctions for Installing on Fedora 6
From Bibus
Contents |
[edit]
Motivations
I want to make Bibus as easy as possible to install.
[edit]
Prerequisites
- Install OpenOffice.org2.0, wxWidgets > 2.6, pyMySQL, MySQL from the Fedora 5 CD's or through yumex or through the Add/Remove Software in the menu.
- Install Python 2.3.6 in the /usr/lib/openoffice.org2.0/program
- These install instructions are for 32 bit and may not work on 64 bit platforms.
[edit]
Installing Python 2.3.6
download Python-2.3.6.tgz
%tar zxvf Python-2.3.6.tgz %cd Python-2.3.6 %configure --prefix=/usr/lib/openoffice.org2.0/program %make %su (password) #make install
[edit]
Caveats
- Bibus doesn't work with SQLite for Fedora 6 as Fedora 5, since SQLite is version 3 and version 2 is needed. Also, don't forget to install OpenOffice.org-pyuno for python bindings.
[edit]
Compiling
download bibus_1.3.0.orig.tar.gz
#su (root password) #cp bibus_1.3.0.orig.tar.gz /usr/local/share/. #cd /usr/local/share #tar zxvf bibus_1.3.0.orig.tar.gz #export LD_LIBRARY_PATH=/usr/lib/openoffice.org2.0/program #export PYTHONPATH=/usr/lib/openoffice.org2.0/program/bin #cd bibus-1.3.0 #cd Setup #python setup.py #ln -s /usr/local/share/bibus-1.3.0/bibusStart.py /usr/local/bin/bibus
[edit]
Configure Mysql
#service mysqld start #mysqladmin -u root password [root password] (If you already haven't done it, yet) #cd /usr/local/share/bibus-1.3.0/db_models
#mysql -u root -p [type in password] mysql>create database Biblio_41; mysql>exit;
or
#vi mysql_41.sql (Add the following lines to the top of the file) DROP DATABASE IF EXISTS Biblio_41; (Add this line if you want to ditch the old database and add a new one) CREATE DATABASE Biblio_41; (exit)
#mysql -u root -p < mysql_41.sql #mysql -u root -p [type in password] mysql>grant all on Biblio_41.* to user@localhost identified by '[user password]'; (If you are not accessing the linux box from the network, you might consider putting no password) ln -s /var/lib/mysql/mysql.sock /var/run/mysqld/mysqld.sock
[edit]
Previous Versions of Bibus
If you have a previous version of bibus, then type:
#mysqldump -p -u root -t Biblio | mysql Biblio_41
[edit]
Configuring Bibus for the 1st time
%bibus
Welcome to Bibus!
[Select OpenOffice]
[Select Next]
[Select Activate]
[Select Next]
[Select Cancel] for Mysql (In Fedora 5, Mysql version is 5.0) Note: SQLite 3 from Fedora 5 doesn't work with
Bibus. Apparently SQLite 3 uses a slightly different format the SQLite 2.)
In the open office document, [Click enable macros] (This will appear as a popup window when you activate bibus) [Click set to pipe or socket] (not changing the settings is the easiest.) [Click accept uno connections] [Click get current uno connection]
[edit]
Open ports
Keep the following ports open for bibus: 8100 (Bibus), 3306 (Mysql).


