Linux operating system base optimized configurationwhen the installation is complete Linux system, we need to do some optimizations to make the operating system more secure, but also some of the necessary preparations (for future production
1.tomcat IntroductionSince JSP was released, a variety of JSP engines have been introduced. After completing the development of GNUJSP1.0, Apache Group began to consider developing a JSP server that could provide Web services directly on the Sun's
Troubleshoot several common Linux commands on online issues https://www.cnblogs.com/cjsblog/p/9562380.htmlTopEquivalent to Windows Task ManagerYou can see that the output is divided into two parts, the first 5 rows is the overview, the following is
1. Ubuntu View disk space Size commandThe Df-h DF command is a Linux system that views the file system as a disk partition, which can be added with parameters to view the disk's remaining space information, the command format: DF-HL display format:
6.15 IfSyntax: if (condition) {...}Application Scenarios:Server segmentLocation sectionThe common conditionVariable name (the value of the variable is an empty string, or it starts with "0", or false, and the others are true)A comparison expression
Create a directory/Data mkdir/Data ls-l/data/CD/data/pwd relative path and absolute path1. Path of absolute path starting from root/Data2the relative path does not start with the current path data/create file under Data filename.txt
Linux has 7 RunLevel, specific to 0-6 levels0: Indicates shutdown.1: Single User (no authentication required, can change root password, if grub is not set password)2, 3, 4: Indicates multi-user mode. The normal boot system, without the installation
1, laravel5.4 formal environment Linux appears undefined code problemError location in: Login module, login reference $_session[' code ' in the code is not definedReason:In the login controller code$input = Input::all ()So directly into the if
The development of Android often requires: development environment, test environment and production environment test our application in three environments, often encounter such a situation, testers find developers say, can give me a XX environment
Network traffic monitoring for Linux machines can be done using iftopInstallation methodUnder the CentOS system1. Install the necessary packagesyum install libpcap libpcap-devel ncurses ncurses-devel2. Download and install Iftop1.0pre4Version is the
DD is A very useful command under Linux/UNIX, which is to copy a file with a block of the specified size and make the specified conversion at the same time as the copy. Engrave the image of Arch Linux into a USB flash drive /dev/sdc :lgl@pArch
1. Tomact Decompression to/usr/local/tomcat2.vim/usr/local/tomcat/bin/catalina.shIn OS specific support. Plus (note the Java installation directory)java_home=/usr/java/jdk1.8.0_161Jre_home= $JAVA _home/jre3. Configuring the Tomcat service fileVi/usr/
First, write the scriptWrite a script file that enables the script to execute the backup command.For example, the file directory/home/backups/balalala is backed up to the/home directory and compressed.1. Create a scriptCommand format: Touch
1. First Attempt failedModify the/etc/ssh/sshd_config file,Found itClientaliveinterval 0Clientalivecountmax 3and remove the annotation symbol ("#"),Change the corresponding 0 of the clientaliveinterval to 60,CLIENTALIVEINTERVAL Specifies the time
Top-h-P $PID #查看对应进程的那个线程占用CPU过高1, Top-hThe handbook says:-h:threads ToggleAdd this option to start a top,top line to display a thread. Otherwise, it displays a process one line.2, PS XHThe manual says: H Show Threads as if they were processesThis
The kernel on the micro, the CPU running time into a number of points, and then arranged to each process rotation, resulting in the macro of all processes as if at the same time executing. Dual-core CPU, in fact, up to only two processes at the same
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