Download python
Official website http://www.python.org/Download python-3.45.tgz put under/usr/local/
• Extract TGZ Package
TAR-ZXVF python-3.4.5.tgz
cd ~/Download/python
./configure--prefix=/usr/local/python34
Note:/usr/local/python34 is
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#
Original link: http://blog.sina.com.cn/s/blog_a7cf995a0101azak.html
A new Linux CentOS server, installed PHP environment, found that the Apache default resolution path is/var/www/html, if you do not want to use this default path, you can set up a
Check to see if the Linux system has JDK installed
[root@linux1 ~]# rpm-qa | grep java
tzdata-java-2016c-1.el6.noarch
java-1.6.0-openjdk-1.6.0.38-1.13.10.4.el6.x86_64
java-1.7.0-openjdk-1.7.0.99-2.6.5.1.el6.x86_64
Uninstall the system with its
1. Enter the command to query the system for the installed MySQL2.. Uninstall MySQL individuallyYum Remove system displays the installed MySQLFor example: Yum remove mysql-client-5.6.33-1.linux_glibc2.5.x86_643. Use the Find command to find the
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
Operating system CentOS 7.5, installed when the choice of things Chinese, later want to change into English1. In the top left corner of the application----> click System Tools-----> Settings 2, point "regional language", then click on the right
2018-10-111. SSH Disable root loginModify the SSH configuration file/etc/ssh/sshd_configvim/etc/ssh/Sshd_configpermitrootlogin Yes #去掉前面的 # and change Yes to noRestart SSHSystemctl Restart sshd2. New addition of ordinary users and authorizedCreate
method one using the Hostnamectl command[Email protected] ~]# Hostnamectl set-hostname personal-serverMethod Two: Modify the configuration file/etc/hostname save exit[email protected] ~]# Vi/etc/hostnamepersonal-server
[email protected] ~]# cd/etc/sysconfig/network-scripts[[email protected] ~] #ls//ifcfg-ens** for the network configuration file we need to modifyusing the VIM command (vi command can also), to configure the file, we need to modify bootproto= "static"
Direct Post command:Vi/etc/sysconfig/network-scripts/ifcfg-eth0 only retains the following content:Type= "Ethernet"bootproto= "Static"Name= "Eth0"Device= "Eth0"onboot= "Yes"Ipaddr= ""Prefix= ""Gateway= "" rm -f /etc/udev/rules.d/70* rm -f /etc/
Requirements : 1. Hard disk format into physical volume PVPVCREATE/DEV/SDB/DEV/SDA2. Create Volume group vgcreatevg1000/dev/sdb1/dev/sdb2# Create Volume Group "vg1000"3. Increase the volume group capacity vgextendvg2000/dev/sdb2# The physical volume
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
I learned some front-end knowledge and didn't have time to share it with you. Now I will share the detailed instructions on installing the server operating system. Thank you for your attention.
The image burning process will be shared with you later.
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.