Changes between Version 15 and Version 16 of SysAdmin/Pootle
- Timestamp:
- 05/21/13 21:39:54 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SysAdmin/Pootle
v15 v16 66 66 chgrp pootle /var/www/pootle/po 67 67 68 mysqladmin create pootle -p 68 mysql -u root -p 69 > CREATE DATABASE pootle CHARACTER SET = 'utf8'; 70 > GRANT ALL PRIVILEGES ON pootle.* TO pootle@localhost IDENTIFIED BY 'pootlepassword'; 71 > FLUSH PRIVILEGES; 69 72 70 73 #sed -i "s|'localhost'|'pootle.sahanafoundation.org'|" /var/www/pootle/settings/90-local.conf.sample 71 74 sed -i 's|django.db.backends.sqlite3|django.db.backends.mysql|' /var/www/pootle/settings/20-backends.conf 72 75 sed -i "s|working_path('dbs/pootle.db')|'pootle'|" /var/www/pootle/settings/20-backends.conf 73 sed -i "s|'USER': ''|'USER': ' root'|" /var/www/pootle/settings/20-backends.conf74 sed -i "s|'PASSWORD': ''|'PASSWORD': ' mysqlrootpw'|" /var/www/pootle/settings/20-backends.conf76 sed -i "s|'USER': ''|'USER': 'pootle'|" /var/www/pootle/settings/20-backends.conf 77 sed -i "s|'PASSWORD': ''|'PASSWORD': 'pootlepassword'|" /var/www/pootle/settings/20-backends.conf 75 78 sed -i "s|'BACKEND': 'django.core.cache.backends.db.DatabaseCache'|'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache'|" /var/www/pootle/settings/20-backends.conf 76 79 sed -i "s|'LOCATION': 'pootlecache'|'LOCATION': '127.0.0.1:11211'|" /var/www/pootle/settings/20-backends.conf