Create a Racktables server
From Wikitech
(Difference between revisions)
LeslieCarr (Talk | contribs) (Created page with "* Add the misc::racktables group to server * Copy the directory /srv/org/wikimedia/racktables from the old server to the new server * Reload apache * Look at the inc/secret.php f...") |
LeslieCarr (Talk | contribs) |
||
| Line 4: | Line 4: | ||
* Look at the inc/secret.php file - it contains the password and database backend information. Securely store this information. | * Look at the inc/secret.php file - it contains the password and database backend information. Securely store this information. | ||
* Backup the current database, in case of mishap. | * Backup the current database, in case of mishap. | ||
| + | * If you are not naming the new host racktables.wikimedia.org , got to the apache sites-available directory and edit the racktables.wikimedia.org file to have the correct host name | ||
* go to https://newhost/install.php - click through the steps and put the correct backend database information in. | * go to https://newhost/install.php - click through the steps and put the correct backend database information in. | ||
Revision as of 23:06, 8 December 2011
- Add the misc::racktables group to server
- Copy the directory /srv/org/wikimedia/racktables from the old server to the new server
- Reload apache
- Look at the inc/secret.php file - it contains the password and database backend information. Securely store this information.
- Backup the current database, in case of mishap.
- If you are not naming the new host racktables.wikimedia.org , got to the apache sites-available directory and edit the racktables.wikimedia.org file to have the correct host name
- go to https://newhost/install.php - click through the steps and put the correct backend database information in.
If you want to upgrade
- If you want to upgrade to the (current as of 2011/12) .19 branch, you must first upgrade to .18.4 branch.
- Grab the .tar.gz from the racktables repository. Untar this.
- Copy the files over to the current directory. By default this is /srv/org/wikimedia/racktables
- Go to https://newhost/upgrade.php - click through the steps again.
- Repeat as necessary to upgrade to the latest version.