CentOS An example of adding a swap partition

Create a swap partition using the DD command[Root@localhost Desktop] #dd if=/dev/zero of=/home/swap bs=1024 count=1048576Calculated formula for Count: count=size*1024 (SIZE in MB)This creates a/home/swap partition file with a size of 1G, and then

Troubleshoot CentOS boot card in progress bar problem tutorial

CentOS is stuck on the progress bar when the boot is on. This does not see the boot boot card where, had to restart and hold the "E" key to enter the boot menu: Then press E to edit the first item: Then move to the second item kernel ...

CentOS Iftop installation and use of the tutorial detailed

First, what is Iftop? Iftop is a real-time traffic monitoring tool similar to top.Official website: http://www.ex-parrot.com/~pdw/iftop/ Second, what is the use of iftop? Iftop can be used to monitor the real-time traffic of the network card (you

The use method of CentOS de decompression command

———————————————. tarUnpack: Tar xvf Filename.tarPacking: Tar cvf filename.tar dirname(Note: Tar is packed, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz

The method of IPV6 configuration and opening under CentOS

IPV6 Fire-enabled Service Ip6tables Start Set boot up Chkconfig--level 2345 Ip6tables on Check the default gateway address: Ip-6 Route 2001:288:82b2:1:209:fff:fe85:f71e Network Related Settings Vi/etc/hosts 2001:288:82b2:1::77 w2.ipv6.shsps.

The CentOS in Linux is checked after intrusion

Checking user logon Records More/var/log/secureWho/var/log/wtmp Check System daemon Check/etc/inetd.conf file, input: cat/etc/inetd.conf | Grep–v "^#", the output information is the remote service that your machine opens. A general intruder can

Linux CentOS single NIC binding multi-IP method

Suppose that the NIC that needs to bind multiple IP is eth0, please create a file named ifcfg-eth0:0 in the/etc/sysconfig/network-scripts directory. Examples of the content are:Device= "eth0:0"Nm_controlled= "Yes"onboot= "Yes"Ipaddr= "112.100.103.16

CentOS on the installation of MOD_JK module detailed

In order to implement the front end using the Apache processing page, the backend uses JBoss or tomcat processing logic, we need to install the MOD_JK module for the httpd. The operation is as follows: 1, download the latest Apache Tomcat

CentOS 6.6 Hadoop cluster installation record (preparation phase)

Cloudera Hadoop CDH 5.2.3 and Cent OS 6.6 are used for this installation. The installation process is very unprofessional. For record only, do not refer.I. Preparations before installation1. Update the systemYum update2. Install JDKA. Download and

How to install ffmpeg in CentOS

Download Address: http://ffmpeg.mplayerhq.hu/download.html#releasesDownload File: ffmpeg-2.0.1.tar.bz2Compile :. /configure-prefix =/usr-enable-gpl-enable-shared-enable-version3-enable-nonfree-enable-libmp3lame-enable-libvorbis-enable-libxvid-enable-

Detailed explanation of CentOS system service optimization script

#! /Bin/bash# Author: sherwin# Version: v1.1# Author blog: http://blog.rocnic.com# Email: blog@rocnic.com# Description: This script is the maximum service optimization for CentOS servers and does not apply to all servers. Please increase or decrease

Introduction to CentOS commands for setting service startup

1. Use chkconfig to configure the startup levelIn other CentOS or RedHat systems, if services are installed later, such as httpd, mysqld, and postfix, the system will not start automatically after installation. Even if you manually run/etc/init.

CentOS yum prompt segment error (core dumped) solution

The system prompts a segment error (core dumped) during yum install or yum update today, and then stops running. The code is as follows:Copy code [Root @ lee ~] # Yum-y updateLoaded plugins: fastestmirror, refresh-packagekitDetermining fastest

Detailed steps for installing and configuring pptpd in centos 6

Configuration environment:Server version: centos 6.4x86Pptpd version: pptpd v1.401. Introduction to vpnVpn is called virtual private network. The technology is simple, that is, setting up a private network in the public network and setting up a VPN

How to install Nginx in Centos

Centos compiling environment# Yum-y install gcc automake autoconf libtool make Install g ++:# Yum install gcc-c ++ Install the PCRE libraryCd/usr/local/srcWget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.tar.gzTar-zxvf

Centos configuration and installation of vsftp server

Install vsftp serverRun the rpm-q vsftpd command to check whether this service is installed. If yes, the vsftp version is displayed. If no version is installed, the system prompts "package vsftpd is not installed ". Run the "yum-y install vsftpd"

Detailed steps for modifying the default ssh port in centos

1. Modify the s h PortThe default s h port of VPS is 22. To prevent MJJ from scanning the port to crack the password, it is necessary to change the ssh port to another number.Now, log on to the VPS through SSH and modify the configuration

Example of setting static IP addresses for vmware bridging in centos

Use bridge ModeSelect the bridging network card when bridgingSet centos static IP addressTwo configuration files are involved:/etc/sysconfig/network-scripts/ifcfg-eth1First, modify/etc/sysconfig/network as follows: add GATEWAY = 192.168.0.1. Gateway

Detailed steps for installing node. js in CentOS

Compile and install node. jsWget http://nodejs.org/dist/v0.8.5/node-v0.8.5.tar.gzTar zvxf node-v0.8.5.tar.gzCd node-v0.8.5./ConfigureMake & make installModify the wget version by yourself.Run the yum command to installYum install

In centos, the general user is promoted to the root permission.

Here I have a new general user named 361way, which can be promoted to root as follows:Method 1: modify the/etc/sudoers file, find the following line, and remove the comment (#).# Allows people in group wheel to run all commands% Wheel ALL = (ALL)

Total Pages: 394 1 .... 309 310 311 312 313 .... 394 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.