O
ozz-
Guest
The integration of the package management sources of Plesk in the ports tree of FreeBSD is a great idea, however, this is not without trouble. Since December, it is no joy. I took some notes on my experience of installing Plesk on FreeBSD 6.2-RELEASE-p3. I cannot guarantee a successful installation, I personally had to redo it a couple times. I also do not remember everything. Also note that I did not install the 'sitebuilder' module.
In the following files:
/usr/ports/swsoft/psa-horde/Makefile
/usr/ports/swsoft/psa-hotfix5/Makefile
Find the line:
RUN_DEPENDS+= /psa/version:/swsoft/psa
and replace it by:
RUN_DEPENDS+= ${LOCALBASE}/psa/version:${PORTSDIR}/swsoft/psa
Of course, the SWsoft ports must be installed prior. A good time to do the changes during installation is during the "Installation type" step, right after the "Choosing system updates sources," which overwrite this two Makefiles. For the error regarding "psa-mysql-configurator," I simply made a symbolic link to psa-postgresql-configurator, hoping that it was the error since I have no idea.
# ln -s /usr/ports/swsoft/psa-postgresql-configurator /usr/ports/swsoft/psa-mysql-configurator
Some dependencies seem to look for a portupgrade in /usr/ports/sysutils/portupgrade even though portupgrade was moved to /usr/ports/ports-mgmt/portupgrade so:
# ln -s /usr/ports/ports-mgmt/portupgrade /usr/ports/sysutils/portupgrade
Watchdog seems to have trouble finding mysql-server. The SWsoft forum proposes
this solution. However, I didn't listen and decided to make a link instead of renaming:
# ln -s /usr/local/etc/rc.d/mysql-server /usr/local/etc/rc.d/mysql-server.sh
# portupgrade -f psa-module-watchdog
Once the installation is completed successfully, do not forget:
# rm /usr/ports/sysutils/portupgrade
# rm /usr/ports/swsoft/psa-mysql-configurator
I left the mysql-server.sh link, something told me that it was better not to touch it.
Some folders /usr/ports/tmp_extract_ports_* are created during installation and are not erased after the autoinstaller psa_installer_v3.1.1_build061220.12_os_FreeBSD_6.1_i386. I removed them and executed /usr/local/psa/admin/bin/autoinstaller which did not leave any temporary folders.
We have to find something to do, Plesk just recently updated *el4, debian 3.1, ubuntu, and some others to 8.1.1. I do not know when the next FreeBSD update between *el5 and debian 4.0 is...
If you have any suggestions...
Edit: I think something is wrong with apache2ssl and one of the hotfix in the installation sequence with the latest Plesk sources. If you can, don't use psa-ports*.tbz, it is hard to deal with it in the package management.
In the following files:
/usr/ports/swsoft/psa-horde/Makefile
/usr/ports/swsoft/psa-hotfix5/Makefile
Find the line:
RUN_DEPENDS+= /psa/version:/swsoft/psa
and replace it by:
RUN_DEPENDS+= ${LOCALBASE}/psa/version:${PORTSDIR}/swsoft/psa
Of course, the SWsoft ports must be installed prior. A good time to do the changes during installation is during the "Installation type" step, right after the "Choosing system updates sources," which overwrite this two Makefiles. For the error regarding "psa-mysql-configurator," I simply made a symbolic link to psa-postgresql-configurator, hoping that it was the error since I have no idea.
# ln -s /usr/ports/swsoft/psa-postgresql-configurator /usr/ports/swsoft/psa-mysql-configurator
Some dependencies seem to look for a portupgrade in /usr/ports/sysutils/portupgrade even though portupgrade was moved to /usr/ports/ports-mgmt/portupgrade so:
# ln -s /usr/ports/ports-mgmt/portupgrade /usr/ports/sysutils/portupgrade
Watchdog seems to have trouble finding mysql-server. The SWsoft forum proposes
this solution. However, I didn't listen and decided to make a link instead of renaming:
# ln -s /usr/local/etc/rc.d/mysql-server /usr/local/etc/rc.d/mysql-server.sh
# portupgrade -f psa-module-watchdog
Once the installation is completed successfully, do not forget:
# rm /usr/ports/sysutils/portupgrade
# rm /usr/ports/swsoft/psa-mysql-configurator
I left the mysql-server.sh link, something told me that it was better not to touch it.
Some folders /usr/ports/tmp_extract_ports_* are created during installation and are not erased after the autoinstaller psa_installer_v3.1.1_build061220.12_os_FreeBSD_6.1_i386. I removed them and executed /usr/local/psa/admin/bin/autoinstaller which did not leave any temporary folders.
We have to find something to do, Plesk just recently updated *el4, debian 3.1, ubuntu, and some others to 8.1.1. I do not know when the next FreeBSD update between *el5 and debian 4.0 is...
If you have any suggestions...
Edit: I think something is wrong with apache2ssl and one of the hotfix in the installation sequence with the latest Plesk sources. If you can, don't use psa-ports*.tbz, it is hard to deal with it in the package management.