Format the new hard disk in centos and set automatic mounting upon startup

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 and block changes in file operations in linux

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?

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

Centos6.4-x86-64 system update system comes with ApacheHttpServer

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

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 used back in Linux.

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;

Linux query to stop the tomcat process

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

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

Meaning of the shell status Test expression

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

Summary of common commands of Saltstack

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

Maximum number of file links modified in linux: openfiles/ulimit-n

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

Switch between ubuntu and centos firewall

Ubuntu and centos firewall switch ubuntu: ufwdisable off ufwenable enable ufwallowsmtp allow external access 25 TCP (smtp) Port ufwallow22tcp allow access 22 TCP (ssh) Port ufwallowfrom17272103221 allow 22 ubuntu and centos firewall switch ubuntu:

Shell script contact (randomly named)

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

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

Three lvs modes and configurations in linux

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

Viewing SELinux status and disabling SELinux is not specified

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... "/>

Install php5.4 on ubuntu

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

Use dmidecode in linux to View hardware device information

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

Linux study NOTE _ 13_mongolamp environment compilation (on) -- Preparations before compilation

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.

Linux network configuration

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

Total Pages: 2732 1 .... 676 677 678 679 680 .... 2732 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.