Problem Description:Error using git push:Error:the requested URL returned error:403 Forbidden while accessing https://github.com/Newlyfly/Hello_World.git/info/ RefsFatal:http request failedSolution: Solution Source Blog Address:
One, the Linux CPU sizeCat/proc/cpuinfo |grep "model name" && cat/proc/cpuinfo |grep "Physical ID"Description: Detailed information about each CPU can be seen in/proc/cpuinfo under Linux. But for a dual-core CPU, you will see two CPUs in the Cpuinfo.
Nothing to do, want to write something. As a share, and also as a record to facilitate future viewing.I will share all the knowledge I have learned about Linux operations.Bo master personality compared with sex, can not guarantee how long update,
Overview of PXE Fundamentals
What is PXE? PXE:pre-boot executionenvironment Pre-Boot execution Environmenttechnology developed by Intel Corporationwork in the network mode of C/sThe Client downloads the image from the server over the network
Linux Command and learning progress comprehensive collationPWD View current Location CD jump to what directory LS display all files and directories ls-l display directory details CD. Return to the previous level VI lnany.txt create a file VI.
1. Create userAddUser ' User name '2, by the root user to enter the other user's terminalSu NannanbinIt is important to note that there are some commands that can be used by root, which can cause these commands to be used when switching to a normal
1,kernal's Responsibilities
Drive the underlying hardware
Abstract the underlying hardware into resources
Manage the operation of top-level programs and allocate limited resources
Kernal does not include any upper-level
Use this command to determine which processes are running and running, whether the process is complete, if the process is dead, which processes are consuming excessive resources, and so on.USER PID%cpu%MEM VSZ RSS TTY STAT START time Commandroot1 0.
1. File Search Command Locate2. Command Search command which and Whereis3. File Search command Find4. String Search command grep5. The difference between find and grepLocate + file nameLocate search is in the background database by file name search,
SSH user name @ip address Xshell LoginUseradd User name Add userSu-user name jump to user record[Email protected] ~]#Current logged on user @ hostname current directory~ Represents the home directory of the currently logged in userMan command to
Although many of the Linux commands are the same, but the new version of CentOS 7 above and some of the previous commands are still different, but fortunately, there are hints. So on the Baidu above search for the following, as recorded, later
The power of Linux is command management.1. copy = CP copy2, dir = lsRwx=read.write. Execution3, adjust the network:Setup Enter Select the third item (network configuration) to enter (the first is to configure the network card, the second is to
When we need to locate the production environment and the logs are not clear, we can use the remote debugging provided by Tomcat, set up as follows:declare-x catalina_opts="-server-xdebug-xnoagent-djava.compiler=none-xrunjdwp:
Common Linux commands,
Common commands
Ls display file or directory
-L list file DETAILS l (list) --- ls-l
-A: List all files and directories in the current directory, including hidden a (all)
Mkdir create directory
-P: Creates a directory. If no
Linux Bash Shell string truncation, bashshell
#! /Bin/bash# No space is allowed on both sides of the equal sign when the variable is assigned a value. Otherwise, the command does not exist.# Run shell scripts in two ways#1. As the interpretation
SecureCRT or XShell software, securecrtxshell
SecureCRTIt is a terminal simulation program that supports SSH (SSH1 and SSH2). It is simply a software used to log on to UNIX or Linux server hosts in Windows.
Xshell is a powerful security terminal
Linux Command terminal prompt-bash-4.2 # solution,
Address: http://blog.csdn.net/liulihui1988/article/details/52796395
The terminal prompt displays-bash-4.2 # instead of the root @ host name + path display method.The cause is that several
Set the Tomcat virtual path in Linux.
Problem description:The image I uploaded is not stored on the Tomcat server and cannot be accessed by users.
Solution: configure the Tomcat virtual path so that users can access images
Configure Tomcat
#
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