Modify hostname, ip, netmask, gateway, and dns in centos

Modify the hostname, ip, netmask, gateway, dns1, and hostname configuration file in centos:/etc/sysconfig/networkHOSTNAMEtank # Modify the host name NETWORKINGyes2 and the ip/netmask/gateway configuration file: /etc/sysconfig/networ Modify the

How to set the time zone for ubuntu and synchronize time on the Internet

By default, Linux uses the UTC format as the standard time format. if you run a program in Linux and specify a different time zone in the program, a time error may occur. For Ubuntu desktop, you can directly modify the time zone information in

Backup and Recovery of iptables rules in Ubuntu

Backup and Recovery of iptables rules in Ubuntu requires that iptables rules be automatically loaded when the Ubuntu Server is restarted. the method is as follows: First save iptables rules to a file # sudoiptables-save & gt; /etc/iptables. up.

Modify the buffersize of the NIC in linux

Find some articles online, because the Nic buffersize is too small (Thisisacountofpacketsthathavebeendroppedbythekernel, eitherduetoafirewallconfigurationorduetoalackofnetw... Find some articles online, because the Nic buffer size is too small (This

Paste shortcuts under vim and gvim

By default, vim does not support Clipboard. only gvim supports clipboard. Therefore, gvim-v should be used instead of vim as the command to be input when vim is started in the terminal simulator. 1. paste the clipboard content to the normal mode of

Several common misunderstandings in Linux

There are several common misunderstandings in Linux: 1./usr is not the abbreviation of user, but of unixsoftwareresource. That is to say,/usr is the directory of unix operating system software resources. In 2tar-jxvffilename.tar.bz2, f indicates

Delete objects before a specified date in linux

To delete the backup file in the system, run the following command: # find/tmp-mtime + 30-typef-name *. sh [AB]-execrm-f {}\; if files of the last 30 days are retained in a directory, files of the last 30 days are automatically deleted #

Color nginx code

By default, the nginx configuration file is opened with vim, regardless of whether it is a keyword or not, and is the same color. it is very error-prone for new users, although you can check the accuracy of the configuration file when applying the

Linuxubuntu12.04updateManager update failure solution

Linuxubuntu12.04updateManager update failure resolution failure information: Unpackingsysvutils (from.../sysvutils_2.86.ds1-14.1ubuntu45.1_i386.deb)... dpkg: errorprocessing/var/cache/apt/archive In Linux ubuntu 12.04, the update Manager fails to

Solve the problem that root users cannot log on to ftp to transfer files in centos.

1. view and start vsftpd run # ntsysv check whether vsftpd is available. If yes, select and install vsftpd if no vsftpd is available. start ftp. # servicevsftpdrestart2. configure the vsftpd user and enable the root user. # cd/etc/vsftpdwww.2cto.com

Solution to vsftp garbled characters in centos6.3

The vsftp garbled solution under centos6.3 has always been a tangle of issues. Today, we have adopted a method of saving the nation through a curve. Fuse and fuse-convmvfs are used to download fuse-2.9.1.tar.gzand fuse-convmvfs-0.2.6.tar.gz and then

Backtrack5r2r1_nome localization problem

Run apt-getinstalllanguage-selector and find the language to be selected. after the language is selected, the system waits until it is downloaded. then, I run the following command:

CentOS6.2X64 install ati driver (ThinkPadT400)

CentOS6.2X64 install ati card driver (ThinkPadT400) 1. First Visit ATI official choose to download the corresponding latest driver (http://support.amd.com/us/gpudownload/Pages/index.aspx). 2. # sudosh./amd-driver-installer-12.6-legacy-x86. CentOS 6.2

Difference between su and sudo

The difference between su and sudo is that the following error occurs when gvim (ubuntu12.04) is used today. this error has not occurred before, and gvim will be displayed in white when it is opened, and will be displayed normally after a long time.

Effective solution to ssh connection timeout (usedns option of ssh)

An effective solution to ssh connection timeout (ssh usedns option): when logging on to the server via ssh, you always have to wait for a moment before connecting, this is because the OpenSSH server has a DNS search option, UseDNS is enabled by

Linuxuseraccount & group

Linuxuseraccount & amp; grouplinux account:/etc/passwdroamer: x: 500: 500: personal:/home/roamer:/bin/bash account name: Password: UID: GID: user information description bar: home directory: shellwww.2cto.com/etc/shadowroamer:%1%v Linux user

UbuntuLinux system to enable the TELNET service

UbuntuLinux system to enable the TELNET service Method 1. sudoapt-getinstallxinetdtelnetd2. after the installation is successful, the system also prompts (as if 7.10 was available, 6.10 was not seen) sudovi/etc/inetd. conf and add the following line.

Three methods for installing software in linux

1. the most basic compilation source code, and then install. /configure [options] makewww.2cto. the commakeinstall file extension is generally: tar.gztar.bz2 2.RPM[ install software package RPM [RedhatPackageManager] redhat... 1. the most basic

Apache configuration details (best APACHE configuration tutorial)

Apache configuration is configured in the httpd. conf file. Therefore, the following configuration commands are all modified in the httpd. conf file. Configuration of the master site (basic configuration) (1) basic configuration: ServerRoot &

Linux memory allocation method

The linux memory allocation method is based on the linux driver development and application development. when you want to allocate memory, you have to deal with a lot of memory allocation functions: mallockmallocvmallocalloc_pagedma_alloc... malloc:

Total Pages: 2732 1 .... 2020 2021 2022 2023 2024 .... 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.