CentOS 7 Fast Set host name Directive Hostnamectl Introduction

A new HOSTNAMECTL directive is added to the CENTOS7 on the host name change, which is more convenient both in terms of output and change. Take a look at hostname help information: The code is as follows Copy Code [Root@361

How to query CentOS version is 32-bit or 64-bit

Check to see if the system is 64-bit or 32-bit: The code is as follows Copy Code 1, getconf long_bit or getconf word_bit[Root@localhost ~]# getconf Long_bit64 List all version information, The code

Set the default language for the CentOS server system

Use your favorite editor, such as VI, to open the/etc/sysconfig/i18n file # vi/etc/sysconfig/i18nLang= "en_US. UTF-8 "Sysfont= "Latarcyrheb-sun16" Another way is to change the environment variable Lang#export lang= "en_US. UTF-8 "But such a reboot

A tutorial on setting up and releasing memory in the CentOS swap section

Method One: First, view the current system partition situation: >free-m Create a file for the swap partition: >dd If=/dev/zero of=/whatever/swap bs=block_size (10M) count=number_of_block (3000) Third, set up swap partition files:

CentOS how to make the RPM package? The method of making RPM package under CentOS

Talking about RPM to many compiled and installed friends, RPM installation is a fool to install. Oh, in fact, RPM is a very effective centralized deployment of the solution. YUM+RPM is a very fast and convenient large-scale deployment scenario.

CentOS System make install installer package case

Ready to write a C file 1, ws.h "header file, declare function name, not implemented"2, wso.c "contains function body, implement function, need to compile into dynamic link library"3, ws.h "main program execution document" New Makefile File Toucu

Modify the encoding method of MySQL5.6 in CentOS 7 to solve the Chinese display question mark of the website.

Solution:In CentOS 7, modify MySQL database character encoding to UTF-8, which contains all the characters needed by all countries in the world, is an international code.Specific operations:1. Log on to the MySQL console.Mysql-u root-pEnter

Tutorial on configuring Nginx Reverse proxy server load balancer in centos

Preparation:Proxy-Server: 1.1.1.22 (Server load balancer)Nginx-Server23: 1.1.1.23 (web23)Nginx-Server24: 1.1.1.24 (web24)Environment version:Linux Nginx-Proxy 2.6.32-358. el6.x86 _ 64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64

How to deploy Shadowsocks Server on CentOS 6

Background:Compared with VPN, it is much easier to build a Shadowsocks service and use it through browser proxy.Similar to SSH Tunnel, the Shadowsocks server establishes an encrypted Tunnel with its dedicated Shadowsocks client. Then, the

Installing GBK encoding program webpage garbled in Apache environment in CentOS

Solution1. Open the Apache configuration file httpd. conf, for example,/etc/httpd/conf/httpd. conf by default.# Vi/etc/httpd/conf/httpd. conf2. Find the adddefacharcharset configuration item.Adddefacharcharset UTF-83. Modify the adddefacharcharset

How to uninstall built-in OpenJDK in CentOS

Check whether JDK is installed in Linux.The installed CentOS comes with OpenJdk and uses the java-version command. The following information is displayed:Java version "1.6.0 & Prime;OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-Bit Server

Detailed description of Apache virtual host configuration in CentOS

NameVirtualHost *: 80Note 1: NameVirtualHost specifies the IP address or domain name used by the VM, but preferably the IP address. When using a domain name-based VM, NameVirtualHost is a required command. Multiple NameVirtualHost can be

How to install Git 2.0.4 in CentOS

Step 1: install the required packageFirst, make sure that the required packages are installed on your system. Run the following command to install the required package before compiling the Git source code!# Yum install curl-devel expat-devel gettext-

Centos Lvs server load balancer configuration

In this experiment, we used three virtual servers (centos5.5) under Vmware, one as the load scheduler (Lvs-server) and two real web servers (web1 and web2 ).I. Lvs-nat experiment:Configure the IP address:1. Configure the Nic connected to the virtual

CentOS 7 system installation wordpress No Permission problem solution

If your wordpress installation directory is wordpress, the default wizard configuration will show insufficient permissions:Sorry, but I can't write the wp-config.php file.You can create the wp-config.php manually and paste the following text into it.

Detailed steps for building the shadowsocks-libev server under CentOS

1. Install necessary componentsRun the yum install build-essential autoconf libtool openssl-devel gcc-y command on centos.2. Install gitRun yum install git-y on centos.If it appears after executionLoaded plugins: fastestmirrorLoading mirror speeds

Find commands in centos

In linux, finding files that have changed at a specific time and files that have time-related relationships with a given file is particularly important for troubleshooting. The find command is used to do this, find the files that have been modified

How to remotely reinstall the CentOS system over ssh

VPS servers in foreign countries generally have control panels, and many types of systems can be installed on their own. However, some IDCs in China are relatively pitted, not only are there no panels, there is also a bunch of useless software in

CentOS Web Panel installation and configuration tutorial

Compared with virtual hosts, VPS has a unique advantage. However, for users without any Linux experience, it is not easy to configure a complete WEB environment. There are also many WEB environment scripts and methods installed with one click on the

Total Pages: 394 1 .... 174 175 176 177 178 .... 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.