Linux Infrastructure Optimization Configuration

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

Linux Common commands

1. View Port occupancyNetstat tunlp|grep 80802. Create a foldermkdir Hello3. Create a fileTouch Hello.js4. Copying foldersCp-r Hello/app/hello5. UnzipUnzip Aa.zipA6. CompressionZIP-R-Q Aaa.zip *-A: Adjust the executable automatic decompression file;-

Deploying Tomcat in Linux

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

Multi-person chat room based on socket network communication under Linux

Service side#include #include#include#includestring.h>#include#includeinch.h>#include#include#includeChar* nam[ -];intCount =0;intcfd[ -];intCLIFD =0;void* Pthread_chat (void*Arg) { int*p =Arg; intn = *p; while(1) { Charbuf[255] = {};

Linux command troubleshooting a few common issues on the line

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

Linux View disk space size

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:

NGIXN configuration ② in Linux

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

Common Linux Commands

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-Rescue Mode

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

laravel5.4 official Environment Linux appears under undefined code

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

Linux under Jenkins Pack apk

svn

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

Linux View intranet Traffic

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

Linux DD command

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

Linux CENTOS7 tomcat8 configured as a service startup

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/

Linux Common commands

Basic commands Vim command Basic commands View the Tomcat log tail-n 20-f catalina.out View the specified list find./-name ' ser* ' Search for specified file locate $ yum Install mlocate #安装$ updatedb #更新索引库$ Locate File

Scheduled backup files under Linux

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

A solution that is disconnected for a long time when SSH is connected to Linux (enhanced version)

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

Linux Time Synchronization Script

Resources:Http://www.cnblogs.com/liushui-sky/p/9203657.html (Perfer should be prefer in the

Linux view threads of a process

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

Linux kernel scheduling algorithm (2) How to allocate--cpu time slices

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

Total Pages: 5467 1 .... 3633 3634 3635 3636 3637 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.