egroupare install problems
I have been trying for about 2 weeks now to get egroupware installed on slackware version 12.1 I have installed lamp as was recomended by several websites, but information is so hard to come by for slackware... no surprise there (I only use it because my boss refuses to switch away from it at work) Lamp is up and running but in order to get egroupware up you have to have odbc and other things... I am told:
I am to the point where I am almost going to refuse to work on slackware. Why cant they have a comprehensive package manager like any other widespread linux distro.
(sry for rant at the end, but I am so annoyed with slackware. any helpfull info to make me not hate it so much also welcomed in this post)
I did install it successfully a few minutes ago on a Slackware 12.2. But I guess it would have succeeded similarly on a Slackware 12.1.
Having done that let me tell you this:
1) You don't need anything more than what's already included in a full Slackware installation as a dependency.
2) If you have properly configured Apache / MySQL / PHP setup goes flawlessly.
3) I did have the warnings you got at setup time but that was not an issue:
- I safely ignored the warnings about not being able to use MaxDB, MsSQL or Oracle as I don't intend to use any of them. And I guess you don't either, otherwise just install the needed stuff and come back to the installer afterward.
- I followed the advises for the "pear install <stuff>" I got too.
- I did some tuning of php.ini as recommended by some warnings or errors.
- I then restarted Apache as recommended: "/etc/rc.d/rc.httpd restart" did the trick.
Then I could proceed to the next step.
So please don't blame Slackware for missing
Now if you give more details on what you did exactly, and what went wrong, it'll be a pleasure to try to help you. Or you can post these information to an egroupware forum
First off the base slackware install 12.1 that I did did not have apache, MySQL, nor PHP installed by default. to do this I installed lamp (as recommended elsewhere - don't recall now.) Lamp installed those 3 for me. After having installed lamp I started the daemon. Then I installed egroupware (extracted to the httpdocs directory) like instructed. Opened a web browser and navigated to the egroupware page. On the page I ran the tests and had to make changed to my php.ini as well. Made the cahnges that I could and then began my search on how to get odbc to work as I will need mysql to work. I cannot find how to intsall ODBC anywhere online for slackware. I cannot find how to get pear to stop giving me errors. Yes I can proceed past this point (as long as you have no red 'X' you can) but that will not give me support for what I need. I believe I need the PEAR to show clear as well. So continuing past this point would not help me. Am I wrong?
Sorry for raggin on slackware, but a package manager would be helpfull since (as mentioned above) it does not come with sever packages I need. I can find packages to install egroupware for almost any other distro and have succesfully installed to ubuntu already in much less time than slackware. That is what has me so irritated. Just the level of complexity that seems to be added anytime I try to do something in slackware. It seems as if other distros have simplified alot of what you manually have to do in slack. Am I just not familiar enough with slackware? or is it intended to be so much more management intensive?
On a Slackware that you don't want to mess up:
- Only install Slakware packages
- Included in the "official" distribution
- Only if Slackware doesn't include an app you need, try to find a SlackBuild to make yourself a Slackware package @ slackbuilds.org. Explanations on how to proceed are on their website.
Why ? because so :
- you will be able to remove safely and easily any installed app, reverting the state of your system to a previous one
- Your system will be consistent, e.g. all libraries will be at the version needed
- It'll be easy to track back any individual file installed on you system
- use the Slackware Packages Browser to find the package you need (be careful to choose one fitting your Slackware version), then click on its name to go to the download page, choose a mirror and download it _somewhere_
- cd _somewhere_, then, as root, type (without the quotes) "installpkg <package_name>"
I admit you won't be able to follow that advise for egroupware itself, as I didn't find a Slackware package nor a trustful SlackBuild for it. As least you know where it will be installed.
Things would have been a lot simpler if you could have started from a full Slackware installation, i.e. including all packages available, which is recommended when you install Slackware.
Nevertheless you only have to add following packages (I just checked in the Slackare Packages Browser -- I hope I don't miss anything):
httpd-2.2.9-i486-1_slack12.1 for Apache
php-5.2.8-i486-1_slack12.1 for php and pear
mysql-5.0.51b-i486-1 for MySQL
I strongly suggests you remove your LAMP installation then install these official packages instead.
Otherwise, don't complain about something broken or missing. BTW it *could* solve your "pear" issue.
Now, there *is* a package manager in Slackware, though launched through a CLI, not a GUI. It's the following set of tools (all should be used as root):
All have a well documented manual, e.g. try "man installpkg"
Plus, there is slackpkg, which permits you to do the same things as the other tools, plus keep a list of all installed/not installed packages, sync to a mirror to grab and install updates, etc. A usual: "man slackpkg".
Should you miss one of these tools, go grab it with the Slackware Packages Browser.
Now about your question:
PS you *don't* need ODBC to access a MySQL database, only a MsSQL, Oracle or MaxDB one.
I have used egroupware on 11.0, 12.0, and 12.1. On each of these versions, setting up egroupware has been a simple and straightforward process. A full Slackware install contains all the packages you need (except egroupware itself, of course). Your boss is quite right, and maybe you could learn something from him or her.
So, if you can, follow Didier's advice and remove all the LAMP stuff you installed and instead install the standard packages than come with Slackware. After that, if you have problems, we can help you.
...and now I can say that it was just as simple on 12.2. It took me about 10 minutes to transfer my egroupware installation/database from my 11.0 server to my newly installed 12.2 laptop.
Thank you for your helpI did a fresh install and cleared up my problems. Now I am just configuring and setting up the DB and stuff.
Glad to hear it. Let us know if you have any more questions.
Another tip for your future work with slackware: If you need to install a program which is not already part of slackware, your first stop should be slackbuilds.org. They have hundreds of programs which can be easily compiled and installed using standard slackware package management tools. That will keep your system clean and allow you to easily remove things if necessary.
|All times are GMT -5. The time now is 06:37 AM.|