Sto cercando di installare una build 10gen di MongoDB sul mio Mac locale con Mountain Lion (10.8.3):
Lo prendo con curl
a:
curl http://downloads.mongodb.org/osx/mongodb-osx-x86_64-2.4.tgz > mongodb.tgz
Ma non riesco a estrarre la build:
Tentativo 1:
$ tar -zxvf mongodb.tgz
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Tentativo 2:
$ gunzip mongodb.tgz
gzip: mongodb.tgz: not in gzip format
Tentativo 3:
$ unzip mongodb.tgz
Archive: mongodb.tgz
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of mongodb.tgz or
mongodb.tgz.zip, and cannot find mongodb.tgz.ZIP, period.
Doppio clic:
se faccio doppio clic sul file tgz nel finder, viene creato un nuovo filemongodb.tgz 2.cpgz
Hai idea di cosa sto facendo di sbagliato qui? Ho provato varie build e tutte riproducono questo problema:
http://downloads.mongodb.org/osx/mongodb-osx-x86_64-2.4.tgz > mongodb.tgz
http://downloads.mongodb.org/osx/mongodb-osx-x86_64-2.3.tgz > mongodb.tgz
http://downloads.mongodb.org/osx/mongodb-osx-x86_32-2.4.tgz > mongodb.tgz
http://downloads.mongodb.org/osx/mongodb-osx-x86_32-2.3.tgz > mongodb.tgz