From c3b322ab3d517a829c8c7121fa9f0c8b693991a3 Mon Sep 17 00:00:00 2001 From: DeadFire Date: Tue, 8 Dec 2015 14:19:01 +0800 Subject: [PATCH] =?UTF-8?q?20151208-1=20=E9=80=89=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ift Programming Language Comes To Linux.md | 41 +++++++++++++ ...208 Install Wetty on Centos or RHEL 6.X.md | 61 +++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 sources/news/20151208 Apple Swift Programming Language Comes To Linux.md create mode 100644 sources/tech/20151208 Install Wetty on Centos or RHEL 6.X.md diff --git a/sources/news/20151208 Apple Swift Programming Language Comes To Linux.md b/sources/news/20151208 Apple Swift Programming Language Comes To Linux.md new file mode 100644 index 0000000000..1c13c09dba --- /dev/null +++ b/sources/news/20151208 Apple Swift Programming Language Comes To Linux.md @@ -0,0 +1,41 @@ +Apple Swift Programming Language Comes To Linux +================================================================================ +![](http://itsfoss.com/wp-content/uploads/2015/12/Apple-Swift-Open-Source.jpg) + +Apple and Open Source toogether? Yes! Apple’s Swift programming language is now open source. This should not come as surprise because [Apple had already announced it six months back][1]. + +Apple announced the launch of open source Swift community came this week. A [new website][2] dedicated to the open source Swift community has been put in place with the following message: + +> We are excited by this new chapter in the story of Swift. After Apple unveiled the Swift programming language, it quickly became one of the fastest growing languages in history. Swift makes it easy to write software that is incredibly fast and safe by design. Now that Swift is open source, you can help make the best general purpose programming language available everywhere. + +[swift.org][2] will work as the one stop shop providing downloads for various platforms, community guidelines, news, getting started tutorials, instructions for contribution to open source Swift, documentation and other guidelines. If you are looking forward to learn Swift, this website must be bookmarked. + +In this announcement, a new package manager for easy sharing and building code has been made available as well. + +Most important of all for Linux users, the source code is now available at [Github][3]. You can check it out from the link below: + +- [Apple Swift Source Code][3] + +In addition to that, there are prebuilt binaries for Ubuntu 14.04 and 15.10. + +- [Swift binaries for Ubuntu][4] + +Don’t rush to use them because these are development branches and will not be suitable for production machine. So avoid it for now. Once stable version of Swift for Linux is released, I hope that Ubuntu will include it in [umake][5] on the line of [Visual Studio][6]. + +-------------------------------------------------------------------------------- + +via: http://itsfoss.com/swift-open-source-linux/ + +作者:[Abhishek][a] +译者:[译者ID](https://github.com/译者ID) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]:http://itsfoss.com/author/abhishek/ +[1]:http://itsfoss.com/apple-open-sources-swift-programming-language-linux/ +[2]:https://swift.org/ +[3]:https://github.com/apple +[4]:https://swift.org/download/#latest-development-snapshots +[5]:https://wiki.ubuntu.com/ubuntu-make +[6]:http://itsfoss.com/install-visual-studio-code-ubuntu/ \ No newline at end of file diff --git a/sources/tech/20151208 Install Wetty on Centos or RHEL 6.X.md b/sources/tech/20151208 Install Wetty on Centos or RHEL 6.X.md new file mode 100644 index 0000000000..6856b1d71e --- /dev/null +++ b/sources/tech/20151208 Install Wetty on Centos or RHEL 6.X.md @@ -0,0 +1,61 @@ +Install Wetty on Centos/RHEL 6.X +================================================================================ +![](http://www.unixmen.com/wp-content/uploads/2015/11/Terminal.png) + +What is Wetty? + +As a system administrator, you probably connect to remote servers using a program such as GNOME Terminal (or the like) if you’re on a Linux desktop, or a SSH client such as Putty if you have a Windows machine, while you perform other tasks like browsing the web or checking your email. + +### Step 1: Install epel repo ### + + # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm + # rpm -ivh epel-release-6-8.noarch.rpm + +### Step 2: Install dependencies ### + + # yum install epel-release git nodejs npm -y + +### Step 3: After installing these dependencies, clone the GitHub repository ### + + # git clone https://github.com/krishnasrinivas/wetty + +### Step 4: Run Wetty ### + + # cd wetty + # npm install + +### Step 5: Starting Wetty and Access Linux Terminal from Web Browser ### + + # node app.js -p 8080 + +### Step 6: Wetty through HTTPS ### + + # openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes (complete this) + +### Step 7: launch Wetty via HTTPS ### + + # nohup node app.js --sslkey key.pem --sslcert cert.pem -p 8080 & + +### Step 8: Add an user for wetty ### + + # useradd + # Passwd + +### Step 9: Access wetty ### + + http://Your_IP-Address:8080 + give the credential have created before for wetty and access + +Enjoy + +-------------------------------------------------------------------------------- + +via: http://www.unixmen.com/install-wetty-centosrhel-6-x/ + +作者:[Debojyoti Das][a] +译者:[译者ID](https://github.com/译者ID) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]:http://www.unixmen.com/author/debjyoti/ \ No newline at end of file