This time we will develop the Erlang server in Linux and select Ubuntu. The release runs under CentOS. First, install Ubuntu. I use ubuntu. You can download Ubuntu at http://www.linuxidc.com/linux/2012-04/59239.htm. I set a good software source. I use 163. Reference http://www.linuxidc.com/Linu
This time we will develop the Erlang server in Linux and select Ubuntu. The release runs under CentOS.
First install Ubuntu. I use Ubuntu 12.04. You can download it from the official ubuntu website at http://www.linuxidc.com/linux/2012-04/59239.htm.
I set a good software source. I use 163. Reference http://www.linuxidc.com/Linux/2012-06/63068.htm
1. Install Eclipse.
Go to the official website to download the Linux version of eclipse, my software installation directory are put in the home/tools directory, eclipse unzip it.
2. install java jdk
Go to the official http://www.oracle.com/technetwork/java/javase/downloads/index.html download, jre-7u51-linux-i586.tar.gz version. My storage directory is/usr/lib/java/jvm/java1.8.0
========================================================== ============
Erlang: Click here
Erlang: Click here
Reading:
Compile and install the Erlang R15B http://www.linuxidc.com/Linux/2012-03/57663.htm on CentOS
Build an Erlang environment http://www.linuxidc.com/Linux/2012-04/58208.htm in Ubuntu 11.10
Install Erlang process http://www.linuxidc.com/Linux/2012-12/75622.htm through YUM on CentOS 5.7
Erlang --- startup parameter learning/research http://www.linuxidc.com/Linux/2011-07/39157.htm
CentOS 5.5 source code compilation and installation of Erlang http://www.linuxidc.com/Linux/2011-07/39156.htm
Ubuntu 10.10 source code installation Erlang 5.8.3 version http://www.linuxidc.com/Linux/2011-04/34863.htm
Install the Erlang http://www.linuxidc.com/Linux/2013-06/85964.htm on CentOS 6.4
Installation http://www.linuxidc.com/Linux/2013-05/84235.htm of Erlang R16B in Ubuntu
========================================================== ============
3. Configure eclipse shortcuts and Environment Variables
Create a file with its name and suffix changed to eclipse. desktop, put it in the user/share/applications/directory, and edit the file. Both vi and gedit are supported.
[Desktop Entry]
Version = 1.0
Name = eclipse
Exec =/home/eclipse-vm/usr/lib/java/jvm/jdk1.8.0/jre/bin/java # This is my path
Icon =/home/eclipse/icon. xpm # This is my path
Comment = Java IDE
StartupNotify = true
Categories = Application; Development;
Type = Application
Name [zh_CN] = eclipse
Save the file and drag it to the shortcut bar.
Configure java jdk environment variables: there are many ways to configure environment variables. I only use my methods.
Vi ~ /. Bashrc and copy the content at the end.
# Java home
Export JAVA_HOME =/usr/lib/java/jvm/jdk1.8.0 # This is my path
Export JRE_HOME =$ {JAVA_HOME}/jre
Export CLASSPATH =. :$ {JAVA_HOME}/lib :$ {JRE_HOME}/lib
Export PATH =$ {JAVA_HOME}/bin: $ PATH
Save and exit. Source ~ /. Save bashrc and input this sentence to update it!
Check whether the environment variable is configured: java-version
In this way, you can click the shortcut to start eclipse.
Eclipse Chinese package:
Free onHttp://linux.linuxidc.com/
Both the user name and password areWww.linuxidc.com
The specific download directory is in/OCTOBER/October 7/October 7/Ubuntu install Eclipse + Erlang + Java
Download Method see http://www.linuxidc.com/Linux/2013-07/87684.htm
Decompress the package and overwrite it to the eclipse directory.