I am Deborah.
Check out my work
or read my blog.

Setting up Meteor with Ubuntu 12.10 on an NTFS share partition

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.

Say something

Your email address will not be published.

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>

Posts from "Blog":

How to print (almost) invisible IR markers using a standard printerQuick, Draw! Generic drawings part 2The Art of CodingImperfect MandalasAutumn LeafsColor Explosion #25 years of KAZOOSH!Color explosionUbuntu 15.10, MongoDB and node.jsKaleidoscope of Fencinggit cheat sheetFractalsofxSortableListCrocket: hairband with jeans buttonWall painting for Marias birthdayLinux / Ubuntu + Serato Vinyl Control System + Pure DataWicket-Bootstrap – Navbar and Pageparameters – setting the active itemLinux Console SnippetsCrawling Traces @German award for multimedia mb21Crawling Traces History ViewerStreaming new.livestream.com with VLC and UbuntuCrawling Traces at Hechtfest / hechtgruenLinks: Data Security, Social Networks and Secure MailingFix: VMware Player crash on Ubuntu 13.04Xubuntu: Fix for Dockbarx bug not starting Thunar or TerminalUbuntu 12.10, libwebsockets and OFSetting up Meteor with Ubuntu 12.10 on an NTFS share partitionWebsite: KAZOOSH!Intermediate IsolinesThe barn door gets coloredSkype on Ubuntu 10.10 or 11.04 64bitElitebook 8440p vs UbuntuKryptografie & Datensicherheit – NotizenRandom Compilation IIRandom Compilation IAll You Can Eat in DresdenWebauftritt: ESE 2010