Modify server time

Modify the server time by connecting to the VPS through SSH. check whether the time zone information is saved in the/usr/share/lib/timezone directory or the/usr/local/timezone directory, the first sentence of the command is to link the time zone

Linux (centos6) to adjust the size of the mounted partition

In linux (centos6), you can adjust the size of the Mount partition and install centos6. we recommend that you use auto-recommended partitions. in this case, the/home partition is too large. Target:/home is 20 GB, and the remaining value is added to

Unix condition judgment test

Test readNAMEif [& quot; $ NAME & quot; dgjianke & quot;]; thenecho & quot; hello & quot; elifecho & quot; sb & quot; fi # The content in the brackets above the end must be separated by a space. Otherwise, the content in the brackets and their

Open a specified port in linux

Open a specified port in linux # Disable firewall/etc/init. d/iptablesstopserviceiptablesstop # Stop Service # View firewall information/etc/init. d/iptablesstatus # Open Port: 8080/sbin/iptables-IINPUT-ptcp -- dport8080 .. open a specified port in

Squid3 configuration points

First, apt-getupdate is required, and then apt-getinstallsquid is installed to configure and enable vi/usr/local/squid/etc/squid. conf3.1 change listener Port http_port90903.2 change access control http_accessallow... to configure squid3, you must

CGAL configuration in Linux

gmp

In Linux, configure CGAL 1. first install Boost, download the latest boost, and decompress it to a directory. first compile and generate the boost installation tool bjam to go to the boost directory for execution :. /bootstrap. sh and then execute

Nginx log cutting generation

Nginx log cutting Generation 1. nginx log cutting # crontab-e5923 ***/usr/local/sbin/logcron. sh/dev/null2 & gt; & amp; 1 [root @ count ~] # Cat/usr/local/sbin/logcron. sh1 .#! /Bin/bash2.log Nginx log cut Generation 1. nginx log cutting # crontab-e5

Debianexim4 configuration problems

In debianexim4 configuration problems, the exim4 in Debian is configured to be in internet mode and can be sent to the internet, but cannot be sent to the mail server in the LAN. The/var/log/exim4/mainlog prompt: ** xxx@nlpr.ia.ac.cn:

View the Accessed program based on the nestat Port

View the Accessed program [@ zw-76-82 ~] based on the nestat Port # Lsof-itcp: 33982commandpiduserfdtypedevicesizenodenamejava9587fetch400u0000478814348tcp220. 181.61.221... view the Accessed program based on the nestat port [@ zw-76-82 ~] # Lsof-I

Ubuntu12.04vimgedit Chinese garbled solution

Ubuntu12.04vimgedit Chinese garbled characters to solve the problem of adding Chinese character encoding: $ sudovim/var/lib/locales/supported. d/local # add the following Chinese character set zh_CN.GBKGBKzh_CN.GB2312GB2312zh_CN.GB18030GB18030 to

Configure the SMTP server for sendmail

The SMTP server configured in sendmail is restricted by the company's intranet firewall. when GitLab sends an email to Gmail or another Internet mailbox via SendMail, the following error occurs: [plain] Jul1406: 48: 14gitlabsm-mta [12379]: r6C7HnCZ02

How to send mail via command line in linux

In linux, the command line mail method 1. the simplest method is: mail-stext ** @ mail.ustc.edu.cn. the result of this command is to send an empty message titled text to the mailbox, however, this type of mail is often treated as spam, so if you do

Linuxsvn switch user

Linuxsvn switch User 1. temporarily switch under all commands to force the -- username and -- password options. For example: svnup -- usernamezhangsan -- password1234562. permanent switch to delete directory ~ All files under/. subversion/auth. Cd ~

Summary of common Linux commands-vi editor

Summary of common Linux Commands & mdash; vi editor vi is a powerful editor on the linux command line interface. Three command modes of Vi: you can use vi commands to manage files, such as moving optical objects, deleting and moving characters and

Shell execution process in Linux

Shell execution process in Linux 1. printtheinfoofreminding prints the prompt information. 2. waitinguserforinput (wait) waiting for user input 3. acceptthecommand accepts the Command 4. interpretthec... shell execution process in Linux 1. printthe

Get the ubuntu root password and say goodbye to sudo

Get the ubuntu root password and say goodbye to sudo. a friend who just started using ubuntu may know a privilege escalation command. if you have been in touch with other Linux systems, you will know that linux has the highest permission root.

[Ubuntu] The disk prepared for/×××× is not ready or does not exist

[Ubuntu] is/& amp; times; the prepared disk is not ready or does not exist. this is because the partition (disk) UUID is changed due to formatting or re-partitioning of the original disk partition. For example, the disk for/windows/C is not ready or.

RedHatLinux firewall configuration under the command line

In RedHatLinux, configure a firewall under the firewall configuration graphical interface under the command line as follows: (enable Https, SSH, and HTTP ports) under the command line, modify the File:/etc/sysconfig/iptables and add the following

Centos6.4 update the 163 source

Centos6.4 update 163 source 1. back up the current source file mv/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Base.repo.bak2. download 163 source cd/etc/yum. repos. d/wgethttp: // mirrors.163.com /. centos 6.4 Update 163 source 1.

Enabling the route forwarding function in Linux

The Linux kernel configuration for enabling the Linux route forwarding function contains the routing function by default, but this function is not enabled by the default system. To enable Linux routing, you can adjust the network parameters of the

Total Pages: 2732 1 .... 2180 2181 2182 2183 2184 .... 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.