Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jason-gao/helloworld
all kinds of program language hello world
https://github.com/jason-gao/helloworld
Last synced: about 14 hours ago
JSON representation
all kinds of program language hello world
- Host: GitHub
- URL: https://github.com/jason-gao/helloworld
- Owner: jason-gao
- Created: 2015-02-09T17:01:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-26T06:58:10.000Z (over 8 years ago)
- Last Synced: 2023-02-28T04:41:47.572Z (over 1 year ago)
- Language: Java
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HelloWorld
all kinds of program language hello world##node js enviroment install
1 yum install gcc-c++ openssl-devel
2 wget http://nodejs.org/dist/v0.12.0/node-v0.12.0.tar.gz 从源代码编译安装
3 cd node-v0.12.0
4 ./configure;make;make install
5 vim helloworld.js
6 node helloworld.js
--scan:
浏览器输入 http://192.168.0.112:1337
输出hello world 即代表node环境正常,192.168.0.112为node运行机器的ip,此处是我虚拟机的ip
##scala enviroment install
+ cd /usr/local/src
+ wget http://downloads.lightbend.com/scala/2.12.0-M3/scala-2.12.0-M3.tgz
+ tar -zxvf scala-2.12.0-M3.tgz
+ cd scala-2.12.0-M3
+ cd /usr/local/src/scala-2.12.0-M3/bin
+ ln -s /usr/local/src/scala-2.12.0-M3/bin/scala /usr/local/bin/scala
+ ln -s /usr/local/src/scala-2.12.0-M3/bin/scalac /usr/local/bin/scalac+ 编译:scalac HelloWorld.scala
+ 运行:scala HelloWorld