First glance at Linux logon files

Common logon files:/var/log/cron: records the running status of crontab and whether/etc/crontab is correct. /Var/log/dmesg: records the information generated during the core detection process when the system is started. /Var/log/lastlog: record the

Set up DNS service in linux

All required software bind-9.4.2.tar.gz // required A required softwareBind-9.4.2.tar.gz // http://www.isc.org/Wget http://ftp.isc.org/isc/bind9/9.4.2/bind-9.4.2.tar.gz 2. unzip and install# Tar zxvf bind-9.4.2.tar.gz# Cd bind-9.4.2#./Configure --

CentOS6.0 server installation, configuration, and optimization (getting started)

Recently, I was familiar with the installation and configuration of servers under LinuxCentOS, which naturally means that solutions under linux may be expanded in batches. I have learned little about it in college, and I have to study it step by

Detailed description of yum commands in linux

Yum uses redhat, and Feder of fedora must have a headache for the famous dependencyhell of rpm (this is also a problem for all rpm-based releases ). Fooisneededbybar, barisneededbyfoo. I have to work hard to load and unload software... What does yum

Linux custom commands

Sometimes it is very easy to customize some commands that you like to use. Enter the/bin directory. 1. if you want to execute the shell script, create a corresponding shell. for example, to create the "hello" command, you only need to create a

Real-time synchronization of a large number of small files in sersync2

Sersync2 can synchronize a directory on a machine to multiple machines in real time, which is very suitable for a large number of small files such as web pages. 1. configure the synchronization target server # vi/etc/rsyncd.

Linux Advanced variables

Basic form of advanced variables [1]. variable extension format $ {variable name} [2]. command extension format $ (command) [3]. arithmetic extended format $ (arithmetic) 1. basic form of variable extension: $ {variable name} variable extension

Set static IP addresses in Linux

The first thing to do after installing Linux is to set an IP address to access the internet. This article describes how. set static IP addresses. (1 ). command line setting (this method is only temporary setting and will expire after the system is

Cluster Generation 3 (using the ipvsadm command)

Because your cluster is implemented in the user space, similar to the iptables service in linux, you need to use ipvsadm to implement it. since linux kernel version 2.6, the code has been compiled into the kernel, if the version is older, you need

Linuxtar packaging command

Example 1: package all the files in the/etc directory into/tmp/etc.tar [root @ linux ~] # Tar-cvf/tmp/etc.tar/etc & lt; pack only, do not compress! [Root @ linux ~] # Tar-zcvf/tmp/etc.tar.gz/etc & lt; after packaging... Example 1: package all the

Modify the host name in redhatlinux

View host name: uname-a modify host name: modify host name in redhat Step 1: # hostnameoratest Step 2: modify hostname in/etc/sysconfig/network Step 3: modify the/etc/hosts file suselinux: modify the/etc/HOSTNAME file. in this file, ensure that...

OEL6/boot partition deletion and recovery

I have been using linux for a while. although I am not proficient in it, the daily application maintenance is still okay. yesterday I intentionally formatted the/boot partition directly and tried to restore it today, let's see how we know about

Enable and disable the CentOs graphical interface

From: Drawing (xwindow) 2010-06-1818: 211. close xwindow: 1.1shell on the image interface and run init3 to enter the text mode. at the same time, the related services will be disabled (Xserver will definitely close) 1.2a... From:

Linux dual-Nic binding test

First, let's introduce the situation. server A and server B are both CentOS4.6 systems. now we need to create HACluster. to avoid split-brain attacks, we need to improve the reliability of the heartbeat link, which is the current connection

Basic network configuration in linux

First: use the command to modify (effective immediately, restart failed) # ifconfigeth0192.168.0.1netmask00000000255.0up description: eth0 is the first Nic, and the others are eth1, eth * 192.168.0.1 is the IP address of the first Nic configured for

RHEL5.5vnc configuration

Use the gnome desktop environment as an example to describe and configure it! Modify the configuration file/root/. vnc/xstartup. remember to copy the backup before modification! Inside the red box is the place to be modified. # unsetSESSION_MANAGER #

Cluster Series 5 (high-availability cluster based on corosync + pacemaker)

Experimental environment: 1) vmwere-based virtual machine implementation 2) This configuration has two Test nodes, node1.a.com and node2.a.com, with the IP addresses 172.16.4.11 and 172.16.4.22 respectively. 3) the simulated cluster service is a web

Build a storage replication cluster using drbd

Before configuring drbd, let's take a look at the basic knowledge of drbd. DistributedReplicatedBlockDevice (DRBD) is a software-implemented, non-shared, and storage replication solution for image block device content between servers. Data Image:

7 tips on Linux

1. don't play with Linux. many people may feel confused when using Linux. which release should I use? Is it because I have not installed anything? How can I upgrade it so quickly! Why is it so unstable! Whenever a new software comes into being, he

Helloworld of gdb

When I think of a linux teacher from Neusoft, I told me that Tianji has finished the book and just bought it, you must have read "debughacks" in a week. Fortunately, I have practiced it. what should you do ~ First ulimit-c kernel dump file size

Total Pages: 2732 1 .... 2034 2035 2036 2037 2038 .... 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.