I'm new to GIS and OSM. I've successfully installed OSM locally and now I want to add Nominatim to the mix. I've been following the installation instructions exactly from here: http://wiki.openstreetmap.org/wiki/Nominatim/Installation.
I run into an error when I try to import and index the osm data. The command the guide uses to do this goes as follows:
sudo ./utils/setup.php --osm-file <your planet file> --all [--osm2pgsql-cache 18000] 2>&1 | tee setup.log
I get a permissions error that I'm not sure how to fix and also it doesn't seem to like the cache specification. This is the error:
tee: setup.log: Permission Denied
setup.php: Unknown option '18000]'