Linux system needs regular inspection to check server hardware and software usage, the equivalent of physical examination, to ensure timely detection of problems, solve problems, reduce losses, commonly used patrol command as follows: # uname-a #
"Disclaimer: Copyright, welcome reprint, please do not use for commercial purposes. Contact mailbox: feixiaoxing @163.com "In the beginning of the graduate students, they see kernel time is not short. Although the code read a lot, the principle of
_ATTRIBUTE__ (Error ("message" ))
Declare that calling the marked function was an error.
__ATTRIBUTE__ ((Warning ("message" )))
Declare that calling the marked function is suspect and should emit a warning.
Function Description:Toggles the current directory to the target directory.Command format:CD Directory NameCommand parameters:Command case:Case 1, using the CD command to enter the current user home directory[Email protected] test]#
Today encountered in the virtual machine Linux is unable to access the Internet problem, reason: Before the VM9, uninstall did not manually clean up some residual files, 10, resulting in missing files, Nat service can not start.To find the problem
Debugging for Linux under multi-process:(1)Follow-fork-modeSet Follow-fork-mode [parent | child] ———— Fork to select whether to debug a parent process or a subprocess(Parent:fork continues after the parent process is debugged; Child:fork after the
"Bird Brother's Linux private cuisine" Basic study P382 said that in bash "=" and "= =" are the same, all mean to judge whether the equality, but because other languages generally written using "= =", it is recommended to use the latter. but in the
1. Compress the MyData directory below the/home directory to Mydata.zipZip-r Mydata.zip MyData #压缩mydata目录2. Unzip the mydata.zip under the/home directory into the Mydatabak directoryUnzip mydata.zip-d Mydatabak3, the home/home directory below the
View interface Information Ifconfig (-a All/eth0 view specific NIC)Lo interface: Loopback interface, operating system comes withTurn off the appropriate NIC interface Ifup Ifdown (ifup eth0)Setup command configuration (command line-based text
Google-related website SSL error resolution when GoAgent accesses Youtube in Ubuntu
Introduction: In Ubuntu, access to Youtube always reports that the certificate cannot be identified. Because it is based on the SSL protocol, it is unable to access
Linux shutdown, reboot, halt, init)
Command Overview
Shutdown, poweroff, reboot, halt, and init can all be shut down for general usage.
/Sbin/halt [-n] [-w] [-d] [-f] [-I] [-p] [-h]/Sbin/reboot [-n] [-w] [-d] [-f] [-I]/Sbin/poweroff [-n] [-w] [-d] [-
[Docker] learning notes -- building gitlab and dockergitlab
Gitlab is an open-source project used for warehouse management systems. A web service built on Git as a code management tool.
Detailed introduction can refer to the official website, https:/
How to mount iscsi targets on centos
Few users set authentication passwords on iscsi targets. This is not safe.
You can talk about the mounting process here:
First, you need to download the Mount utility:
Yum search iscsi:
Iscsi-initiator-utils
[Linux & amp; Unix -- exec and fock System Call]
If you have any shortcomings, please kindly advise. Reprinted Please note: @ CSU-Max
Series of blog posts:
Linux and Unix -- file descriptors and permissions
The second bullet in Linux and Unix
[Image and text] w3m in Linux
Adobe Flash plug-ins have poor performance in Linux, which directly leads to a similar large portal such as Sina, And the CPU is close to 100% loose. I had no habit of reading portals in the past few days. I wanted
CentOS network startup Error
I am using a CentOS virtual machine. In that environment, there is a dhcp service. It was used well, but the following error suddenly occurred:
Error: determining IP information for eth0... failed; no link present. Check
Some suggestions for Linux beginners
1. Do not "Play with linux"
Many people may feel confused when using Linux. which release should I use? Is it because I have not installed anything? How can I upgrade it so quickly! Why is it so unstable!
View TCP connection statuses on the CentOS Server
Netstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S) print a, S [a]}'TIME_WAIT 8947FIN_WAIT1 15FIN_WAIT2 1ESTABLISHED 55SYN_RECV 21CLOSING 2LAST_ACK 4TCP connection status
LISTEN: listens for
Retrieve Centos root User Permissions
The last time I encountered this problem, my friend encountered this problem again today, I recorded it by the way:The last time we encountered a problem on our server, the linux root User was lost. At that
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