OVH Community, votre nouvel espace communautaire.

Install cPanel on FreeBSD 5.4 @ OVH

14/12/2006, 16h58
lol J'avais faire un partition comme cela

/ 10000Mo
/home le rest
swap 2048

Bon je vais faire comme toi

/ 245904
swap 4096

14/12/2006, 16h42
Ca ne fuction pas correctement chez moi

BSD et SuSe

pbm de apache

26/11/2006, 15h43
Stage One

1. Click Reinstallation, select FreeBSD and your language and valider

2. Choose Private Partitioning and add two partitions - 2 times your RAM and the rest for / (e.g. on 250 GB HDD):

/ 245904
swap 4096

wait for the install letter... and while waiting, go to and order a free 15 day trial cPanel license (if you don't have one).

3. Using PuTTy log in with the supplied name and pass to your console and type

# wget
# sh latest

Order two coffees with three croissans and have a lunch. When ready go to - use the same logins and start

Stage Two: cPanel Setup

1. Basic cPanel/WHM Setup
- Leave your as Hostname (can be changed later on)
- use it as primary nameserver: Assign IP and add an A entry
- use as secondary ns: Assign IP and add an A entry
the rest is as you like, and SAVE.

2. Provide all necessary info
- activate the nameserver

- resolver
- - -
- - - Your server IP
- - - the IP of (for some reason, cPanel will offer you the IP of as secondary resolver)

- add a MySQL password (first option is your root password, then you can change it anytime)

3. Tweak Settings
- cPanel comes with MySQL 4.0; leave it as it is, later we will come back to this
- change as you like the other options

4. Service Manager (under Service Configuraion)
- turn on for monitoring all needed services

5. Check Service Status
- you will see several red allerts; to deal with most of them, enter the MySQL root password once again and restart MySQL

6. If you need and upgrade to MySQL 4.1.x or 5.1.x, go to Install a Port under Software and search for the ports to install (-server, -client, and -scripts) or use the console

# /usr/ports/databases/mysql40-server
# make deinstall

# /usr/ports/databases/mysql40-client
# make deinstall

# /usr/ports/databases/mysql40-scripts
# make deinstall

then install version 4.1 or 5.1 (41 or 51)

# /usr/ports/databases/mysql41-server
# make install

# /usr/ports/databases/mysql41-client
# make install

# /usr/ports/databases/mysql41-scripts
# make install

# reboot

7. Go to Update Apache and now select the version of PHP you need (without doing the above p. 6, you would be presented with the option to select version up to 4.4.4 - the rest would not be accessible).

8. Go to Update Config and select manual update Current, then under cPanel click on Upgrade to Latest Version

9. Check the Service Status and if MySQL won't restart, use the above password method, then restart MySQL (repeat 2 or 3 times)
- in MySQL 5.1.x, mysql.sock in my.conf and the my.conf itself should be put also where asked without deleting them from the old place. Just read the error messages for clues.

These are the setup basics, now

Stage Three: Account Transfer from Another cPanel server

1. Create a /backup/cpbackup/daily dir in /

2. Click Configure Backup, set the first option to Restoring and save.

3. Transfer all cpbackups tarballs from the old server using a server to server client, but first log on to the old server and run

# /scripts/cpbackup --force

- If you don't have a server to server SFTP client, move ../daily to any http account, say

# mv /backup/cpbackup/daily/* /home/account/public_html/trans
# cd /home/account/public_html/trans
# chown -R account *
# chmod 644 *

then log on to the new server

# cd /backup/cpbackup/daily/
# wget

4. Restore Backups

Enjoy new server.

P.S. My French is deplorable as far as writing is concerned. Sorry for that.