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:
- Compile Meteor using the slow way. Run in Terminal:
git clone git://github.com/meteor/meteor.git
cd meteor
./admin/generate-dev-bundle.sh - Install it:
./install.sh
- 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“:
gksudo gedit /etc/fstab
- 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
- to get the UUID of your partition, use
- Unmount and remount your partition by rebooting.
- 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
- Try again to setup the documentation in your meteor directory:
cd docs/
…
meteor
[[[[[ /media/data/Development/meteor/docs ]]]]]
You did it.
Initializing mongo database... this may take a moment.
Running on: http://localhost:3000/