The hostname step of the change under Linux

Hostname changed under Linux gpdbStep 1, execute the vi/etc/sysconfig/network commandNetworking=yesHostname=gpdbSecond step, execute hostname gpdb orderStep three, execute the vi/etc/hosts command192.168.1.121 gpdb # Added by NetworkManager127.0.0.1

Linux tips: Several ways to keep processes running reliably in the background

Transferred from: http://www.ibm.com/developerworks/cn/linux/l-cn-nohup/Want the process to remain running after disconnecting? If the process is already running, how can it be remedied? If there are a large number of such requirements how to

One Linux command per day (+): Watch command

Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the

2.Linux Files and directories

1. Directories and Paths A more specific directory under Linux: . Represents this layer directory : Represents the previous directory-represents the previous working directory -the home directory where the

Linux Basic Command Learning mkdir (3)

Mkdir1. Command Formatmkdir [Options ] Catalogue .. .2 . Command Functionsby mkdir command can be implemented at the specified location to create aDirName (the specified file name)the named folder or directory. The user who creates the folder or

Linux Basic Command Learning Echo (8)

Echo1. Command Formatusage : Echo [-n] String2. Command functiondisplay text , Cho will send the input string to the standard output. The output string is separated by a white space character, and a newline number is added at the end3 command

Linux Server--iptables Port forwarding

Daily Iptables Port forwarding Requirements: The company is a local network, through an external network IP, Internet access. The company's cloud platform server in the public network, the virtualization platform has an internal server for

Production of Linux run time

How to view system boot time and run time under Linux1.uptime commandOutput: 16:11:40 up, 4:21, 2 users, load average:0.00, 0.01, 0.002. View the/proc/uptime file calculation system start timeCat/proc/uptimeOutput: 5113396.94 575949.85The first

Practice--linux The well-known management FIFO for interprocess communication

To read data from the FIFO:Convention: If a process blocks the open FIFO in order to read data from the FIFO, the read operation in the process is called a read operation with the blocking flag set. If there is a process write open FIFO and

Linux control remote access to SSHD

Test environment: Linux centos6.51. hosts.allow File configuration:Modify the/etc/hosts.allow file## Hosts.allow This file describes the names of the hosts which is# allowed to use the local INET services, as decided# by the '/USR/SBIN/TCPD ' server.

Linux Command Learning Note: Cut details

The Cut command cuts bytes, characters, and fields from each line of the file and writes them to standard output. It takes each line of the file as a processing object. Command format:Cut[options] [scope] file. option is used to specify the unit

Linux mount USB flash drive

Note: The following actions are to be performed in the root case; Create a new USB directory in the/mnt/directory; cd/mnt/ mkdir USB sudo fdisk–l view hard disk information, plug in the USB stick, fdisk–l, see if there is a new hard

Configure ZeroC Ice to enable SSL communication

Configure ZeroC Ice to enable SSL communicationZeroc ICE (Internet Communications Engine) middleware is known as standard and unified, open-source, cross-platform, cross-language, distributed, secure, service transparent, load balancing,

Linux File System (inode and block)

Linux File System (inode and block)Linux File System (inode block superblock): The file attributes/permissions set for each operating system are not the same. to store the data required for these files, partition formatting is required, to become a

Check the number of physical CPUs, cores, logical CPUs, and linuxcpu in linux.

Check the number of physical CPUs, cores, logical CPUs, and linuxcpu in linux. I. First, we need to clarify the concept of the number of physical CPUs, the number of cores, and the number of logical CPUs. 1. Number of physical CPUs: the number of

GPT partition in Linux

GPT partition in Linux GPT partition in Linux. This is another partition. For MBR partition, it has many advantages: (1) It almost broke the limit on the number of partitions. A gpt Partition Table supports a maximum of 128 primary partitions. (2)

Git build team development environment operation Drill

Git build team development environment operation Drill Simulate remote git repository Creation 1. First create the following directory structure: /Users/Hutch/Desktop/GitTest2/GitServer/weibo Weibo is the project we want to create. 2. Switch the

VirtualBox-Linux system installation enhancements, virtualbox installation of linux

VirtualBox-Linux system installation enhancements, virtualbox installation of linux Before installation, We must install the dependent packages required by it. Otherwise, the installation process will be wrong!1. Install the dependency package 1 #

Shell learning notes-branch statements

Shell learning notes-branch statementsI. single branch if Statement 1. syntax format: if [conditional syntax]; then program fi or if [conditional syntax] then program fi Note: there must be a space between the brackets and the conditional syntax.

Install mysql using yum in centos

Install mysql using yum in centos1. add yum data source (1.1) Get the right data source from the http://dev.mysql.com/downloads/repo/yum/ (1.2) install the data source package shell> sudo rpm-Uvh platform-and-version-specific-package-name.rpmeg:

Total Pages: 5467 1 .... 1532 1533 1534 1535 1536 .... 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.