Install JDK, Tomcat, and MySQL basic software in Linux.
1. Install JDK
After Centos6.5 is installed, OpenJDK is installed by default for Base Server. You must first Delete OpenJDK.
1.1 view the previous jdk
Check whether openjdk has been installed before.
If you are not a root user, you need to switch to the root user
Article category: Java programmingKeywords: Linux Java Runtime Environment configuration MySQL JDK Tomcat
To enable Web applications, that is, websites, the first task is to install the running environment and configure the environment accordingly.
This article describes in detail how to build and configure a Java Web runtime environment on
/tomcat start # start Tomcathere, we look at the Windows System, edit the C:\Windows\System32\drivers\etc\host file, and add content inside:192.168.0.250 www.bsoft.comNote: This IP is the IP of the Linux systemin the browser input:http://www.bsoft.com:8080/test.jspIf the current time is resolved, the virtual host test is successful! Such as:650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/80/3A/wK
Install JDK 7, Tomcat 7, and JDK 7 in Linux.In Java Web development, JDK and Tomcat are essential. Next, let's share the simple installation method of Jdk and Tomcat on Linux.Environment:1. Operating System: CentOS 6.5X64 (64-bit)2) Tomcat:
Install JDK and Tomcat in LinuxView environment variablesWhereis javaWhich java (java execution path)Echo $ JAVA_HOMEEcho $ PATHIi. InstallationSelect the location where you want to install java, such as in the/usr/directory, and create a folder named java (mkdir java)# Mkdir-p/usr/javaDownload jdk-8u31-linux-x64.tar.g
Reprinted from: http://blog.csdn.net/wuyigong111/article/details/17410661, with partial modifications Create a user sgmm and install the JDK and Tomcat in their user directory, as follows.I. Increase SGMM users and SGMM groups [[Email protected]_test ~]# groupadd sgmm[[email protected]_test ~]# useradd-d/home/sgmm-g sgmm-m sgmmSecond, set the password for the SGMM user[Email protected]_test ~]# passwd sgmm
, the following error indicates that the password is too simple If the password is not simple, there are the following errors, can be modified as follows Set Global validate_password_policy=0; Set Global validate_password_length=1; And then change the password again, okay?Telnet on MySQLMySQL is not supported by default MySQL for security purposes, if you want to telnet, you need to set the remote login MySQL permission ' Root ' @'%'root'; Explanation: Grant all on * * to username @ "%" identif
Step 1 of Installation for linux jdk + tomcat. check whether JDK is installed java login to the system with the root user, open a terminal input # rpm-qa | grep gcj display content contains the following information # java-1.4.2-gcj-compat-1.4.2.0-40jpp.112 # java-1.4.2-gcj-compat-devel-l.4.2.0-40jpp.112 (this package is not pre-installed) uninstall www.2cto.com # rpm-e java-1.4.2-gcj-compat-devel-l.4.2.0-4
file from the directory where the JRE is installed. Extract_args to where the Runinstaller hint file is missing.Install JDK1.3.1The installation package I use is J2sdk-1_3_1-linux-i386-rpm.bin#chmod +x J2sdk-1_3_1-linux-i386-rpm.bin#./J2sdk-1_3_1-linux-i386-rpm.binThis will generate the RPM installation package#rpm –IVH j2sdk-1_3_1-
Install software 1. install JDK (because JDK contains JRE, if JRE is installed when LumaQQ is installed, uninstall the JRE rpm Package first to save MB of space) (1) install: # cd/tmp/myDown #. /jdk-1_5_0-linux-i586-rpm.bin so JDK is installed to/usr/java/jdk1.5.0 Directory (2) Edit file/etc/prof
Install the tomcat server-linux Enterprise Application-Linux server application in Linux. For more information, see. 1. First, we need to confirm that jdk is installed on the machine. If jdk is not installed or the version is not suitable for the downloaded
The httpserver version is 2.2.22. For JDK and tomcat installation, see:
Http://blog.csdn.net/supercrsky/article/details/8283200
1. Download
Httpserver:
Http://archive.apache.org/dist/httpd/httpd-2.2.22.tar.gz
Tomcat:
Http://archive.apache.org/dist/tomcat/tomcat-7/
Mod_jk:
Http://archive.apache.org/dist/
/jdk1.6.0_10/jre/lib/i386/client/libjvm.so, because/usr/local/jdk1.6.0_10/jre/lib/ I386/client/libjvm.so:cannot Restore segment Prot After Reloc:permission denied, modify the system files SELinux: 1, open/etc/selinux/ Config2, change selinux=enforcing to Selinux=disabled3, restart Linux through the above steps, that is, to complete the installation of Linux under the JDK, the next step is to
1. Download and install jdk1.6 1. Download the official address of jdk1.6: JDK 1) jdk-6u22-linux-i586.bin 2) jdk-6u22-linux-i586-rpm.bin 3, I downloaded jdk-6u22-linux-i586-rpm.bin 4, to all users to add executable permissions # chmod + x jdk-6u22-linux-i586-rpm.bin 5, execu
Install tomcat in linux
In this example, centos6.5 is used.1. Download the tomcat service from the official website:
Http://tomcat.apache.org/download-70.cgi
2. Upload tomcat to the linux server. I have created a rommr folder in
/local/apache-tomcat-7.0.57 export JRE_HOME=/[jdk目录]/jdk1.7.0_75/jre export JAVA_HOME=/[jdk目录]/jdk1.7.0_75 加在cygwin=false adrwin=false之前第三步:接下来修改一下tomcat端口号,进入tomcat的conf目录下,修改server.xml文件,通过vi命令打开文件后直接输入/8080检索到端口号的位置,进入编辑模式后修改端口号为80Last input : Wq Save exit.Next we can try to start Tomcat and switch to the
Install and configure apache + php, tomcat, and vsftpd in Linux-Linux Enterprise Application-Linux server application information. In the past, there were not many contacts with Linux System Service configurations. Two days ago, I
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.