1. Check the current version, if not, install with YumRpm-qa Subversion2. InstallationYum Install Subversion-y2. Building a libraryMkdir-p/home/svn/projectSvnadmin Create/home/svn/project3 cd/home/svn/project/conf for configuration3.1 Setting the
Lvm:logical volumn ManagerLVM, LVM2Dm:device MapperA logical tool for organizing one or more underlying block devicesLV, multipathBlock Devices:Pysical ExtentPE: Fixed sizeStorage space Boundary:Physical boundary:Logical boundaryLogical
# uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # viewOperating SystemVersion# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB devices# lsmod # List of
As a result of cloning virtual machine, found that the clone machine and the MAC address of the clone machine is the same, I will introduce the Linux network card configuration steps, I use the Linux is the CentOS release 6.9 (Final)1, Root user
1.yum Install Subversion2.mkdir-p/var/svn/svnrepos3. After executing this command, the following files are generated in the/var/svn/svnrepos directory4. Enter the Conf directoryAuthz file is a permission control filepasswd is the account password
Specify IP AddressVim/etc/sysconfig/network-script/ifcfg-eht0Modify get mode DHCP to staticBottom Onboot no change to onboot YesAdd again:
ipaddr=192.168.1.253netmask=255.255.255.0gateway=192.168.1.1dns1=119.29.29.29
2. Disable the root
1, Name: UseraddFeatures: Adding new usersExample: $useradd Yangmi2, Name: passwdFunction Description: Set User passwordExample $PASSWD Yangmi3. Name: WhoFunction Description: View logged in user informationExample: $whoThe format is: Login user
1. Mkdir:make DirectoryOptions:-m:mode Set PATH permissionsEx:mkdir-m 777 Path/filemkdir-m=r--Path/file ...-p:parent Recursive creationEx:mkdir-p Path/file1/file2-v:verbose Show each stepEx:mkdir-v Path/file2. Tree: Trees Show path information3.
Droidphone about the Linux time Subsystem topic:http://blog.csdn.net/DroidPhone/article/category/1263459One of the Linux time subsystems: Clock sourceLinux time Subsystem two: units and structures representing timeLinux time Subsystem Three: Time
Found a good learning language place, you can look at the side of the code to enter the test. There will be some homework problems. And some competitions, the first two games and the total learning time to reach 3,000 minutes can join a
Common Linux commands and linux commands
Self-help command: ls -- help man ls info ls
File attributes:Ls-Al: displays the file/directory owner in the current directory, the group to which the file belongs, the write/read execution permission file of
Network Interface Configuration-Bonding, network interface-bonding
Bonding
It means that you can bind the network card to the same IP address for external services to achieve high availability or load balancing. Of course, it is impossible to
Nic settings for Linux systems and nic settings for linux systems
After cloning a virtual machine, it is found that the MAC address of the clone machine is the same as that of the cloned machine. Next I will introduce how to configure the NIC in
Configure static IP addresses on the Internet and linux on the Internet in linux
1. View Networks
# Ifconfig
The network is not configured, and ping fails.
2. Modify the NIC configuration file
# Vim/etc/sysconfig/network-scripts/ifcfg-eth0
Chinese characters of SecureCRT are garbled and Chinese characters of securecrt are garbled.
1. modify the configuration of remote linux machines
[Root @ zender ~] # Vim/etc/sysconfig/i18n
Change LANG to a character set that supports UTF-8
For
VMWare installs Centos 6.9 and vmwarecentos
1. Create a VM
(1) Click file --> Create VM
(2) select Custom (advanced) --> next
(3) Select Workstation 12.0 --> next
(4) choose to install the operating system later --> next
(5) Select Linux à
Sed usage, sedSed usage 1, replace the symbol:
sed -e 's#/#-#g' -e's#:#-#g' passwd2. Use the sed file to enter the command:
vim 123.seds#:#/#gs#/#-#g
sed -f 123.sed passwd3. Print:
sed -n 2p passwd4. Replace the nth match:
sed 's/in/AAAAA/2'
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