16.04 java 1.8

Ubuntu
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

16.04 java 1.8

文章 yehlu »

http://tecadmin.net/install-oracle-java ... u-via-ppa/#

代碼: 選擇全部

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: 16.04 tomcat 8

文章 yehlu »

https://www.digitalocean.com/community/ ... untu-16-04

代碼: 選擇全部

curl -O http://apache.stu.edu.tw/tomcat/tomcat-8/v8.5.11/bin/apache-tomcat-8.5.11.tar.gz
sudo tar xzvf apache-tomcat-8.5.11.tar.gz  -C /opt/tomcat --strip-components=1
sudo nano /opt/tomcat/webapps/host-manager/META-INF/context.xml
sudo nano /opt/tomcat/webapps/manager/META-INF/context.xml

代碼: 選擇全部

<Valve className="org.apache.catalina.valves.RemoteAddrValve"
         allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1|10.10.40.*" />
sudo nano /opt/tomcat/conf/tomcat-users.xml

代碼: 選擇全部

<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user username="admin" password="password" roles="manager-gui,admin-gui"/>
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: 16.04 redis

文章 yehlu »

yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Upgrading Gradle to the latest version on Ubuntu

文章 yehlu »

(Updated November 22, 2014)

Ubuntu 12.04.3 has an old version of Gradle (1.0-milestone-3 from September 2011) installed by default. To upgrade to a later version of Gradle, you can use Cheng-Wei Chien's PPA for Gradle at https://launchpad.net/~cwchien/+archive/gradle by issuing the following commands:

代碼: 選擇全部

sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get update
Then, to install Gradle 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 2.0, 2.1, or 2.2, you would run a command like:

sudo apt-get install gradle-2.2

Or, to install the latest version

代碼: 選擇全部

sudo apt-get install gradle-ppa
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

How to install Maven 3 on Ubuntu 15.10/15.04/14.10/14.04 LTS

文章 yehlu »

http://stackoverflow.com/questions/1563 ... 04-12-10-1

代碼: 選擇全部

sudo apt-get install maven
mvn -ver
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

redis dump data

文章 yehlu »

https://www.digitalocean.com/community/ ... untu-14-04

代碼: 選擇全部

sudo apt-get install -y rdiff-backup
sudo rdiff-backup --preserve-numerical-ids /var/lib/redis /home/sammy/redis
回覆文章

回到「Ubuntu」