First, install the JDK:RPM Installation:# RPM-IVH jdk-8u45-linux-x64.rpmIn the case of a Debian system, tar. Unzip tar.gz to/usr/local/java/and create the corresponding link file. Such as:$ ll/usr/local/java/Total usage 4lrwxrwxrwx 1 root root 6 June 22:31 Default-latestdrwxr-xr-x 8 UUCP 143 4096 April 11 01:26 jdk1.8.0_45lrwxrwxrwx 1 root root 28 June 22:30 latest-/usr/local/java/jdk1.8.0_45/Second, the configuration:Create the/etc/profile.d/java.sh and edit the configuration file:$ cat/etc/pro
1. Download and decompress jdk1.7.0 _ 67, and put it in the/usr/local/lib/JVM directory.
Tar zxvf jdk1.7.0_67.tar.gz
Sudo MV jdk1.7.0 _ 67/usr/local/lib/JVM
2. Edit ~ /. Add the following content to the bashrc file.
The content after java_home is your custom JDK storage directory
Export java_home =/usr/local/lib/JVM/jdk1.7.0 _ 67
Export jre_home =$ {java_home}/JRE
Exportclasspath =.: $ {java_home}/lib: $ {jre_home}/lib
Export path =$ {java_home}/bin: $ path
3. Set the default JDK version
Sudo
1) Download jdk-6u45-linux-x64.bin.tar.**2) put it in a directory and unzip it.3) Execute the following commandchmod +x Jdk-6u45-linux-x64.bin./jdk-6u45-linux-x64.binMkdir-p/USR/LIB/JVMMV JDK1.6.0_45/USR/LIB/JVMUpdate-alternatives--install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0_45/bin/java" 1Update-alternatives--install "/usr/bin/javac" "Javac" "/usr/lib/jvm/jdk1.6.0_45/bin/javac" 1Update-
program runs, of course, can not find the corresponding class. The company compiled server is actually configured with multiple JDK versions, and Android compilation is the JDK version set when setting environment variables.Compiling android4.4 uses jdk1.6, and compiling android5.0 uses jdk1.7, which involves switching the JDK version at any time. First to see how to set the JDK environment variables, Baidu Search to get the answer is to modify the ~/.BASHRC or modify the/etc/profile file to co
://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
You can download the latest version of the JDK.
2. Unpack first
sudo tar zxvf./jdk-8u72-linux-x64.tar.gz
Then use MV to move to the directory you want to reach, such as:
MV jdk1.8.0_72 * * * * * (target location)
3. Setting Environment variables
Edit the. bashrc file.
Enter the following command at the terminal:
Vim ~/.BASHRC
At the end of the file, add the following lines of code:
Export JAVA_HOME=XXX (JDK install
RHEL, you can use yum to complete the installation easily. After the service is started, it is added to the system startup Item.
# yum install vsftpd# service vsftpd start# chkconfig vsftpd on
The most basic FTP service using vsftpd is now ready for use. We only need to direct the browser to URL ftp: // [ServerName/IP], or use FTP client software such as FileZilla and the username anonymous without a password, or you can access the ftp service by usi
RHEL, you can use yum to complete the installation easily. After the service is started, it is added to the system startup Item.
# yum install vsftpd# service vsftpd start# chkconfig vsftpd on
The most basic FTP service using vsftpd is now ready for use. We only need to direct the browser to URL ftp: // [ServerName/IP], or use FTP client software such as FileZilla and the username anonymous without a password, or you can access the ftp service by usi
client, which is the same as putty in English:
3. FTP Client
You can use filezilla client to access the server from windows with SFTP without any Chinese garbled characters.
For more information, see install filezilla on Ubuntu 10.04 to download information from ftp idc.com FTP.
Alternative to SSH Secure Shell Client
SSH Secure Shell client is always used. This software is a free SSH remote logon softw
department of the colleagues in the file upload to their built FTP server, the document Chinese path is still garbled, So the above workaround is wrong.
The reason for the error of the above method is because the encoding format of the FTP server is not considered. I built the FTP server (windows2003 server) Support GBK encoding, so the above solution can, but the test department of the colleagues to build the FTP server (SERV-U) is supported UTF-8 format, so at this time the client encoding i
Original article name: 7 better alternatives to common Windows appsTranslator:Fish that cannot reach the shore {ttzhang}Link: http://www.makeuseof.com/tag/enhance-or-replace-integrated-windows-applications-with-these-great-alternatives/
There is no doubt, Microsoft is going to dominate the operating system market through Windows 7. who knows where we will be after that. at that point we will likely be
[Odroid-pc] ubuntu12.04 jdk-6u45-linux-x64.bin, jdk6u45linuxx64
1. Download jdk-6u45-linux-x64.bin.tar .**
2) Put it in a directory and decompress it.
3) execute the following command
Chmod + x jdk-6u45-linux-x64.bin
/Jdk-6u45-linux-x64.bin
Mkdir-p/usr/lib/jvmMv jdk1.6.0 _ 45/usr/lib/jvm
Update-alternatives -- install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0 _ 45/bin/java" 1Update-alternatives -- insta
-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:# update-alternatives--list python update-alternatives:error:no alternatives for PythonIf the error message shown above is present, the alternate version of Python is not yet recognized by the update-
can use Update-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:# update-alternatives--list pythonUpdate-alternatives:error:no Alternatives for PythonIf the error message shown above is present, the alternate version of Python is not yet recognized by the update-
the installation process:Errors were encountered while processing:Libc6-dev:i386E:sub-process/usr/bin/dpkg returned an error code (1)Here's how to fix it:$ sudo apt-get install linux-libc-dev:i386$ sudo apt-get install libc6-dev:i386At this point, even if the build environment is complete, at least on my computer, so we can start to download the Android code to compile.Final installation Ia32-libs$ sudo apt-get install Ia32-libsUbuntu 14.04 x64 Configuring the Android 4.4 KitKat compilation env
to take effect.
$ . ~/.bashrc
Check the current Python version.
$ python--version
Python 3.4.2
2. Modify the Python version at the system levelWe can use Update-alternatives to change the Python version for the entire system. Log in as root and first list all available Python alternative version information:
# update-alternatives--list python
Update-alternatives
FTP is the protocol for transferring files between computers on a TCP/IP network, in order to upload and download related files, we often need to build FTP service on the server.
Windows is generally managed via Remote Desktop, and if uploading your own programs can be cumbersome, we also need FTP tools to manage the files of the virtual hosts. Here's how to build an FTP service using FileZilla Server installation under Windows Server 2016.
First, s
the desktop and save it to the desktop. Change the suffix to mdb. Take the solution and log on to the background.
I won't talk about ewebeditor using shell here.
You can easily get the shell and upload the asp Trojan. The access time is 500. It is estimated that it is a firewall. It supports aspx and uploads An aspx Trojan. The result is displayed successfully. If there is no 500, continue, the default windows \ system32 cmd command can execute the command,
In Windows, upload an iis7 Elevat
Tags: des style http color java using OS StrongRecently need to do JSP project, deployed in Ubuntu, the weekend time to configure the Nginx + PHP + mysql + phpmyadmin + tomcat environment, from the Windows C # turn around, how much some do not adapt, estimated to go the whole stack direction. By the way, the introduction of the configuration method, complete under the console. 1.1 Common
Start Terminal
Ctrl+alt+t
Using the root user
Sudo–sh
View process
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.