First, the environmentUbuntu 14.04A PC with serial port (number PC1, Debug machine)Another PC connects the PC1 (number PC2, the machine that initiates the debug command) via USB to serial cableSecond, serial line configuration and testingInstalling
1 ifconfig View network card IPConfiguration file /etc/sysconfig/network-scripts/ifcfg-eth0Restart the NIC service Network RestartSet up multiple IPs for a network cardCd/etc/sysconfig/network-scriptsCP Ifcfg-eht0 Ifcfg-eth0\:1Editor Ifcfg-eth0\:1
GCC is the most commonly used under Linux C compiler, corresponding to the CPP has the corresponding g++ tool, Debug has GDB, but it will not be used.Personally feel that GCC is really a good thing, can be programmed directly under the gedit and
Linux NTPServer(time server)Date–s 22:12:30 # Set timeleap seconds 7 months 1 days : minutes at this time, to turn off the NTP service1.1.Software InstallationRequired software: installed by defaultYum Install
#运行级别就是操作系统运行的功能级别.By default, the system we installed is level 3, viewing the current runlevel using command runlevel. The 1th column is the last running state, the 2nd column is current, and N is none.[[Email protected]~]# runlevelN 3There are 7
# # # #不废话, go directly to the theme ####Because the domestic mainstream is still the Redhat series of operating systems, so only for such systems for the software package tool descriptionThe common software contractor of Redhat system hasYum: Try
SeqUsage: seq [options] ... TailOr: seq [options] ... First Count MantissaOr: seq [options] ... First number increment MantissaPrints the number to the mantissa starting with the specified increment from the first number.Used to generate all
When you enter an instruction to the computer, Bash sends the instruction to the core kernel, and the core calls the relevant program to start the hardware.If you let the user operate the operating system directly, it may cause a crash of the system,
1. Configure the local Yum source functionThere are two ways to install software under Linux:one is the rpm command, and the other is Yum online installation.because the rpm command installs and uninstalls the software, there are many dependencies
A friend wants to check the server's network card traffic for the day, but no cacti is installed. So I recommend him to use Ifconfig to view the network card traffic, and then look at the system running time, except for reference. He actually asked
File Lookup:Locate: Non-real-time lookup, fuzzy matching, search according to the whole system file database, fastUpdateDB: Manually generating a file databaseFind: Real-time, accurate, support for many search criteria, traverse all files in the
# View the number of files in the current directory (not including files in subdirectories)ls -l| grep " ^- " WC -L# View the number of files in the current directory (including files in subdirectories) Note: R, which represents subdirectoriesls -lr|
The previous article we wrote, how to edit the file, we sometimes, in the editing time, there may be abnormal exit, so that,Linux will generate a SWP file for this file, and you will be prompted with an error the next time you enter VI modeThis way,
Window Installation:Pscp.exe (placed in the C:\Windows\System32 directory)Linux Installation:1: Update Apt-get first[Email protected]:/home/ubuntu# sudo apt-get updateIf you have an error, you need to modify vi/etc/apt/sources.list Deb
RHEL6 and RHEL7 restore the root user password, rhel6rhel7root
1. RHEL6 restore the root password
Restart the system. The following page appears. Press the up or down key to stop the system and enter the e key.
Select the red box option and
Build SVN server and svnSystem Environment: CentOS 6.6
First, check whether svn is installed on the server.# Rpm-qa subversion
If not, run this command# Yum list subversion // view the svn package name
# Yum install-y subversion. x86_64 //
Linux (6) _ process and task control, and linux Process Task Control
1. Programs, processes, and threads
1. A program is a common file, a collection of commands and data, a static entity, and code stored on peripherals after being written by a
Environment variable configuration file in CentOS, centos environment variable
CentOS environment variable configuration file system is a hierarchical system, which is similar to other multi-user application system configuration files, including
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