Like what:1, each boot need to automatically shut down the firewall/etc/ini.d/iptables stop2. Start MySQL service on each boot/etc/init.d/mysqld restart3. Start Tomcat service on each boot/app/wodsy/tomcat_node1/bin/startup.sh4, each boot to start
Examples are as follows:The third command is to replace all "Arm-none-linux-gnueabi" in the code in the current directory with "Arm-linux"Sed-i ' s/arm-none-linux-gnueabi-g++/arm-linux-g++\-o2\-i\$\ (inc\) \-i\$\ (incsys\) \-static/g ' grep arm-none-
UseWrites the file to standard output, starting at the specified point. Using the-f option of the tail command makes it easy to see the log files that are being changed, TAIL-F filename will display the most up-to-date content on the screen, and not
1. View kernel information, operating system informationThe version information of the operating system can be accomplished by the following commands, such as: Lsb_release-a;cat/etc/issueThe view kernel version can be done by the following command,
First, view the user:(1) in the terminal. Input: cat/etc/passwd, view the/etc/passwd file on the line.(2) Look at the third parameter: More than 500, is the user behind the build. Others are users of the system.View current Online usersW or
Recently, when I was watching "Unix shell scripting," I saw exec $OUTFILE and I was blindfolded. Online to see the majority of days, finally fix, record as follows.For Linux, all operations on devices and files are performed using file
See configurure field has driver words, if there is content, the graphics card driver installed.sudo lshw-c videoWarning:you should run this program as Super-user.^ci (SYSFS)[Email protected]:~$ sudo lshw-c video[sudo] password for
Handavei @ Jilin Normal University2015.1.27.Reprint please indicate the source*********************************************Uboot and Linux Flash write speed is not the same, the main reason is that the delay between the use of the minimum latency
The Linux time function is in the time.h header file.1. header fileThe time-related header files are as follows:Time.hSys/time.hSys/times.hSys/timeb.hSys/timex.hTime.h is the header file for the C standard library, and the rest of Sys starts with
1, the role of the partner system:The partner system is primarily designed for efficient use of physical memory, minimizing the generation of memory fragments2, the concept of the partner system:Memory in the system is always 22 grouped, and two
Testing can requires ip,can-utils and libsocketcan libraries.Configure can, such as rate, enable and disable can, etc. with IP tools. The IP that cannot be compiled with BuildRoot needs to be recompiled.1. Compile IP:IP Source
System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system
Use VS + VisualGDB to compile Linux RCF and visualgdbrcf
As mentioned in the RCF introduction, RCF supports cross-platform communication and its code can be compiled on the Linux platform through tools such as gcc and make.
In the official source
Detailed explanation of tcpdump parameter usage in CentOS
For programmers and developers in centos, especially network programmers, who often need to analyze data packets, tcpdump will be used. The following describes how to use tcpdump.(1) tcpdump
Install docker. io in CentOS 6.4
Docker. io is a lightweight "container engine + image repository" built on LXC (linux lightweight container) and can run any application.
The docker. io core layer consists of the following parts:
1. executable
Ubuntu14.04 use rails to connect to the mysql database
Rails comes with sqlite3 in all aspects, but the free version lacks a fatal function: Add a password! Although the third party has a compiled binary version of the encrypted version, let's not
Transfer files to the server in linux, and transfer files in linux
Scp secure file copy (ssh-based login)
1.If you want to transfer the local/home‑based file linux.tar.gz to the remote server 10.108.125.30, and save the account name of the
Debian Wheezy install Nginx + HHVM
You can use a Chinese source for installation. If not, refer to the github wiki page.Https://github.com/facebook/hhvm/wiki/Mirror
Take the Debian Wheezy installation environment as an example.
1. modify the
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