Launch of Linino.org
Launch of Linino.org
PAY ATTENTION : BE SURE TO CONNECT YOUR BOARD TO A STABLE ( 5V ) POWER SOURCE SUCH AS A USB PORT OF YOUR DESKTOP/LAPTOP PC OR THE NETWORK POWER ITSELF.
THE SCRIPT SHOULD WORK IF THE SDCARD IS INITIALLY FAT32 FORMATTED WITH SINGLE PARTITION (SUCH AS A BRAND NEW FLASH MEMORY) OR MULTI-PARTITIONED AS WELL.
HOWEVER IF YOU EXPERIENCE ANY ISSUE WHILE RUNNING THIS SCRIPT, WE STRONGLY ADVISE YOU TO USE THE OFFICIAL TOOL PROVIDED BY THE SD ASSOCIATION TO FORMAT THE SD CARD AND THEN RESTART THE WHOLE PROCESS https://www.sdcard.org/downloads/formatter_4/
The script is designed to work with SDcard of 2,4,8,16,32,64 GB denomination only. Be sure to insert your SDCard into your system and to verify that it is properly mounted on the system itself.
Hi folks, this is a simple guide to guide you through the installation of the node.js platform on your system without any hassle. We have designed and made a simple shell script to set up your working enviroment in just five minutes or less.
First of all download and untar in the root of your linino board the script with :
$ wget http://wiki.linino.org/lib/exe/fetch.php?media=wiki:nodeyun_inst_latest.tar.gz -O nodeyun_inst_latest.tar.gz $ tar zxvf nodeyun_inst_latest.tar.gz
Please check the consistency of your download with the following command:
$ md5sum nodeyun_inst_latest.tar.gz MD5 (nodeyun_inst_latest.tar.gz) = 0011886f0a81658287ea0e955f4214f4
MD5SUM : 0011886f0a81658287ea0e955f4214f4 nodeyun_inst_latest.tar.gz
then launch the script with :
$ sh nodeyun_inst_latest.sh
You must have fdisk installed on your system to properly launch the script. If you don’t have it, don’t worry because the script will take care of installing fdisk for you.
Once the process has finished, re-launch the installation script the and the main menu of the script will be presented to you :
Linino node.js installation menu : 1. Prepare SDCard and install node.js 2. Revert to original settings 3. Exit and reboot 4. Kill all node processes 0. Exit
In brief, this is what a single option performs when selected :
Select the entry with number 1 and a warning message about the deletion of all your data on the SDCard will appear :
WARNING : All data on your SDCard Would will be erased, are you sure ? (y/n)
Then select yes and at the end of the process reboot the OS (you will be warned by the script). In fact by doing so, the modifications generated by the script to the Linino environment will be properly and permanently set as system defaults. After rebooting and logging into the system again through SSH connection, type from shell the following command :
$ which node
if it returns the string :
Congratulations ! You’re now ready to work with the node.js platform !
PAY ATTENTION : If you ever accidentally remove the SDCard from the board after node.js is installed and working, please re-insert it and reboot the system to restore the proper settings.
Now that you're done with the installation of the node.js platform, you can simply install Ideino IDE with the following command from shell :
$ opkg update $ opkg install ideinoIO -d mnt
To just update to the latest version of Ideino IDE just run :
$ opkg update $ opkg upgrade ideinoIO -d mnt
If you want to install Ideino and Linino-Lib manually, download the latest release from GitHub and run the follwing command:
$ opkg install ideinoIO_X.Y.Z_ar71xx.ipk -d mnt
Note: To work with the Linino-Lib, make sure you have LininoIO installed. Follow this guide to updagrade your Linino One or Arduino Yùn.
Once the installation has finished, go back to the Linino web panel and then you'll find a new button redirecting to the Ideino IDE.
If the IDE is up and running on your local port 2424 you will be asked to enter your root password to gain the access to the development tools, otherwise you'll be redirected to the LUCI web panel to start the ideino and ideinoautorun system services.
Click on the start button for both the entries and then go back to the linino web panel. After just a couple of seconds click again on the “Play with Ideino” button and you will be presented with the login page of the Ideino IDE.
…then enter your root password and start working ! ! !
First of all, start with removing ideino (if have already installed it on your system) with the following commands :
$ opkg update $ opkg remove ideinoIO
then, to return to the system status previous to the installation process, just relaunch the script and select the entry number 2. The uninstalling process will start and you will be notified by the message :
Reverting to defaults..........
At the end of the process reboot your system once again to permanently apply the new changes. Please also note that your SDcard data will be erased again and the card itself will be vFat (FAT 32) formatted as if it was a brand new one.
For further reference and some useful screenshot please take a look at the original post on our blog :