Fdisk-l look at the hard drive and see that there is no partition here is/dev/xvdbFdisk/dev/xvdb Input M View HelpEnter N to create the partition, enter p to create the primary partition first .... Enter ENTERLast ... Enter +2G to create a 2G
Comment out the original eth0 line, and then change the generated eth1 to eth0 (you can add this file if you don't have the file)[Email protected] ~]# Cat/etc/udev/rules.d/70-persistent-net.rules# This file is automatically generated by the/lib/udev/
1.Zip commandZip-r myfile.zip./*All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed recursively.2.UnzipUnzip-o-d/root/myfile.zipUnzip the
First, import the project to the MyEclipse or Eclipse (JEE) version on Windows,Then after debugging, there is no error after.Click on the item and then right click Export ... )Then choose Jee's War format, this is the compressed format,To run the
WIN7 installation of CentOS dual system instructionsA Installation Prerequisites1, Windows7 platform, first look at their computer processor is how many bits, different bits of the processor installed CentOS version is not the same.Click "Run" on
Cluster configuration (iv)--warm tips1. New User operation(1) Each new user needs to go to/VAR/YP, perform make operation, recompile, update NIS user information, otherwise on the compute node can not log on or log in to find the home directory;(2)
UFW は ファイアウォール the Management ツール で, Ubuntu the で standard occupies makes the われています. UFW allow 80/tcp のような simple single なコマンドでポートを けます off めできます. CentOS with のパッケージは intention されていませんが, ソースから インストール すれば makes えます. % sudo Yum Install wget Make
Using the Appach 2.4. Version 10 versions are configured differently1, first modify the httpd.conf fileFound in the Conf folder in the Appach installation directory#LoadModule Socache_shmcb_module modules/mod_socache_shmcb.soRemove the "#"
The CentOS disk is full, look for large files and clean upJuly 29, 2013 ⁄ general ⁄ a total of 1172 characters ⁄ font size small medium big ⁄ comments off Today found VPS typing crontab-e actually prompted "Disk quota exceeded" cannot be edited.
Doing activities today, the number of server traffic is soaring, problems that have not appeared before have appearedHere is an issue where a catalina.out quickly fills up disk space. Fortunately there is a hard disk monitoring server alarm AH ~ ~
Testing the installation and configuration of the machineInstall Linux centos6.4 Mini1000 words are omitted here ...Turn off SELinuxSetenforce 0Vi/etc/sysconfig/selinux-->diabledClose IptablesService Iptables offChkconfig iptables
First, download TomcatDownload the latest version of TomcatCd/usr/local/srcwget http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.50/bin/apache-tomcat-7.0.59.tar.gzIi. Unzip and install TomcatTar zxvf apache-tomcat-7.0.59.tar.gzMV Apache-tomcat-7.
When we want to create a user, we usually use the Useradd command to automatically create a user, in fact, under Linux, everything is file, set several files, but also can create a user:The file is as follows:/ETC/PASSWD: User/etc/shadow:
The previous understanding of the library is too superficial (and now still very superficial), leading to a lot of detours, is now recorded for later investigation.You can now download from the Boost website to the latest boost source code boost_1_57
Install stress testing tool AB and centos separatelyThe self-contained stress testing tool Apache Benchmark (AB) in the Apache installation package is easy to use. Here, AB is used as the stress testing tool.
1. Independent Installation
To run AB,
Solve Problems Related to slow ssh login authentication in CentOSGenerally, SSH authentication on Linux is slow, and most of them are caused by SSH parameter configuration. In most cases, the seDNS parameter is confusing. You can simply change it to
In VMWare, Centos sets the specified NAT ip address to access the network at the same time, and centosnat
First, after centos is installed, select Virtual Machine --> right-click --> set --> Virtual Machine to NAT Mode
Select Edit> Virtual
How to solve the problem of too many apache log files in CentOS
Method 1,
In httpd. conf, find
Change CustomLog logs/access. log commonCustomLog "|/usr/sbin/cronolog/usr/local/apache2/logs/access _ % Y % m % d. log" common
Change ErrorLog logs/error.
Solve the problem that CentOS/var/log/secure does not record logs
God checked the server security log, and the firewall blocked the ip addresses that handled some brute force ssh password cracking attacks (one of the ip addresses is a famous CDN
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