-
Notifications
You must be signed in to change notification settings - Fork 0
/
UPDATE
45 lines (33 loc) · 1.36 KB
/
UPDATE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# phpipam update instructions
#
It is recommended that you backup the old phpipam database before you upgrade to new version (change username and pass to ones in config.php):
/usr/bin/mysqldump -u ipv6 -pipv6admin phpipam > <my_backup_dir>/phpipam_<version>_migration_backup.db
Backup phpipam files:
mv <mywebdir>/phpipam <myphpipamdir>/phpipam-<version>
#
# !!! important !!!
#
since version 0.7 phpipam uses mod_rewrite to handle url's. Please make sure you meet the following requirements:
1.) Apache2 with mod_rewrite support
2.) "AllowOverride all" set in vhost config for mod_rewrite to work
In case your URL for phpipam is not root please set the following variables (example for /phpipam/):
3.) Set BASE in config.php to /phpipam/
4.) RewriteBase /phpipam/ in .htaccess
#
# a) Automatic upgrade procedure
#
1.) Extract files form tar package:
tar -xvf phpipam-0.8.tar
2.) Set database connection settings in config.php;
3.) Open phpipam in browser and update database;
#
# b) Manual upgrade procedure
#
1.) Extract files form tar package:
tar -xvf phpipam-0.8.tar
2.) Set database connection settings in config.php;
3.) Manual database structure update
Update database structure by importing database scheme for your version.
If you have version 0.6 and want to upgrade to 0.8 use UPDATE-v0.6.sql file;
mysql -u root -p phpipam < db/UPDATE-v0.6.sql