The first step: first install the Linux system on the VM, here does not introduce how to install Linux system, will not go to Baidu. But here's a reminder of how the virtual machine and the native are going to transfer data, and I'm using the
I. COMMAND basic format Linux starter [[email protected] ~]#:root represents the current login, Locahost represents the current user's host, ~ represents the current directory (home directory), #: Super User prompt, The normal user prompt is the
The following Linux system resources view commands, more commonly used for Vmstat and lsof
Vmstat [Refresh delay Refresh Count]
1[Email protected]606: ~$ Vmstat1 52procs-----------Memory-------------Swap-------io-----system--------CPU--
in order to reduce the complexity of Linux driver development caused by device diversity, as well as device hot-swap processing, power management, etc., the Linux kernel presents the concept of a device model (also known as driver Model). The device
Briefly:PPTP: Point-to-Point Tunneling Protocol ( pptp: Point-to-Point tunneling Protocol) through this agreement, Remote userThe ability to pass Microsoft Windows NTWorkstationWindows 95 and Windows 98 operating systems, and other
Write a blog record of their own in the development of the point drops, to their own learning technology, combing the difficulties still have a great helpThe first time to write a blog, or from a simple startInternship to write a download image of
I. Installation of APR
wget http://mirror.bit.edu.cn/apache//apr/apr-1.5.2.tar.gz
TAR-ZXVF apr-1.5.2.tar.gz
CD apr-1.5.2
./configure--PREFIX=/USR/LOCAL/APR
Make && make install
Create user under Linux (a)Linux System is a multi-user multi-tasking time-sharing system, any user who wants to use system resources must first request an account from the system administrator and then enter the system as this account. On the one
Today the discovery server on the Tomcat 8080 port does not come, the old prompt port has been occupied.Use the command:Ps-aux | grep TomcatA tomcat process with no 8080 ports found.Use command: NETSTAT–APNView all process and port usage. Discover
In a Linux environment, you can view recently typed commands with the arrow keys up and down. But this method can only be viewed one by one, in fact the system provides a way to view all the historical commands. In the terminal, enter the following
1. Server Modified IP vim/etc/sysconfig/network-scripts/ifcfg-eth12. Modify the DNS server vim/etc/resolv.conf3. Turn off SELinux vim/etc/selinux/config4. Modify Host name iz118z08 Vim/etc/sysconfig/network5. Disable Control-alt-delete
mkdir Creating a FolderTouch Create FileFiles and folders under Windows are case insensitiveFiles are strictly case- sensitive under Linux. Represents the current directory.. Indicates a parent directory. The file that starts with indicates that
First, Ptree: View the file directory hierarchySecond, pgrep process name: can view process IDThird, Chkconfig--list: Check the service open status; Chkconfig--list |grep process Name: view the specified process;Chkconfig--level 2345 sshd on/OFF:
CFLAGS represents an option for the C compiler.Cxxflags represents options for the C + + compiler.These two variables actually cover the two steps of compiling and assembling.cflags/cppflags: Specifies the path to the header file (. h file), such as:
Two methods of passing parametersA condition in which a thread function has only one parameter: directly define a variable to pass through the application to the thread function. Example #include #include using namespace Std; pthread_t thread;
Front startJava-jar Xxx.jarBackground bootJava-jar Xxx.jar &Difference: The foreground starts CTRL + C will close the program, background boot CTRL + C will not close the programSet standard output for the consoleJava-jar Xxx.jar > Catalina. out 2>
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