Ich bin Deborah.
Schaut euch meine Arbeiten
an oder lest meinen Blog.

Setting up Meteor with Ubuntu 12.10 on an NTFS share partition

(English) Meteor looks like a promising environment for synchronized web creations. This is a guide on how to set it up under Linux.

Having issues with the quick setup of Meteor under Ubuntu or any other debian based system?
user@system:~/Development$ curl https://install.meteor.com | /bin/sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5239 0 5239 0 0 3334 0 --:--:-- 0:00:01 --:--:-- 5116
Detected a Debian system. Downloading install package.
curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Installation failed.

This is how I got it to run:

  1. Compile Meteor using the slow way. Run in Terminal:
    git clone git://github.com/meteor/meteor.git
    cd meteor
    ./admin/generate-dev-bundle.sh
  2. Install it:
    ./install.sh
  3. Try to setup the documentation:cd docs/
    meteor

If it works, congratulations. In my case I got this lovely message:
user@system:~/Development/meteor/docs$ meteor
[[[[[ /media/data/Development/meteor/docs ]]]]]
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Can't start mongod. Check for other processes listening on port 3002 or other meteors running in the same project.

Especially if you are using a dual-boot setup, you may have an NTFS partition for your shared data. Are your development files placed there? By default the NTFS partition is mounted with „root“ as user. Check whether this is the case:
user@system:~$ ls -lah /media/
drwxrwxrwx 1 root root 8.0K Sep 6 13:50 data

In my case this was causing the installation error. For different error sources read this page. The owner problem is solved by editing „/etc/fstab“:

  1. gksudo gedit /etc/fstab
  2. Edit the line for the specific partition or add a new one, for example:
    # data
    UUID=5A1E2B642B59C3C8 /media/data ntfs uid=1000,gid=1000,umask=022,exec 0 2

    • to get the UUID of your partition, use sudo blkid
    • uid=1000,gid=1000,umask=022,exec are used to set your username and group as owner of the partition (details) and to set the permission attributes to read, write and execute for the owner and read and execute for everyone else (details)
    • /media/data is my mounting point for this partition, use yours
  3. Unmount and remount your partition by rebooting.
  4. Ensure that you are now owner of your NTFS partition:
    user@system:~$ ls -lah /media
    drwxr-xr-x 1 user user 8.0K Sep 6 13:50 data
  5. Try again to setup the documentation in your meteor directory:cd docs/
    meteor

    [[[[[ /media/data/Development/meteor/docs ]]]]]
    Initializing mongo database... this may take a moment.
    Running on: http://localhost:3000/
    You did it.

Sag etwas

Deine email-Adresse wird nicht veröffentlicht.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Artikel zum Thema "Blog":

How to print an invisible IR marker using a standard printerQuick, Draw! Generierte Zeichnungen, Teil 2(English) The Art of CodingImperfekte MandalasHerbstblätterFarbexplosion #25 Jahre KAZOOSH!FarbexplosionUbuntu 15.10, MongoDB und node.jsSpeed of Fencing Remixgit cheat sheetFraktaleofxSortableListHäkeln: Haarband mit JeansknopfWandmalen zu Marias GeburtstagLinux / Ubuntu + Serato Vinyl Control System + Pure DataWicket-Bootstrap – Navbar und Pageparameters – aktives Item setzenLinux Console MerkzettelCrawling Traces @Deutscher Multimediapreis mb21Crawling Traces History Viewernew.livestream.com unter Ubuntu mit VLC abspielenCrawling Traces at Hechtfest / hechtgruenLinksammlung: Datensicherheit, soziale Netzwerke und sicheres MailingFix: VMware Player Crash unter Ubuntu 13.04Xubuntu: Wenn Dockbarx Thunar oder das Terminal nicht startet.Ubuntu 12.10, libwebsockets and OFSetting up Meteor with Ubuntu 12.10 on an NTFS share partitionWebauftritt: KAZOOSH!Zwischenstand IsolinienDas Scheunentor wird buntSkype auf Ubuntu 10.10 oder 11.04 64bitElitebook 8440p vs UbuntuKryptografie & Datensicherheit – NotizenRandom Compilation IIRandom Compilation IAll You Can Eat in DresdenWebauftritt: ESE 2010