The following three kinds of error possibilities may occur:
first: Enable rewrite and. htaccess Settings
rewrite settings : Find Apache configuration file httpd.conf file, find: #LoadModule rewrite_module modules/mod_rewrite.so Remove the front #
Phpstudy Although useful, but the lack of official use of the tutorial, the use of convenience is greatly compromised, fortunately found an introduction of the use of the tutorial:
Transfer from: KOPM's Blog
Download Address:
Download version:
One of the common problems with working in UNIX is finding large files to free up some space. Suppose your file system is full and you receive alert free space, or if there is insufficient host space and your service is not able to start, you first
When we have a shell under Linux (multiple Web sites on the server).This shell has writable permissions to the root directory of the site where it resides, and can even view the directories of other sites.Then, such host settings are certainly not
Epoll introduced
Epoll, introduced in the Linux 2.6 kernel, replaces the previous Select/poll model, and can fully support large-scale concurrent network programs under Linux. comparison between Epoll and other Linux concurrent network programs
Telnet
(If not, you can change the root account and try Su-root)
1. Install Telnet-server
sudo dpkg-i xinetd_1%3a2.3.14-7ubuntu3_i386.deb
sudo dpkg-i telnetd_0.17-36build1_i386.deb
If you are connected to a network, you can sudo apt-get install
Abstract: I believe that everyone is used to Windows people. For all kinds of spam files under Windows, you need to find ways to remove them, or your system will become bigger and more sluggish. How does windows clean up the garbage? I believe
1, view the disk
Df-h
2, view memory size
Free
Free [-m|g] Press MB,GB to display memory
Vmstat
3, view CPU
Cat/proc/cpuinfo
Look only at the number of CPUs grep "model name"/proc/cpuinfo | Wc-l
4, View system memory
Suppose Tomcat's directory is/usr/local/apache-tomcat/
1, open the Tomcat configuration file#vi/usr/local/apache-tomcat/conf/server.xml
2, open the Tomcat configuration file Press/8080 Fast Search
3, modify the port, press I, the 8080 modified to 80
Multiple projects common one 80 port
All you need to do is write it up in Server.xml under Tomcat's Conf folder.
The following is the configuration in my engine
"Linux Tomcat8.5.24 Installation and environment configuration graphics and text tutorial"
About Tomcat:Tomcat server is a free open source Web application Server, is a lightweight application server, in the small and medium-sized systems and
One, global parameters
The parameter before [Moudle] is a global parameter, or a partial module parameter can be defined under the global parameter, when the value of the parameter is the default value of all modules.
PORT: Specifies the port number
Brief Introduction
grep (Global search Regular expression (RE) and print out of the line, a comprehensive search for regular expressions and print out rows) is a powerful text search tool that uses regular expressions to search for text. and print
Preface: We just started installing Ubuntu on the virtual machine, always reluctant to allocate too much hard disk space. But with a long time to use the hard drive is not enough. One of the stupidest ways to do this is to reload the system, but
View that process is taking up xxx port
lsof-i:xxx
See where the process number is xxx
ps-ef|grep xxx
=========================
General article:
First, look at the process with PS by using the following methods:
$ ps-ef
... smx 1822 1 0 11:3
1. Create user Gentoo, additional group is bin and root, default shell is/bin/csh, annotation information is "Gentoo distribution"
Create the following user, group, and group memberships named Webs Group user Nginx use Webs as the satellite
1. User用户就是系统使用者的身份在系统中用户存储为若干窜字符+若干个系统配置文件User information involves the system configuration file:/etc/passwd ###用户信息用户:密码:uid:gid:说明:家目录:用户使用的shellRoot User:Student Users:/etc/shadow
The parameters of the netstat command are described below:-T: Indicates that the TCP port is displayed-U: Indicates the display of UDP ports-L: Only listen sockets (so-called sockets are programs that enable applications to read and receive
Linux adds three ways to start a boot entry.(1) Edit File/etc/rc.localInput command: Vim/etc/rc.local will appear a text fragment similar to the following:#!/bin/sh## This script is executed *after* all and the other init scripts.# can put your own
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