How to install Cloud9 Local IDE on Chromebook - node.js

i'm using a Chromebook HP 11 in developer mode.
I installed Ubuntu v12.04 Unity on it, with Crouton.
On Ubuntu, i installed Nodejs (v0.6.12), npm (v1.1.4) and build-essential as it's said here : https://c9.io/site/blog/2012/06/cloud9ide-new-features/
But i don't know how to install the Cloud9 Local IDE, which i downloaded here :
http://static.c9.io/c9local/prod/c9local-latest.tgz
Can someone tell me how i should do it ?
In advance, Thanks.

you can do this two ways...
if you plan to install it directly to chromeOS you will need to put your machine into developer mode and have writeable rootfs. There's a tutorial here. NOTE- it's my understanding that this option voids a warranty, although perhaps that's true also with option #2 below
The other option is to install Ubuntu with Crouton as it's own OS and then install node/npm.
I opted for the later and have the cloud9 service running locally with Apache and MySql. Ubuntu will share the Downloads folder, so you can set up a folder there to manage all your local virtual hosts, etc.

Related

NEAR protocol - dev env set up on Windows 10 - error when executing npx create-near-app#latest

I am trying to set up the development env on Windows 10. Installed Node.js, yarn and RUST on windows. Then to set up the project, I tried "npx create-near-app#latest" and was prompted to install WSL.. which I did. I re-executed 'npx' command in ubuntu terminal that got installed with WSL but am still getting the same error:
s_wankhede#Sharad-Asus:~$ npx create-near-app#latest
'\wsl$\Ubuntu\home\s_wankhede'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
======================================================
👋 Welcome to NEAR! Learn more: https://docs.near.org/
🔧 Let's get your dApp ready.
======================================================
(NEAR collects anonymous information on the commands used. No personal information that could identify you is shared)
Notice: On Win32 please use WSL (Windows Subsystem for Linux).
https://docs.microsoft.com/en-us/windows/wsl/install
Exiting now.
Questions:
Should I be installing Node.js, yarn and RUST in ubuntu (WSL on windows 10)?
What can I do solve the problem?
OK. Finally I could figure it out after reading lot of articles and lots of trial and error. Here are the simple steps to resolve it and of course these are for machines running Windows.
Install Linux on Windows with WSL - https://learn.microsoft.com/en-us/windows/wsl/install This MUST be the first step
Install Node.js https://nodejs.org/en/download/
Install RUST - (I am writing contracts in RUST) - https://doc.rust-lang.org/book/ch01-01-installation.html Also add wasm toolchain: rustup target add wasm32-unknown-unknown
Install Yarn : npm install -g yarn
Set up the project : npx create-near-app#latest

I have installed nodejs on windows how should i use it in WSL?

I am having problem using libraries installed on windows to WSL and vice versa. I don't want to install not just nodejs but other things twice just to use it in WSL and also in normal text editors like VS code, atom, etc.
The complete instruction can be found here set-up-on-wsl
If you are too busy to follow the link, follow these steps in the WSL:
Use curl to install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
For installing NodeJs (lts)
nvm install node --lts
You can also install specific node version. Check all commands uses by typing nvm in your terminal.
Done Node has been successfully installed in your WSL, nvm ls will list all the installations.
You can use the Node installed in your WSL for developing. Point to your working directory and use code . to open VSCode. Also, if you want to access your windows directories you can mount them by using /mnt/<dir>
If you face any issues during installation it is better to use the link I have provided above.
Also note that, the Node installed in the WSL can only be used, iff your working directory is in the WSL or is linked with your WSL(by using mnt).

meteor installation failed - goes only up to 45%

I try to install Meteor on my Ubuntu14 (64 bits). My installation goes up to 45% and can not go more. Do you know the reason of that? I have curl installed.
Thanks in advance
Try to install it with root privileges, I had the same issue when first installed Meteor, if this will help simply add privileges to this directory with command
sudo chown -R #USER /usr/local (or some other directory)
I use it on Linux Mint, but Ubuntu is basically the same so it should be fine
I am using aswell meteor on Linux Mint, I simply installed meteor on my home folder, I found the latest update took a little longer than the previous release at it seems it checking more things I thought it was stalled aswell but waited and it just finally keep going.
Have you tried the classic stopped and restart the install ?

Manual install of Deis on CoreOS

I have installed CoreOS via the VMWare image file. Does anyone know how to install Deis.io? I have read through the documentation and most of it is how to install Deis on other systems.
You can move forward setting up Deis by exporting FLEETCTL_TUNNEL and issuing a make run like the documentation suggests, but you'll be missing some of the provisioning steps that Deis performs as part of the cloud-init script. You'll likely run into trouble.
The recommended path is to install Vagrant and issue a vagrant up in the project root to use the Deis project Vagrantfile. This sets up networking and executes the project cloud-init script.
Vagrant should detect that you have VMWare installed and not VirtualBox, and will provision appropriately.

/xampp/lang.php not found

I am new to linux(ubuntu). I installed XAMPP server in my system.. but after installing when i am using browser it shows the following error:
Not Found
The requested URL /xampp/lang.php was not found on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
If you are using linux, you don't need xampp, linux has native packages for PHP development, called lamp (linux, apache, MySQL, PHP). In fact almost all web servers around the world that runs PHP are linux servers.
There are some easy steps that you can quickly install lamp unsing ubuntu's terminal.
sudo apt-get install lamp-server^
Note The caret (^) at the end of the command is important.
This will install the latest PHP, MySQL and Apache2 that is it in the Ubuntu repository (depending on your ubuntu version)
You can also install each component individually, here you can find the complete steps
Install LAMP Server on Ubuntu with a 1-line Command
It is also a good idea for development environment to setup a workspace directory in your home folder to hold your projects and than making virtualhost files in your /etc/apache2/sites-available folder (you need sudo privileges).
More about virtual hosts on Apache virtual hosts
This approach helps a lot with permissions of read/writes on your project files.
Best regards,

Resources