Terminal view memory status there are two commandsTophtopIf the system does not have htop installed , then install it. However, this is a hassle,System Monitor is a good choice,System Monitor can display network speed, memory,CPU and other
1. Download Jdk-6u45-linux-x64.bin from OracleDownload file: Jdk-6u45-linux-x64.bin2. Copy the Jdk-6u45-linux-x64.bin into the/usr/java3 Enter the/usr/java directory, modify the Jdk-6u45-linux-x64.bin executable permissions chmod u+x
The beginning forgot to write, later again tidy, starting from now on debugging ApacheOne, Apache installation (installed to half only remembered to write blog, sorry)[[email protected] apache2.2.27]# Pwd/application/apache2.2.27[[email protected]
A friend mentioned a demand, there are a number of applications of the host need to check whether the network is normal, of course, many methods, such as deployment and saltstack, directly check whether minions online, or you can use Python to get a
Buckle finger a calculate, oneself has graduated nearly half a year, this half-year inexplicable into the outsourcing circle stroll a circle, fortunately back early or normal do some things, outsourcing is not too suitable for just into the social
Directory
Describe
/
root directory
/bin
The most basic command required to be a basic system is to put it here. such as LS, CP, mkdir and other commands; functions and/usr/bin are similar, the files in
If you are a Linux enthusiast, want to choose a desktop system and neither want toWith pirated, and don't want to spend too much money to buy business system software, then you can choose Ubuntu tableSurface system. If you need a server-side Linux
I created a new user through root, but when I use this new user, I find that the space in/home/my is only dozens of M, which is completely unable to satisfy my use, so the following method expands the space under the root.My this operation, refer to
1. Pressing the TAB key after entering 1-2 characters on the LINUX command platform automatically complements the next part (provided that you have this thing, for example, if you have Tomcat, enter Tomcat to press TAB).2. The PS command is used to
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not
The following is a script that detects the size of the log file (catalina.out):#!/bin/bash#author:chris Chan#written for Check catalina.outsize=$ (du-m catalina.out| awk ' {print $} ') echo The size of the catalina.out is: $sizeif [$size-gt
DD IF=/DEV/SDA Of=/dev/sdb bs=10mThe progress of the DD command is displayed under Linux:DD If=/dev/zero of=/tmp/zero.img bs=10m count=100000To see the execution progress of the DD command above, you can use the following methods:Example: Output dd
Linux User Management 1 (/etc/passwd), etcpasswd
All Linux users are in the/etc/passwd file.
1. Why do users need it?
1) Reasonable Allocation of computer and network resources 2) Permission for users to access the system. 3) Identity Authentication
Disable unnecessary default services of CENTOS
How to disable the CentOS service:
Graphical interface, run ntsysv
Chkconfig-level 2345 service name off
Server Name Proposal Description acpid disables Advanced Configuration and Power Interface
Nginx and nginx Configuration
Common web software that implements WWW services: nginx and apache.
Typical popular web combination lamp (linux apache mysql php) and lnmp (linux nginx mysql php ).
Nginx is a static www software (such as html, js, css,
CentOS 7 Nic name changed to eth0 format, centoseth0
The traditional naming methods for Nic devices in Linux are eth0, eth1, and eth2. CentOS7 provides different naming rules, which are allocated by default based on the firmware, topology, and
Nginx anti-leech settings for centos serversO & M personnel often have some troubles. For example, websites are always plagiarized. For example, websites are always referenced in the pictures above. Although a picture or two pictures are not a lot
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