Discover getresponse alternatives, include the articles, news, trends, analysis and practical advice about getresponse alternatives on alibabacloud.com
Install jdk1.7 tomcat7 mysql5.6 on CentOS 6.0
1. pre
To facilitate the management of installed software, you need to create a dedicated directoryCd ~ Mkdirdata # diskcddatamkdirsoftware # software installation location mkdirtar_box # tar package storage location
2. setup jdk
Use wget to install jdk. Select jdk 7 as the installation source.
#cd/data/software
#wget--no-cookies--no-check-certificate--header"Cookie:gpw_e24=http%3A%2F%2Fwww.oracle.com%2F;oraclelicense=accept-securebackup-cookie""htt
Jdkhttp: // response
Jdk http://download.Oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz.
I installed jdk in/opt/java, so the following code is executed in the Terminal window:
Sudo mkdir/opt/java
Sudo tarzxvf jdk-7-linux-i586.tar.gz-C/opt/java
1. Open/etc/environment in the editor.
Gedit/etc/environment
2. Modify the file
PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: usr/games: $ {JAVA_HOME}/bin"
JAVA_HOME =/opt/java/jdk1.7.0
JRE_HOME =$ {JAVA_HOME}/jre
Step 1: Download jdk-7-linux-i586.tar.gz
[Plain]
View plaincopy
Http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz wget-c
(Note: If the download fails, we recommend that you use thunder to download it and copy it to the Linux system .)Step 2: unzip and install
[Plain]
View plaincopy
Sudo tar zxvf./jdk-7-linux-i586.tar.gz-C/usr/lib/jvm
Cd/usr/lib/jvm
Sudo mv jdk1.7.0/java-7-sun
Step 3: Modify Environment Variables
[Plain]
View plaincopy
Vim ~ /. Bashrc
Add:[Plain]
Much has been said about how ungodly expensive Windows Vista is going to be, but what is it really worth? While software is rarely priced based on what it actually
Does , I figured I 'd take a unique approach toward figuring out the real value of Vista, with a feature-by-feature analysis of how much the upgrades are worth to the user. are there other ways to get the same features? How Much Do alternatives cost? Here's my blow by blow Analysis of Vist
following lines to the file:
Java_home = opt/jdk1.6.0 _ 07Classpath = $ java_home/lib :.Path = $ path: $ java_home/binExport java_home classpath path
Save and exit. Run the following command:
[Root @ localhost etc] source/etc/profile
This allows the configuration to take effect without restarting the computer.
3) change the default JVMNow you need to run the alternatives command to instruct fedora to recognize Sun's JVM.
[Root @ localhost
Http://deeplearning.net/software/theano/install_ubuntu.html#install-ubuntuThe above link is the official website installs the tutorialInstalling Theano in Ubuntu is a lot easier to install on Windows.If you are an Ubuntu 16.04 systemThe installation process is as follows:sudo apt-GetInstall python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-Dev gitsudo pip install theano# cuda7.5Don'T support the default g++ version. Install an supported version and make it the default.s
for Linux1.4 TensorFlow 0.11TensorFlow GitHub above mentioned 4 kinds of installation methods, this tutorial using the four source code installationVIRTUALENV InstallationAnaconda InstallationDocker InstallationInstalling from sourcesHttps://github.com/tensorflow/tensorflow ()Description: I chose the Linux GPU Python2(2) Click Python 2 to start the download.2. Installing the ubuntu16.04 LTS systemFor details, please see the previous Notes Windows System installation Ubuntu dual system3. Install
is where my software is stored and can be stored in/user/lib/in3: Configured as default JDK version sudo update-alternatives--install/usr/bin/java Java/home/share/tools/jdk1.8.0_45/bin/java -sudo update-alternatives--install/usr/bin/javac Javac/home/share/tools/jdk1.8.0_45/bin/javac -What this means is to create two soft connections: [email protected]:~$ ll/usr/bin/Java lrwxrwxrwx1Root root A -- to- A +:
Ubuntu 16.04 itself is a python, and he's a 2-self. X and 3.X, two versions, the default is 2. X. Here's a note of how to switch between versions and how to switch the Python version to 3. The method under X.
1. View the installed Python version of the Ubuntu system and the Python version currently in use
Ls/usr/bin/python*python--version
Or
2. Set update-alternatives switch python version
Show Python instead of version information
Update-
Preparation: JBoss, JDK, a Java EE War pack, DockerfileNote: JBoss and JDK can not be prepared in advance, wget in the command, because I happen to have, directly copiedDockerfile content:#admln 20150120From ubuntu:14.04Maintainer admln RUN Mkdir/usr/jbossCOPY wildfly-8.2.0.final/usr/jboss/COPY javaeedocker.war/usr/jboss/standalone/deployments/RUN mkdir/usr/java/COPY jdk-7u71-linux-x64.tar.gz/usr/java/workdir/usr/java/RUN TAR-ZXF jdk-7u71-linux-x64.tar.gzRUN update-
= $PATH: $JAVA _home/bin:$ Classpathexport PATH
Note the path and version of the JDK
Make configuration effective
Source/etc/profileConfiguring the default JDK
Create a new Java version
Create a new system command link in the shell with the update-alternatives command:sudoUpdate-alternatives--Install/usr/bin/javac Javac/usr/lib/jvm/jdk1.7.0_79/bin/javac1171sudoUpda
The update-alternative in Ubuntu/debian is used to manage different versions of the same software in a system.For example, the system may contain the GNU Java compiler, and the Sun's Java compiler. You can use Update-alternatives to set which of these are currently used.Its principle is to create a link in the/usr/bin, point to a file in the/etc/alternatives, and some file is a link, pointing to the current
settings can be.
Ls-l--full-time/usr/java/jdk1.7.0_71 can see that the full installation time, the indication is really just installed.
[Root@localhost sss]#/usr/java/jdk1.7.0_71/bin/java-version
Java Version "1.7.0_71"
Java (TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot (TM) 64-bit Server VM (build 24.71-b01, Mixedmode)
As you can see, this Java is no longer an open JDK.
Ok.
Vi/etc/profile
Add at the end of the file
Export java_home=/usr/java/jdk1.7.0_71
Exportclasspath=.: $JA
at the end of the open file?
12345
# export Java env export java_home= /usr/local/java/jdk1 .7.0 export jre_home= /usr/local/java/jdk1 .7.0 /jre export classpath=.:%java_home% /lib/dt .jar:%java_home% /lib/tools .jar export path= $JAVA _home /bin : $JRE _home /bin : $PATH
Save the exit and enter the following command to make it effective?
1
source~/.bash_profile
4. Configure the default JDK (this step can be omitted
Finally, you can upgrade your system by implementing C ++ 11 GCC4.8.1. The following steps can be performed to install GCC4.8.1, sudoadd-apt-repositoryppa: ubuntu-toolchain-r/testsudoupdate-alternatives -- remove-allgccsudoupdate-alternatives -- remove
Finally, the complete implementation of C ++ 11 GCC 4.8.1.
Upgrade your system.
The following steps can be performed to install GCC 4.8.1 in Ubuntu 13.04,
Su
downloaded cannot be installed.
Original
Go to the directory where you downloadedthe JRE package, and change the permissions so the file is executable. Forexample:
$ CD/tmp
$ Chmod A + x jre-6u25-linux-x64-rpm.bin
Translation
Go to the JRE directory you downloaded and change the directory permissions so that they can be authorized to other users.
$ CD/tmp
$ Chmod A + x jre-6u25-linux-x64-rpm.bin
Original
Extract and run the RPM file. For example:
$ Sudo./jre-6u25-linux-x64-rpm.bin
The RPM IN
openjdk. To set the JDK we installed as the default JDK version, perform the following work.Run the Code:[Plain] View plaincopy
Sudo Update-alternatives -- install/usr/bin/Java/usr/lib/JVM/Java-7-sun/bin/Java 300
Sudo Update-alternatives -- install/usr/bin/javac/usr/lib/JVM/Java-7-sun/bin/javac 300
Sudo Update-alternatives -- install/usr/bin/Jar/usr/lib/JVM/
I encountered this error. I saw the solution in a Foreign Forum and successfully solved the problem. I hope to help others.
Error:Build/CORE/product_config.mk: 229: Warning: adding test OTA keyHost Java: clearsilver (Out/host/common/obj/java_libraries/Clearsilver_intermediates/classes)Unrecognized option: 9999999Make: *** [out/host/common/obj/java_libraries/Clearsilver_intermediates/javalib. jar] Error 41
Cause:According to the error message, it is probably a Java Virtual Machine problem. Some p
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.