1. Set the file as a shared folder2. Determine your Windows IP address, username and passwordThe 3.CentOS terminal enters the following content:[root@*** mnt]# mkdir Wind[root@*** mnt]# mount-t cifs//192.168.61.77/newscrawl/mnt/wind-o
Boot system, press the ESC key on the keyboard before entering the system, enter the following interface
Press the e key on the keyboard and the following interface appears
Use the arrow keys on the keyboard to move the cursor to the second
Two days of subversion!!!! Ah, go crazy ~ I use the same version:
Subversion-1.7.2.tar.gzSubversion-deps-1.6.1.tar.gz
Before these two versions of the files, I succeeded in compiling the installation under Ubuntu12.04 AMD64. However, here, Apr,
System version: CentOS 6.4Git version: 1.7.1, installed directly using Yum.
When you use Git status to view, if the filename is in Chinese, then the garbled (literally escaped character) is displayed, as shown in the following figure:
Chinese
Operating system CentOS 6.3 Normal, one day log in to the normal user prompts as follows:-bash:fork:resource temporarily unavailableChecked online, because the Linux system's file restrictions cause the root user login does not have such a hint.Then
And the message appears
Nov 20:34:12 St kernel:e1000e 0000:07:00.0:eth0:timesync Tx Control register not set as expected
Network card information
# ethtool-i
CentOS Firewall to open port 80
The code is as follows
Copy Code
#/sbin/iptables-i input-p TCP--dport 80-j ACCEPT#/sbin/iptables-i input-p TCP--dport 22-j ACCEPTAnd then Save:#/etc/rc.d/init.d/iptables Save
1. The default for System Services program Boot boot method
For example: MYSQLD,HTTPD, etc.
You can use the command directly
Chkconfig mysqld on so that you can start MySQL on the boot.
2. is not a system service, requires a command-initiated
The operation is as follows, login ssh:
The code is as follows
Copy Code
vi/etc/sysconfig/network-scripts/ifcfg-eth0:0
The second IP is
The code is as follows
Copy Code
You can disable hibernation by modifying the configuration of the X11,/etc/x11/xorg.conf, and remember to back up the file before modifying it to prevent the X11 desktop from being configured incorrectly.
The modification involves two places, the
Temporarily disable users in Linux
1. In the/etc/passwd file, locate the disabled user in the row, add # at the beginning of
/etc/passwd
#coderbolg: X:500:500::/home/coderbolg:/bin/bash
2. In the/etc/shadow file, locate the disabled user row,
CentOS 7.x System network card naming rules are redefined, may be "eno167777xx", and so on, we will change the network card name to eth0 this.
First, cd/etc/sysconfig/network-scripts/ #进入网卡配置目录
MV eno16777736 Ifcfg-eth0 #修改名称
From the Linux system version CentOS 6.x to CentOS 7.x changes overall is not large, but there are many places need our attention, most intuitive when the service Management command, before CentOS 7.x system we use service and chkconfig to manage
# Python-VPython 2.6.61. Download the Python-2.7.3 # Wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz22. Extract # Tar-jxvf Python-2.7.3.tar.bz23. Change the working directory# Cd Python-2.7.34. Installation#./Configure# Make all# Make
We now have two servers, one with an intranet IP address and the other with an intranet IP address. To access an intranet server, you need to map the intranet port to the Internet.Server 1:Internet IP address 10.0.0.1Intranet IP address
Dockerfile contains all commands required to create an image. Based on the commands in Dockerfile, we can use the Docker build command to create an image. Simplify deployment by reducing the process of creating images and containersThe basic syntax
1. Configure the firewall to enable the port required by the FTP serverCentOS 7.0 uses firewall as the firewall by default. Here, it is changed to iptables firewall.1. Disable firewall:Systemctl stop firewalld. service # stop firewallSystemctl
I. Machine preparation1. Three host names: server202 server203 server204In addition, server201 is used to build the repos of the local yum and does not participate in the cluster.2. Configure server202 ssh password-free login to other machines
After countless attempts over the past six months, we have tested many methods for installing the software on the internet. The following is a record of successful methods.One-click L2TP installation packageThe one-click installation package of Zed
InstallThe rarfile is not supported in liunx. You need to install winrar in liunx as follows: The code is as follows:Copy code Wget http://www.rarsoft.com/rar/rarlinux-4.0.1.tar.gzTar-zxvf rarlinux-4.0.1.tar.gzCd
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.