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
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
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 # 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
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
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
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 [@ 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 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
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
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 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 & 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 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. 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] 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.
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
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
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