In recent times, when configuring the JDK on the CENOS7, I found myself in a pit (and too little of my own knowledge).
Go to the official website to download JDK 7, then unzip, put in my own definition of a directory, usually opt or data inside.
my version of the platform:
Host computer operating system: Windows7 flagship edition
VMware version: 9.0.1 build-894247
Virtual machine Operating system: Cent OS 6.3 (64-bit)
Host Internet access: Broadband
First, set up the Internet Nat mode
The
0. Basic requirements
(1) Need to use at least two servers: one has no operating system, is the server we are about to install, the other is a server that has already installed the operating system, we use to store CentOS installation files.
(2) The
Centos7 Install VNC Step
I. Installation
1. Run the following command with root user to install vncserver;
Yum Install Tigervnc-server
2. Also run the following command to install the vncviewer;
Yum Install VNC
3. Stop and disable the
Online a test machine, the network environment is more bizarre, can not download the Python standard library of the source package, and can not be a PIP, such as on-line compilation installation.
There is no way to download the source package from
1. Download jdk files, such as jdk-8u131-linux-x64.tar.gz
2. Upload JDK files to Linux host 3 using tools such as FlashFXP .
Install JDK
#切换root用户[Sundy@centos7] Su root......# Extract JDK Files[Root@centos7] TAR-ZXVF jdk-8u131-linux-x64.tar.gz#
Prior to installing/configuring the system production environment, it is generally necessary to upgrade the existing system to ensure that the packages/components within the system are up to date, and that the upgrade commands for Debian/ubuntu and
You can get the size of a file or folder in the following way, where FD is the file (folder) descriptor
Long fileSize = Lseek (FD, 0, Seek_end)
But the following problems exist
CT6.3
If the FD passed to Lseek is a regular file, there is no
1. Configure the NICOpen Network and Sharing Center to find192.168.230.1 is the routing address and the gateway address is set to 192.168.230.2Enter command vi/etc/sysconfig/network-scripts/ifcfg-eth0Press I to enter edit mode and add the following:
1, boot start + + + crontab timed execution (timed execution can refer to: https://www.cnblogs.com/prefectjava/p/9399552.html) can realize the purpose of automatic operation, simplifying the workload of maintenance personnel.Under CentOS or redhat
Source: Https://www.cnblogs.com/zhenxiqia/p/9049290.htmlLinux CentOS 6.5 Modify environment variables with your own JDKFirst of all, the default JDK means that after we install the CentOS system comes with the JDK, download and install the JDK
Installing Python3
Most cloud platforms do not have devel packages installed zlib and OpenSSL and need to be installed in advanceDownload Python source codeCd/home/cheatwget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.gzTar xzvf
VirtualBox Install CentOSCentos7 Restart prompt after installation Initial setup of the CentOS Linux 7 (CORE) workaroundProblem:CentOS7 installation is complete, restart boot after the display:Initial setup of CentOS Linux 7 (CORE)1) [x] creat user 2
First, the Environment preparation1.1 Server SystemCentos71.2. Required ToolsPython3 (theDjango 2.0 version is based on the Python3 version, so install Python3 is required)Setuptools (>24.0)PIP3 (18.1)Second, installation2.1 Installing Python3:
First, firewall open 21 portSecond, the creation of the FTP user, after creating the user in the/etc/passwd is presented in this way: Ftpuser:x:1008:1008::/var/www/html:/sbin/nologinThird, yum list |grep vsftpd find the package name and install it
#下载tomcat压缩包到/usr/local/tomcat/and unzip to the current directoryMkdir-p/usr/local/tomcatCd/usr/local/tomcatwget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-9/v9.0.12/bin/apache-tomcat-9.0.12.tar.gzTAR-ZXVF apache-tomcat-9.0.12.tar.gz#编辑startup.
RPM Installation jdk1.8.0_1111, the query system comes with the jdkrpm-Qa|grep Java Query results are as follows:[[email protected] ~]# rpm-Qa|grep javajavapackages-Tools-3.4.1-5. El7.noarchjavamail-1.4.6-8. El7.noarchjava-1.7.0-OpenJDK-Headless-1.7.
First check if the current Linux system installs Javarpm -qa | grep java
If the list is displayed, use the command to uninstall itrpm -e --nodeps 要卸载的软件名或yum -y remove 要卸载的软件名
Unzip the JDK to the specified directorytar –xvf jdk-8u172-linux-x64
Nginx is a high-performance Web services software. More lightweight and flexible than Apache HTTP server, it is an essential tool in Web and server-side development.In this article we will introduce the installation of CentOS 7 under Nginx.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service