Re: [Refdb-users] GOT IT!!! Build to Ubuntu (Debian) system
Status: Beta
Brought to you by:
mhoenicka
From: <J.I...@uv...> - 2006-06-22 08:07:26
|
Hi, I'm very happy, because I finally could see the output of the "viewstat" command of refdba. Thank you very much. My refdb installation on ubuntu seems to work perfectly. I only had to create the symbolic links to libdbi files.=20 Regards, Ignasi. > Got it, and in less that 12 hours. >=20 > Most of the trouble I've been having comes from not understanding > details of README files, but since this is probably a common problem, I > thought I'd write out what worked. Again in Wiki format. >=20 > =3D=3DInstalling refdb from a clean install of Ubuntu 6.06 LTS=3D=3D >=20 > * Ensure that the community and multiverse repositories are enabled. > ** Open sources.list with your favorite editor > sudo nano /etc/apt/sources.list > ** Remove the comment hashes from the relevant repositories > ** Reload > sudo apt-get update >=20 > * Load the necessary binaries (place all one one line) >=20 > sudo apt-get install make mysql-client mysql-server libmysqlclient15-dev zlib1g-dev libbtparse0 libbtparse-dev libreadline5-dev install gcc libexpat1-dev >=20 > * Add a password to mysql >=20 > mysqladmin -u root password '<your favourite password here>' >=20 > * Get source files for libdbi0 =3D>8.0. In the download directory do the > following (this assumes you are downloading from the University of > Minnesota Mirror; you can also choose a different mirror if there is a > more convenient one): >=20 > wget http://umn.dl.sourceforge.net/sourceforge/libdbi/libdbi-0.8.1.tar.g= z > tar zxvf libdbi-0.8.1.tar.gz > cd libdbi-0.8.1/ > ./configure > make > sudo make install > cd .. >=20 > * Get source files for libdbi drivers and install: >=20 > wget http://umn.dl.sourceforge.net/sourceforge/libdbi-drivers/libdbi-drivers-0.8= 1a.tar.gz > tar zxvf libdbi-drivers-0.8.1a.tar.gz > cd libdbi-drivers-0.8.1/ > ./configure --with-mysql > make > sudo make install > cd .. >=20 > * Symlink the libdbi libraries (installed in /usr/local/lib) to /usr/lib > (where refdb will look for them): >=20 > ln -s /usr/local/lib/libdbi.a /usr/lib/libdbi.a > ln -s /usr/local/lib/libdbi.la /usr/lib/libdbi.la > ln -s /usr/local/lib/libdbi.so /usr/lib/libdbi.so > ln -s /usr/local/lib/libdbi.so.0 /usr/lib/libdbi.so.0 > ln -s /usr/local/lib/libdbi.so.0.0.5 /usr/lib/libdbi.so.0.0.5 >=20 > * Get install refdb (note: during make you will get a recurring invalid > pointer error. This is not important): >=20 > wget http://refdb.sourceforge.net/pre/refdb-latest.tar.gz > tar zxvf refdb-latest.tar.gz > cd refdb-0.9.7-pre7/ > ./configure --sysconfdir=3D/etc --with-refdb-url=3Dhttp://localhost/refd= b > make > sudo make install > cd .. >=20 > * Run the installation script (answer all questions) > cd /usr/local/bin/ > sudo refdb-init.sh >=20 > * test installation (see section 4.9. Testing your installation) >=20 > --=20 > Daniel Paul O'Donnell, PhD > Associate Professor and Chair > Director, Digital Medievalist Project > <http://www.digitalmedievalist.org/> > Department of English > University of Lethbridge > Lethbridge AB T1K 3M4 >=20 > Tel. +1 (403) 329-2378 > Fax. +1 (403) 382-7191 >=20 > :@wiglaf (dapper ubuntu) >=20 >=20 > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications i= n > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat= =3D121642 > _______________________________________________ > Refdb-users mailing list > Ref...@li... > https://lists.sourceforge.net/lists/listinfo/refdb-users >=20 >=20 |