1. Edit File /etc/rc.localVim/etc/rc.local#!/bin/sh## This script is executed *after* all and the other init scripts.# can put your own initialization stuff in here if you don ' t# want to does the full Sys V style init
We often find a file in Linux, but we do not know where to put it, you can use some of the following commands to search. These are the information found from the Internet, because sometimes it is not used for a long time, when the use of the time is
Website cannot access view Apache log PHP Fatal error:uncaught exception ' pdoexception ' with message ' could not find driver '(PHP 5.3.29)Website PHP code is to use the PDO module to access the MySQL database#查看php中pdo是否支持mysql Php-i | Grep-i
1. You need to install 3 files on a Linux server to:http://www.nomachine.com/download-package.php?Prod_Id=1977nxclient-3.4.0-7.i386.rpm,nxnode-3.4.0-13.i386.rpm,nxserver-3.4.0-12.i386.rpm2. Install these 3 files#rpm-IVH nxclient-3.4.0-7.i386.rpm
1. Basic ReadingThe read command receives input from the standard input (keyboard) or other file descriptor (which is said later). After the input is received, the Read command puts the data into a standard variable. Here is the Read commandIn the
The LS directive can be said to be one of the most commonly used commands under Linux. It has a lot of options, many of which are useful, can you understand? The most options for the LS directive are listed below. An example of use:1. List specific
Bash is a shell supported by major Linux distributions. When we landed bash, we didn't do anything, but we were able to invoke a variety of environment variables in bash. This is because a series of configuration files have been defined in the
background:There's been a lot of information about Docker coming out of the infoq that I've been focusing on lately, and I've inadvertently opened up a few things, and I think Docker is a fascinating technology, though I haven't fully understood
vi rm.sh#! /bin/bash # #linux删除huishou =~/.temp (($#==0)) && { echo "no paraments!"; exit 1; } if [ ! -d $huishou ]; then mkdir $huishou fi for i in $* do if test -e $i then cd $ (dirname $i)
Model one: The blocking model---process inefficient; low CPU utilizationModel two: Non-blocking model---process efficiency, but low CPU utilization;Model Three: multiplexed I/O model---increased CPU utilizationThought: The system wakes up the
1. Turn on the block_dump and enter the IO information into the DMESGEcho 1 >/proc/sys/vm/block_dumpCount the 10 processes currently occupying the highest IO:DMESG |awk-f: ' {print $} ' |sort|uniq-c|sort-rn|head-n 102. After testing, close the Block_
Quickly configure Samba to map Linux directories to Windows drives for cross-platform programming large | Medium | Small [2011-4-8 08:53 | by Zhang Banquet] [Article Zhang Banquet this version: v1.0 last modified: 2011.04.08 reproduced Please
Tutorials on installing on CentOS/Usr/share/fonts/simsun. ttcMkfontdirMkfontscaleFc-cache-fv# List all installed Chinese fonts. If you have not installed any Chinese fonts, refer to the article above.Fc-list: lang = zh#, SimSun: style = Regular#
Disable online login users through CentOS
When using your computer, you can find other users logging on to your computer. If other users use their own names, they can be queried through who. However, if all users log on to the system as root users,
Go language static Server
Learning the Go language is not necessarily accurate. In case of war, JAVA generally acts as an aircraft carrier battle group.Once dispatched, it will be frigates, cruisers, aircraft carriers, early warning aircraft,
Nginx User Guide
1. Run nginx
You can run the nginx command to enable nginx:
Nginx
If nginx is enabled, run the nginx command and add the-s parameter to control nginx running.
nginx -s signal
Signal Value:
stop-Close quickly
quit-Elegant Shutdown
Linux on a 4 KB Disk: practical recommendations
Make sure that Linux is started on all cylinders
The advanced formatting disk uses a 4,096-byte sector instead of a more common 512-byte sector. In order to make the operating system run normally,
Master and Backup role election policies in Keepalived
In a Keepalived cluster, there are no MASTER and slave nodes strictly. Although you can set the "state" option to "MASTER" in the Keepalived configuration file, however, this does not mean that
Cepora 19 use ceph-deploy to deploy Ceph notes
Recently, ceph 0.81 was deployed with a set of virtual machines of Fedora 19. Since ceph has a simplified Deployment Tool ceph-deploy, it seems that deployment is quite simple, theoretically, the
Modify virtual local address in Hadoop Linux
Hadoop runs in Linux, but when we remotely access Hadoop HDFS in Eclipse in Windows, if the two sub-addresses are not in the same CIDR Block, they cannot access each other.
In Windows, you only need to
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