CentOS is stuck on the progress bar when the boot is on.
This does not see the boot boot card where, had to restart and hold the "E" key to enter the boot menu:
Then press E to edit the first item:
Then move to the second item kernel ...
Open/etc/httpd/conf/httpd.conf File
Modify two places
The code is as follows
Copy Code
#Listen 12.34.56.78:80Listen 80
#把80改为你设置的端口, I set the port to 8080
The code is as follows
Copy Code
CentOS Firewall to open port 80
The code is as follows
Copy Code
#/sbin/iptables-i input-p TCP--dport 80-j ACCEPT#/sbin/iptables-i input-p TCP--dport 22-j ACCEPTAnd then Save:#/etc/rc.d/init.d/iptables Save
In order to implement the front end using the Apache processing page, the backend uses JBoss or tomcat processing logic, we need to install the MOD_JK module for the httpd.
The operation is as follows:
1, download the latest Apache Tomcat
CentOS 7.x System network card naming rules are redefined, may be "eno167777xx", and so on, we will change the network card name to eth0 this.
First, cd/etc/sysconfig/network-scripts/ #进入网卡配置目录
MV eno16777736 Ifcfg-eth0 #修改名称
1. Download Teamview CentOS version, I like tar.gz version, but the official website only RPM version, the attachment is the official website download TEAMVIEW11Official: https://www.teamviewer.com/zhCN/download/linux/After downloading, put it in
A problem was found when the recent project was deployed on line. Tomcat takes a long time to launch. Look at the logs and find that the longest time is:INFO [localhost-startstop-1] Org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom
1. Tomcat needs to add a PID fileUnder the Tomca/bin directory, add the setenv.sh configuration, which is called when the catalina.sh is started and configures the Java memory parameters.#add tomcat Pidcatalina_pid="$CATALINA _base/tomcat.pid"#add
Use Docker pull CentOS, the mirror will not display the Chinese issue after the finishedFrom Centosmaintainer fengwan.blog.51cto.comrun rm-rf/etc/localtime && ln-s/usr/share/zoneinfo/asia/ Shanghai/etc/localtime #修改时区RUN yum-y Install
1. Enter the folder where the source configuration is storedCd/etc/yum.repos.d2. Back up the default sourcemv./centos-base.repo./centos-base.repo.bak3, use wget download 163 source http://mirrors.163.com/.help/centos.htmlwget Http://mirrors.163.com/.
System support: CentOS 6+,debian 7+,ubuntu 12+Memory Requirements: ≥128mAbout this script
One-click Installation Shadowsocks-python, SHADOWSOCKSR, Shadowsocks-go, Shadowsocks-libev version (four select one) service;
Each version of the
Tengine was introduced in previous articles. Previously, it only used the content configured by the O & M personnel, but did not install and configure it on its own. Tengine was installed on a trial basis. Record the following information for
First, disable the httpd service. /Etc/init. d/httpd stop List httpd related packages Rpm-qa | grep httpd The package list is as follows: Httpd-2.2.3-63.el5.centos.1 Httpd-manual-2.2.3-63.el5.centos.1 Uninstall package Rpm e httpd-manual-2.2.3-63.el5
For some reason, a method in the project is lost, and many files reference this method. You need to replace all of them with a new method. This method is referenced many times and manual modification is too troublesome. therefore, one-time
1. EnvironmentCentos5.52. Install svnYum-y install subversion3. ConfigurationCreate a version Library DirectoryMkdir/www/svndataSvnserve-d-r/www/svndata4. Create a version LibraryCreate a new Subversion projectSvnadmin
This article does not describe how to configure FTP, but takes notes to record the strange problems you may encounter.The more I learn, the more I find my ignorance, and the more I say it is tears.Do not forget to enable iptables/Sbin/iptables-I
Install snmp on the monitored sideYum-y install net-snmp-develInstall and configure snmp on the monitored sideVim/etc/snmp/snmpd. confCom2sec notConfigUser default publicChange to (cacti host IP address)Com2sec notConfigUser 192.168.0.195
Check whether lm exists in cpuinfo. If lm exists, 64-bit is supported. lm means long mode. The specific command is as follows:Cat/proc/cpuinfo | grep flagsCheck whether the output contains lm characters.OrCat/proc/cpuinfo | grep flags | grep lm | wc-
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