My Apache installation directory in/usr/local/apache there are 2 ways to set up boot
Method One: Cp/usr/local/apache/bin/apachectl/etc/init.d/httpd vi/etc/init.d/httpd
Add the following two lines behind the #!/bin/sh
#chkconfig: 345 85 15
> Ls-alt # by modified time > LS--sort=time-la # equivalent to > Ls-alt > Ls-alc # By creation time sort > Ls-alu # by Access time # All of the above can be used- R Implement reverse order > LS-ALRT # By modified time sort > ls--SORT=TIME-LRA #
use scenes for swap
Swap has two main uses
1, when the system needs more memory space than physical memory, the kernel will use less memory inside the memory page swap out to the swap partition, to empty out the physical memory to the current
Install Oracle under LINUX System1 access to the system with root userSu-oracle when you switch to Oracle, you need to set displayExport Display= Local ip:0.0You can perform DBCA to create a database2 access to the system with Oracle usersYou do not
Used to use Windows when listening to songs are generally used Ttplayer (thousands of listening), the main is the synchronized display of lyrics, very good function.
Now do what all use Linux, wine a thousands of listening to too much resources, so
The previous article introduced the precise timing of the RDTSC directive, although the CPU's frequency is not guaranteed to be fixed, so there are limitations to this approach. In fact, Linux also has a high-precision timer, that is posix_timer. I
When we install a new kernel, we usually edit lilo.conf and grub.conf.File. There is a "initrd=/boot/initrd-***.img" (the version number of the kernel) that we rarely notice, and sometimes we find thisOne line does not boot properly. So what exactly
Brief Introduction
Sed is an online editor that handles a single line of content at a time. When processing, the currently processed rows are stored in a temporary buffer, known as pattern spaces, followed by the SED command to handle the contents
by command: kill-9 PID PID2 PID3.
Step: Step one
: Use Ps-ef | grep process name by command. Identify all the processes.
For example, enter the name "PS-EF | grep java", query results:
JAVA1 5031 9.0 2.3 104996 17484? S 13:23 0:01 java java2 5036 0.0
Though that's what the internet says,
=======================================
Log on to the command line as root
Input CRONTAB-E
Press the A key to enter edit mode
Input 0 */1 * * */home/work/start-service.sh
Press CTRL + C to exit edit mode
Recently, when doing experiments on Linux virtual machines, I found that I could not start Linux's Nic,
When I use the ifconfig command, only the following information appears:
Lo Link encap:local Loopbackinet addr:127.0.0.1 mask:255.0.0.0Inet6 addr:
Linux Device driver makefile Introduction ResolutionFor an ordinary Linux device driver module, here is a classic makefile code that uses the following makefile to
To complete most of the driver's compilation, you only need to modify the driver name
Previously opened for Nginx and MYSLQ 2 users, recently reviewed the Linux user management, found that the open WWW account and MySQL account, can be landed.
cat/etc/passwd | Grep-v Nologin
Www:x:500:500::/home/www:/sbin/bashMysql:x:501:501::/home/
1. Convert the contents of the/etc/issue file to uppercase and save to the/tmp/issue.out file2. Convert the current system login user's information to uppercase and save to the/tmp/who.out file3, a Linux user to the root email, request the message
Reference:53282936Https://www.linuxidc.com/Linux/2016-09/135548.htmPhenomenon: Run dry report in Linux in the place should not be wrapped (not to the end of a line) to change the lineCause 1:linux Font library and Windows Font Library are
environment variable My_var=hello setting environment variables (note that there can be no spaces on either side of the equal sign) echo $my _var or printenv My_var the value of the print environment variable export My_var set My_var to Global
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