PDA

View Full Version : How-to: Installing 4.6 under Plesk 7.1.x


brucew
10-11-2004, 10:19 PM
Worked through a couple of directory ownership issues with Mike on this one (Thanks, Mike!) and came up with this procedure that seems to work just fine.

Assumption: Domain has been created under Plesk and is functioning and resolving properly.

1. Create License Key
2. Create MySQL database (I did this in Plesk, you can choose the method you prefer.)
3. Upload (as root) soholaunch-pro-46-040315.tgz to /home/httpd/vhosts/<domainname.tld>/httpdocs/
4. SSH as root
5. cd /home/httpd/vhosts/<domainname.tld>/httpdocs/
6. tar -xzvf soholaunch-pro-46-040315.tgz
7. rm soholaunch-pro-46-040315.tgz
8. cd ..
9. chown apache.apache httpdocs (Make a note of the username first!)
10. Edit /home/httpd/vhosts/<domainname.tld>/conf/vhosts.conf as follows:

<Directory /home/httpd/vhosts/<domainname.tld>/httpdocs/>
php_admin_flag engine on
php_admin_flag register_globals on
php_admin_flag short_open_tag on
php_admin_flag safe_mode off
</Directory>

11. Restart Apache
12. Browse to http://www.<domainname.tld>/sohoadmin/index.php
13. Login as admin, admin
14. Verify URL and path data in left of screen.
15. Enter database name, database username and password in right of screen.
16. Submit
17. Cancel setup wizard
18. Logout of soholaunch
19. chown <username>.psaserv httpdocs
20. Logout of SSH session

This also works, with proper path adjustments, for subdomains created within the domain account using Plesk.

Kid-tested, mother-approved on:
RedHat 9
Plesk 7.1.2 and 7.1.4
PHP 4.3.8 and 4.3.9
MySQL 3.23.58 and 4.0.21
and survived upgrades between the noted versions.

Hope this helps!