aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/InstallItAll.sh
diff options
context:
space:
mode:
authoronefang2019-07-24 17:26:44 +1000
committeronefang2019-07-24 17:26:44 +1000
commit451e158895a5ea5e1064ba28ff35b0b93105ede7 (patch)
tree5e23aab560157292dffa7562f22f5b8bc5e49050 /InstallItAll.sh
parentMove the terrain.raw file out of tree to a sim specific name. (diff)
downloadopensim-SC_OLD-451e158895a5ea5e1064ba28ff35b0b93105ede7.zip
opensim-SC_OLD-451e158895a5ea5e1064ba28ff35b0b93105ede7.tar.gz
opensim-SC_OLD-451e158895a5ea5e1064ba28ff35b0b93105ede7.tar.bz2
opensim-SC_OLD-451e158895a5ea5e1064ba28ff35b0b93105ede7.tar.xz
Make the installation more robust.
Diffstat (limited to 'InstallItAll.sh')
-rwxr-xr-xInstallItAll.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/InstallItAll.sh b/InstallItAll.sh
index 15f7c03..3152476 100755
--- a/InstallItAll.sh
+++ b/InstallItAll.sh
@@ -51,8 +51,8 @@ echo "Setting up OpenSim users. This next prompt asks for your MySQL root users
51# Otherwise you can't get in. Yep, the -p seems to still be needed. 51# Otherwise you can't get in. Yep, the -p seems to still be needed.
52sudo mysql -u root -p -h localhost << zzzzEOFzzz 52sudo mysql -u root -p -h localhost << zzzzEOFzzz
53create database if not exists $MYSQL_DB; 53create database if not exists $MYSQL_DB;
54create user '$MYSQL_USER' identified by '$MYSQL_PASSWORD'; 54create user if not exists '$MYSQL_USER' identified by '$MYSQL_PASSWORD';
55create user '$MYSQL_USER'@localhost identified by '$MYSQL_PASSWORD'; 55create user if not exists '$MYSQL_USER'@localhost identified by '$MYSQL_PASSWORD';
56grant all on $MYSQL_DB.* to '$MYSQL_USER'; 56grant all on $MYSQL_DB.* to '$MYSQL_USER';
57grant all on $MYSQL_DB.* to '$MYSQL_USER'@localhost; 57grant all on $MYSQL_DB.* to '$MYSQL_USER'@localhost;
58FLUSH PRIVILEGES; 58FLUSH PRIVILEGES;
@@ -119,6 +119,7 @@ sudo chown -R ${USER}:${USER} ${OS_PATH} *
119 119
120 120
121cd scripts/install 121cd scripts/install
122sudo chmod a+x secure.sh
122sudo ./secure.sh 123sudo ./secure.sh
123 124
124echo "Done installing OpenSim." 125echo "Done installing OpenSim."