To learn Linux commands, we need to understand how the Linux system works, here we first understand how Linux on a computer to start loading!!Linux system Boot ProcessThe first step, BIOS initialization1. The BIOS detects all external devices to see
1, install virtual machine (Windows comes with Hyper-V pit Daddy, installs Ubuntuok with VMware virtual machine, if you want to kill Hyper-V)2, FileZilla connection Ubuntu not connected (the longest time)2.1. Switch to root user login (sudo passwd
Let's start with a simple understanding of what is libc.so.6. 650) this.width=650; "src=" Http://img.baidu.com/hi/babycat/C_0006.gif "alt=" c_0006.gif "/>Libc.so.6 is a soft link to glibcLl/lib64/libc.so.6lrwxrwxrwx 1 root root
To find convenience, move forward from all the way.I. arm-linux-objdump commonly used to display binary file information, commonly used to view disassembly codeTwo. Common options:1.-b Bfdname specifying the destination code format2.-disassemble
Tag: The file command uses1 . Windows distinguish different files with different extensions, for example: . exe. PNG wait2. There are no explicit requirements for extensions under Linux Sometimes you will encounter a variety of pits, when we do
Tar commands I most often use to extract. tar.gz filesTAR-ZXVF Compressed FilesUnzip the compressed file to the current directory[Email protected]:~/eth10# lsbaidu.com baidu.html eth10 index.html[email protected]:~/eth10# tar-zxf/root/tmp/httpd -2.4.
~]# ifdown eth0 ~]# ifup eth0 ~]# Service Network stop ~]# Service Network Start ~~]# Service network status #查看网卡状态When the network restart problem, the following:Network.service-lsb:bring up/Down networking loaded:loaded
The log output of Tomcat on Linux is in Catalina.out, and as time goes by, the resulting log files will become bigger and larger, mainly in the debugging of some of the information printed in space, such as System.out and log and so on. Tomcat's
And then, in the last section, we talked about soft interrupts and tasklet, so this is the work queue.The work queue is not the same as the other forms discussed earlier, it can push the work back to a kernel thread to execute----The work is always
See all NIC IP addresses--ip addrStart firewall--systemctl start Firewalld.serviceStop firewall--systemctl Stop Firewalld.serviceView FIREWALLD firewall status--firewall-cmd--stateDisable firewall boot--systemctl disable Firewalld.serviceLists the
First, view CPU information Lscpucat/proc/cpuinfo Two, view CPU number getconf Long_bit Three, view mem information freefree-mcat/proc/meminfosvmon-g Four, View System kernel version uname-auname-rmore/etc/*releasemore/etc/issuemore/proc/version
For example: A file is a go file named Hello.go.1, run a program in the background, output the results to a file,If you are running the GO program directly: Go Run hello.goRun in the background: Nohup go run hello.go & then output the results to
Linux-Centos7 installed with python3 and coexist with python2, python3python2
1. Check whether Python has been installed.
CentOS 7.2 is installed with python2.7.5 by default because some commands use it, such as yum, which uses python2.7.5.
Run the
Nginx Load BalancingUpstream mysvr {
Server 192.168.10.121: 3333; server 192.168.10.122: 3333;} server {... location ~ * ^. + $ {Proxy_pass http: // mysvr; # redirect requests to the server list defined by mysvr}
Upstream mysvr {
Server http: // 1
Common linux commands
Common commands:1. view the Directory: lsLs-a contains Hidden DirectoriesLs-l displays detailed information.-starts with file d and starts with directoryBlue is the DirectoryGreen: Executable FileBlack (white): normal file2.
Linux File Management commands and linux commands
Directory management:
Ls cd pwd mkdir rmdir tree
File Management:
Touch stat file rm cp mv nano
Date and Time:
Date clock hwclock cal
View text:
Cat tac more less head tail
Cat: connect and display
Solve the problem of slow startup of Linux Server tomact-8.0, linuxtomact-8.0
Environment Information:
CentOS release 6.8
Tomcat-8.0
JDK1.8
1. Start tomcat
# Sh/root/tomcat-8.0/bin/startup. sh
# Tailf/root/tomcat-8.0/logs/catalina. out
26-Aug-2017 12
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