Centos format the new hard disk and add a new hard disk to the automatically mounted server when it is started. Only one sdb device can be seen under/dev. As a result, you need to partition, create a file system, and set automatic mounting upon
Inode operations on files in linux, block changes 1. create a file system and mount it to inode. the block information is as follows: FilesystemInodesIUsedIFreeIUse % Mountedon/dev/sdb5281_11281011 %... inode operations on files in linux, block
What is the difference between bash_profile and bashrc? etcprofile: This file sets environment information for each user in the system. when a user logs on for the first time, this file is executed and collected from the configuration file of the
Centos64-x86-64 system update system comes with ApacheHttpServer version is relatively old, there are vulnerabilities. Upgrade ApacheHttpServer. General Idea: first delete the old one and then install the new one. Detailed steps are as follows: 1
Usage of the read command in Linux 1. read the read command to receive input from the standard input (keyboard) or other file descriptors. after the input is obtained, the read command puts the data into a standard variable. The following is the
Fixed the problem that FirefoxBackspace cannot be withdrawn in Linux. in Linux, Firefox's Backspace key does not work. Solution: Enter & quot; about: config & quot; on the address ;, in the input box of the filter, enter: & quot;
For Linux queries, it is better to stop the tomcat process than to keep a good memory, and record the knowledge of Linux. The project needs to restart tomcat regularly, so write a script. There is a sentence to query the current tomcat running
Extended Virtual Machine hard drive-linux environment: VMWareWorkstation80 and Linux system requirements: extended 20 GB size hard drive to 40 GB size 1, PowerOff virtual machine system and delete all Snapshot, (because the disk size can be expanded
Linuxshell status Test expression meaning file Test-d Directory-s file length is greater than 0, non-empty-f regular file-w writable-L symbol connection-u file suid bit settings-r readable -x executable-nt test file1 compare to linux shell status
Three methods for finding the target minion are summarized in the common commands of Saltstack: salt & amp; 39; shell regular & amp; 39; command salt-E & amp; 39; prel regular & amp; 39; salt-N $ group command salt-L & amp; 39; server_id1, server_id2
In linux, you can modify the maximum number of file links openfilesulimit-n using ulimit-a to view all the restrictions of the current system. you can use ulimit-n to view the maximum number of opened files. By default, only 1024 of newly installed
Shell script contact (random name) 1. write a script to achieve the random selection function. the script must pass in a parameter. for example, the result of picksh1 appears & quot; the result of picksh3 appears & quot; fallen leaves & quot; jason &
Yum usage summary the basic operations of yum include software installation (local, network), upgrade (local, network), uninstall, and some query functions. Yuminstalllrzsz-yyuminstallvim-yyuminstalltcpdump-yyuminstallsysstat-y yum usage
Lvs: linuxvirtualserver, a linux Virtual Server. Server load balancer software for linux. Advantages: a. open source, free B. you can find related technical resources on the Internet c. It has the advantages of software load balancing. Technical
View SELinux status: 1./usr/sbin/sestatus-v # if the SELinuxstatus parameter is enabled, SELinuxstatus is enabled: enabled2, getenforce # You can also use this command to check and disable SELi... "/>
Mysql and apache have been installed successfully on ubuntu, but apache does not support php yet, this time, we are going to install php on ubuntu and integrate it with apache. 1. for ubuntu to install php, we need to install libxml2 first and
In a linux system (CentOS64 and Ubuntu1204 have been confirmed), you can run the dmicode command to view the detailed information of the hardware device. The specific command & amp; 26684; format is: dmidecode-ttypecode, where typecode is the device
LAMP environment compilation (on) -- Preparations before compilation 1. Introduction 1. why should we build Apache, PHP, and MySQL on Linux? 1) compile (on) their running efficiency LAMP environment on Linux-preparations before compilation
I.
A related File (taking ubuntu as an example): (1) etchost: thestaticlookupforhostnam
A related File (taking ubuntu as an example ):
(1)/etc/host:The static lookup for hostnames (man 5 hosts ).
* Function: maps host names to IP addresses, including
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