source:
src/django_gheat/init_ramdisk.sh@
9623
Last change on this file since 9623 was 9556, checked in by , 13 years ago | |
---|---|
File size: 304 bytes |
Line | |
---|---|
1 | MD=`mdconfig -a -t malloc -s 1g` |
2 | newfs /dev/$MD |
3 | mount -o rw,noatime /dev/$MD /usr/local/var |
4 | mkdir -p /usr/local/var/django/cache/{osm_proxy,tile} |
5 | mkdir -p /usr/local/var/scan-data |
6 | mkdir -p /usr/local/var/httpd/cache/{osmproxy,maps} |
7 | chown -R www:www /usr/local/var/* |
8 | |
9 | /usr/local/etc/rc.d/apache22 restart |
Note:
See TracBrowser
for help on using the repository browser.