Number of Linux partition numbers:1. The partition number 1 to 4 is reserved for primary or extended partitions, and the logical partition number starts with 5.2, IDE hard disk device name start with/DEV/HD, different hard drive numbers are/dev/hda/,
Objective:
Tomcat is a free open source Serlvet container, a core project of the Apache Foundation's Jakarta Project, developed by Apache,sun and other companies and individuals. With Sun's involvement and support, the latest servlet and
The top tool is a performance analysis tool under Linux that shows the resource usage of each process in the system in real time.Top-08:41:25 up Days, 23:46, 1 user, load average:0.58, 0.56, 0.4808:41:25: (Current time)Up to 23:46: (System run time)1
Http://netkiller.github.io/www/tomcat/server.html1. Tomcat optimization is actually optimized for Server.xml (account thread pool, adjust HTTP connector parameters)Search for "maxthreads= "Maxidletime=" 60000 "Minsparethreads= "/>"Search for "port="
Cause of failure:After modifying the/etc/fstab, a swap partition is mounted as ext3, so the machine does not start properly.Workaround:follow the prompts to enter the root password and enter the interface with repair filesystem as a prompt. Vi/
Tar: Package command (not compressed)Tar cvf xxxx.tar files to be archivedC: Create an archiveV: Show the process of an archiveF: Name of the archiveTo view the contents of a document without being baffled:Tar TVF Xxx.tarSolution file:Tar xvf
The script is as follows:#!/bin/shif! Ping-c 5 192.168.90.1 >/dev/null 2>&1thenecho "The network is down! Now try restarting! "| Service Network RestartfiAdd a cronjob that executes every minute.Improved write error time to log
1. RoleThe grep command in a Linux system is a powerful text search tool that uses regular expressions to search for text and print matching lines. The grep full name is global Regular expression Print, which represents the globally regular
First build FTP.Note: This example is installed in the REDHAT6 64 system; Most Linux configurations are the sameOne. Installation1. Confirm that the Yum source "my yum source is directly used Redhat disk is relatively simple, while confirming that
Use of/dev/null in linux, devnull
Author: iamlaosong
I have a data import program that uses crontab to set scheduled execution. Sometimes, when data needs to be re-imported, it runs once manually. The result shows that the manual import time is
Linux cron scheduled task log tracking, linuxcron
Scenario: You need to enable a scheduled task in the cron of the system and run a shell script, which roughly means switching
The abc user executes a php file (for example,/data/soft/auto. php), so
Mawk for Linux commands and mawk for commands
Pattern scanning and text processing language
Syntax:
Mawk [-F value] [-v var = value] [--] 'gram text' [file...]
Mawk [-F value] [-v var = value] [-f program-file] [--] [file...]
Description:
Awk is a
Install mini CentOS6.4 on a VM10 Virtual Machine
The installation process is different from the common one. Most of them are installed with a desktop. The installation process experiences how to install without a desktop. Of course, the focus here
Centos7.0 system password cracking
Redhat7.0 + Centos7.0 system password cracking procedure
1. Press E to edit the kernel entry when it is started.
2, find Linux16 this paragraph by the END to the END of the line in the UTF-8 after the input of
Process record for compiling Android 2.3.3 under 64-bit UbuntuKylin14
Because of the domestic network environment, google has become a pain point, and the source code of Version 2.3 has been downloaded for several days. Of course, except for the
Build an automatic. net compilation environment on CentOS, centos.net
We know that on Windows, we can easily build the automated compilation environment of MSBuild, so it is also possible in CentOS, mainly requiring Mono.Here we select the Jenkins +
Build an FTP server in Linux
In Linux, we use vsftp as our ftp server.
Server OS: Redhat 6.3
1. Check whether vsftpd is installed on the server.
Rpm-qa | grep vsftpd
2. If no vsftpd rpm package exists, we need to download and install
Yum install
Linux Command-bashshell Configuration
I. shell Type
From the perspective of user login, shell types include:
1. logon shell: (read environment configuration)
Normally log on through a terminal:
Su-USERNAME
Su-l USERNAME
2. Non-Logon shell:
CentOS7 user permission settings
1. Add sudo permissions, edit and modify the/etc/sudoers configuration file, and add the account with sudo permissions under root ALL = (ALL) ALL.
2. Modify the ssh remote Port: Edit vi/etc/ssh/sshd_config, locate #
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