Linux practical notes: adjust the linux system time and time zone 1. modify the time zone: # cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime when copying, a message indicating whether to overwrite the data is displayed. Click yes to change to
Apache installation mod_dir.so: undefinedsymbol handles apache installation dependency on APRandAPR-Util, which may cause an error because apr cannot be found. Tar-zxvfapr-1.4.6.tar.gzcdapr-1.4.6./configure -- prefix/usr/localmake & amp;
Many computer enthusiasts imitate the DIR environment scripts from Unix or Linux operating systems. However, many people start from other systems and use different commands and different types of interactions. For example, it is very likely that
In linux, tar command instance tar packaging is a very important command for server O & M, because many data backups need to be packaged first and then transmitted in scp or rsync, here we will introduce the basic commands of tar to help you review
RedHatEnterpriseLinux5DHCP service configuration 1. check the installation package in the system. by default, the software package required for the DHCP server is not installed: rpm-qa | grepdhcp * // check whether the DHCP server software package
Installing and using CVSCVS in Linux is the abbreviation of ConcurrentVersionSystem (parallel version system) for version management. if everyone has participated in many collaborative development projects, everyone is sure to have such sad
Usage of linuxexpeexpect I. Overview we can use Shell to implement simple control flow functions, such as loops and judgments. However, manual intervention is required for scenarios requiring interaction. sometimes we may need to implement
The series used by VIM: the quick fix function is an important loop in the process of program development: edit-compile-edit. the quickfix function in vim is used to improve the efficiency of this loop. The quickfix function saves errors generated
Linux file-related operation file operation to enter the directory cd directory name example: cd/home to hommcm without parameters, to the previous directory cd-cut to the previous Open Directory cd .. view the directory or file ls [-ALM] [Directory/
To solve the problem of installing scp command and error in CentOS, you need to transfer files between two virtual machines in the test. The first thought is the scp command. The result is:-bash: scp: commandnotfound is automatically installed using
Linux dynamic library usage summary 1. the basic concept of static library and dynamic library static library is that it has been added to the execution code when the executable program is connected, physically becoming part of the execution program;
Set up your own PPTPVpnapt-getupdateapt-getinstall-ypptpd edit/etc/pptpd on VPS. conf, add: localip192.168.92.1remoteip192.168.92.11-16localip is the address of the vpn server remoteip is the vpn customer... set up your own PPTP Vpn apt-get update
Procedures related to Linux kernel configuration and compilation 1. clear temporary files, intermediate files, and configuration files. makeclean does not delete configuration files. Makemrpropermakedistclean: delete the edited backup file and patch
In linux, the for loop structure of the for/do/doneShell script is very different from that of the C language. it is similar to the foreach loop of some programming languages. Example :#! /Bin/shforFRUITinapplebananapear; doecho & quot; Ilike $
It is very important for Linux system administrators and O & M personnel to learn Shell scripts. I recently read the Shell script. in order to systematically learn the Shell script, I read the third edition of "laruence's Linux basic learning for
Modify the ubuntu cache and use it in ubuntu. The value of swappiness is closely related to how to use swap partitions. Swappiness0 indicates maximum use of physical memory, and then swap space. swappiness = 100 indicates active use of swa... modify
How Can I disable guest from logging on to the system? The operation is as follows: sudogedit/etc/lightdm. conf add a line in the Open File: allow-guestfalse and save and exit. Log out of the system. when you log on again, you can find that you
Log on to Linux as a root user and log on to Linux as a normal user. to enable root for the first time, perform the following operations: XX :~ $ Sudopasswdroot [sudo] passwordforXX: enter the password for confirmation: enter the password to prompt
When you log on to a linux machine using the linux personalized settings. bashrc file, you need to customize the settings, such as the command alias and path. You can edit the. bashrc file in the personal directory. Step: 1. edit. bashrc file (such
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