Some practical notes for Linux

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

Install mod_dir.so in Apache: undefinedsymbol

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;

Simulate the DIR environment script

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

Tar command instance in linux

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

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

Install and use CVS in Linux

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 linuxexpect

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

VIM series: quickfix

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 operations

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/

Install scp commands and troubleshoot CentOS errors

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

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;

Scan VNC scripts

Scan VNC script 01 #! /Usr/bin/perl0203useIO: Socket; 0405if ($ ARGV [0]) 06 {07 open (IN, & quot; & lt; $ ARGV [0] & quot ;) | die & quot; [-] Can & amp; #39; topen $ ARGV [0]! \ N & quot; @ ips & lt; IN & gt; scan VNC script 01 #! /Usr/bin/perl02 0

Build your own PPTPVpn on VPS

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

Linux kernel configuration and compilation process

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

Linux FAQ 2

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 $

Shell script preliminary learning

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 ubuntu cache usage

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

Disable guest logon

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

Enter the root user under a common user

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

Linux personalized settings. bashrc file

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

Total Pages: 2732 1 .... 1864 1865 1866 1867 1868 .... 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.