dd9f4dc3
Carmine Spagnuolo
update
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
sudo ./spod-manager.sh --help
spod-manager.sh is manager tool for SPOD application of ROUTE-TO-PA European project all rights are reserved. 2015
list of arguments:
-h, --help show commands help.
-a, --action=ACTION specify an action install, uninstall, update and backup.
-m, --mysql-username=username specify the username of mysql (*).
-n, --mysql-password=password specify the password of mysql server (*).
-o, --mysql-address=address specify the address of mysql server (deafult is localhost).
-p, --spod-git-username=user specify the user name of SPOD git server (*).
-q, --spod-git-email=email specify the email of SPOD git server (*).
-r, --spod-git-password=password specify the passoword of SPOD git server (*).
-s, --spod-git-address=address:port specify the SPOD git server (deafult is service.routetopa.eu:7480).
-w, --spod-hostname=hostname specify the SPOD host name (example http://spod.routetopa.eu/).
-d, --spod-database-version=db specify the SPOD db git path located in db_dump of SPOD git core (example oxwall_v.0.1_antares.sql, deafults is really simple SPOD and Oxwall installation).
-b, --backup-dir=DIR specify the directory where store the spod backup (default is current directory).
* the arguments is required.
|
4428cdc7
Carmine Spagnuolo
update
|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
### INSTALLATION SPOD
sudo ./spod-manager.sh -a install -m root -n mysqlpass -p usergit -q emailusergit -r passgit -w http://spod.routetopa.eu/ -d oxwall_v.0.1_antares.sql
### UNINSTALLATION SPOD
sudo ./spod-manager.sh -a uninstall -m root -n mysqlpass
### BACKUP SPOD
sudo ./spod-manager.sh -a backup -m root -n mysqlpass -b ./test
### UPDATE SPOD
sudo ./spod-manager.sh -a update -p usergit -q emailuserigit -r passgit
|