Linux server configuration several cpuJava code more/proc/cpuinfo | grep & quot; physicalid & quot; | uniq | wc-l each cpu is several cores (assuming the cpu configuration is the same) java code more/proc/cpuinfo | grep & quot; physicalid & quot; |
The options on the Ubuntu main interface are as follows: you can set environment variables. /Etc/profile: the first file used when the operating system customizes the user environment during logon. this file sets environment information for each
Linux host trust mechanism configuration 1: private key and publickey for producing rsa and dsa: on vmoel5u4: [oracle @ vmoel5u4 ~] $ Ssh-keygen-trsaGeneratingpublic/privatersakeypair. enterfileinwhichtosave... linux host trust mechanism
Under ubuntu 7zrar file decompression method to open the terminal, type the following command: apt-getinstallp7zip-full command after installation, decompress the file, as follows: usage: 7zxfilefile is the file to be decompressed. Generally, the
The slow response of ubuntuping solves the problem that the Internet access is always slow after the new ubuntu is installed. it takes a long time to ping the website to respond to the ping command, but the network latency is normal. Later it was
Install the ftp server in ubuntu (general configuration) 1: install vsftpd ~ $ Sudoapt-getinstallvsftpdubuntu10.10 installed on its own, this step is omitted. 2: Configure vsftpd2.1 to modify the configuration file of vsftpd. This type of
CentOS6.4 after I installed CentOS6.4, I found that the default time zone is the time zone in Boston, United States. in order to install hadoop later, errors may occur due to time issues, therefore, you must adjust the time zone. You need to perform
Ubuntu to build svn, tortise remote access to specific methods first prepare software tools, Ubuntu installation software that is quite convenient a sudoapt-getinstallsubversionOK to create a repository folder: cd/homesudomkdirsvnsudochown-R777sv...
Run the sudomkdir Directory command under ubuntu to create a directory sudormdir empty directory name delete an empty directory sudorm file name delete one or more files sudorm-rf non-empty directory name delete one the sudo mkdir command is used to
Linux modification time method in the command line input: date display current time FriAug314: 15: 16CST2007date-s in string mode modify time can only modify the date, do not modify the time, input: date-s2007-08-03 only modify time, input: date-s14:
LINUX batch delete files by time (delete files N days ago) find/opt/Oracle/admin/CCXE/bdump/-mtime + 10-name & quot ;*. * & quot;-execrm-Rf {}\;/opt/Oracle/admin/CCXE/bdump/: any directory to be cleaned-mtime: Standard statement...
LINUX batch
Problem Description: In the lnmp environment, a site is added and 301 redirection is set, then you can directly open the website with an IP address and jump to the jump domain name. solution: create a default site in the wdcp background. The
SSH remote session management tool-screen tutorial 1. what is the screen command? Screen is a full-Screen window manager that allows multiple processes to reuse one physical terminal. There is a session concept in Screen. you can create multiple
In Linux, quota uses Quota to limit the disk Quota of a specified user or user group in a partition. quota limits the disk Quota by limiting the user's blocks or inodes. System environment: Ubuntu12.04Server1. install the disk quota tool quotaJava
Using nicstat to view the NIC status I previously used scripts to implement Xml code for real-time Nic traffic #! /Bin/bashNAMEnic_flowPIDFILE/var/tmp/$ NAME. pidLOGFILE/var/tmp/$ NAME. logfunctionstart () {if [-f & quot; $ PIDFILE & quot;]... using
Add the boot script for Ubuntu. after Ubuntu is started, it will execute the script in the/etc/rc. local file, so we can directly add the boot script in/etc/rc. local. Of course, you must add it to the statement before exit0. For example, sudovi/etc/
Method 1: add a variable to the/etc/profile File (valid for all users permanently)] use VI to add a variable to the/etc/profile File. this variable will be valid for all users in Linux and will be permanent. Let the repair just now... method 1: add
After ubuntu is suspended, it cannot be awakened. first, install sudoapt-getinstallpm-utils to install this package. I recently learned about laptop_mode carefully and found that as long as the laptop_mode is enabled, the Laptop cannot be awakened
Frequently used commands under fedoralinux (1) 1. common shells under fedora and common shell operations on shell include bash, csh, tcsh, and ksh operations: exit (from one shell to another), exec (from one shell to another) 2. sleep time...
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