Browse Source

Modified README to deploy in VM

m.orban 8 years ago
parent
commit
a6ddb0a972
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      README

+ 3
- 2
README View File

@@ -59,7 +59,7 @@ Other make targets :
59 59
 
60 60
 Lodel2 instance management utilities :
61 61
 ======================================
62
-
62
+NOTE: You have to run in root to use this below
63 63
 	SLIM : Simple Lodel Instance Manager
64 64
 	------------------------------------
65 65
 
@@ -93,6 +93,7 @@ Lodel2 instance management utilities :
93 93
 		- get some help for more options & actions :
94 94
 			slim -h
95 95
 
96
+
96 97
 	mass_deploy.sh :
97 98
 	----------------
98 99
 		Use for easy mass deployment of instances with webui & uwsgi
@@ -127,7 +128,7 @@ Mass deployments tricks & tips:
127 128
 	#Add an admin user to mongodb
128 129
 	echo -e "use admin\ndb.addUser('$mongoadmin', '$mongopass')\nexit\n"|mongo
129 130
 	#Reactivate auth
130
-	sed -i -e 's/^noauth = /#noauth =/' -e 's/^#auth = /auth =/'
131
+	sed -i -e 's/^noauth = /#noauth =/' -e 's/^#auth = /auth =/' /etc/mongodb.conf
131 132
 	#Test connection
132 133
 	echo "exit" | mongo --quiet -u $mongoadmin -p $mongopass admin && echo "Connection ok" || echo "connection fails"
133 134
 	#Indicate mongodb credentials to mass_deploy

Loading…
Cancel
Save