Use commandsWriteFdisk-lView disk Information Mine is as follows:WriteDisk/dev/sda: 320.1 GB, 320072933376 bytes255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectorsUnits = sectors of 1*512 = 512 bytesSector size (logical/physical): 5
How to Set crontab to execute on the last day of each month:For Linux0 8 28-31 ** ['date-d tomorrow + \ % e'-eq 1] & (shell script)For other Unix, BSD0 8 28-31 ** ['echo \ 'cal \ '| awk' {print $ NF} ''-eq 1] & (shell script)
Another method:It is
Auto Start ORACLE serviceFor oracle users:Vi Start_ORA.sh--------------------------------Echo "Begin to start the oracle! "Lsnrctl startSqlplus/nolog Connect/as sysdbaStartupExitEOFEcho "Oracle just have been started! "Exit
Auto disable ORACLE
Some software packages end with. src. rpm. These software packages are rpm packages that contain source code and need to be compiled during installation. There are two ways to install such software packages:
Method 1:1. Execute rpm-I
Linux uses the time command to obtain the command execution timeIn Linux, the time command can get the execution time of a program, including the actual running time of the Program (real time) and the time when the program runs in the user State
Vim Editor (. vimrc file) in Linux) When you use vim to edit a terminal, by default, the editing interface does not display line numbers, syntax High Brightness Display, smart indentation, and other functions. To better work in vim, You need to
ExtractSyntax: tar [primary option + secondary option] file or directory
When you use this command, the main option is required, and it tells tar what to do. The auxiliary option is used for assistance and can be used.
Main options:
C. Create a new
Create a new user as a Super User(1) Use the useradd command to create a user: syntax useradd [user name to be created], press ENTER(2) Use the passwd command to create a password for the user. Syntax: passwd [user name]. Press enter.(3) enter the
When talking with some friends about Nginx + Keepalived technology, although I have successfully implemented the Nginx + Keepaived project for many times, these are all work with a single-master Nginx, since Nginx is only in the backup state for a
I agree with the sub-night's suggestion that it is feasible to try it in 10.04.
Sudo service network-manager stop
Sudo rm/var/lib/NetworkManager. state
Sudo service network-manager start
Sudo
Git is an open-source distributed version control system for efficient and high-speed processing of project version management from very small to very large.
Installation steps:
Operating System: centos 5.5
Install GIT dependent packages
Yum
Open the httpd. conf file and use a text editor to find
Change Options FollowSymLinksAllowOverride None:
Options FollowSymLinksAllowOverride All other methods: 1. Find the httpd. conf file in the conf file of your Apache installation folder.
The following describes the basic operations of Nginx.
Start OperationCommand:Nginx-c/usr/nginx/conf/nginx. conf-The c parameter specifies the path of the nginx configuration file to be loaded. Stop operationThe stop operation is performed by
The three important concepts of the Linux device model are bus, device, and driver, that is, bus, device, and driver. In fact, the kernel also defines such data structures: struct bus_type, struct device, and struct device_driver. These three
Cocould not execute auto check for display colors using command appears when installing software on centos
Two solutions:
1. use oracle login x-window, then./runInstaller
2. use root login, then
# Xhost +
# Su-oracle
Cp-copy file or directory
-R: recursively copy the Directory and copy all the files in the directory to the target location.
-D maintain the file link during copy.
-F if the existing file is overwritten, no prompt is given.
-I prompt when copying
This evening, I downloaded an RHEL5.3 iso file from the school Ftp and installed it on the virtual machine. I don't know what it means when I encounter two nouns. Google.
"To create a RAID device, you must first create (or reuse existing)
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