1. Write a shell script to clean up the log#! /bin/bash#进入要清理文件的路径Cd/home/weblogic/bin#echo "Please clear Startserver1.log and StartWebLogic.log"#将文件内容清空>startserver1.log>startweblogic.logCd/home/weblogic/logs/tafs#将文件内容清空>send.log#进入要清理文件的路径Cd/home/
First, the software download1. Download JDK (Below are 32-bit system and 64-bit system version)Http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-i586.tar.gz? Authparam=1350717577_c0836b48d7dc4cd4598cdd4f0d49e6f6
program consists of instruction + dataHigh-level language-compiler--assembly language--compiler--Machine languagesLinux refers to the gun tools+linux kernelSystem structureHardwareKernel (the kernel hides the hardware features, abstracting the
Table header File
#include
Defining functions
FILE * Popen (const char * command,const char * type);
Function description
Popen () calls fork () to produce the child process and then calls/BIN/SH-C from
When the size of the disk exceeds the standard, there will be alarm prompts, if you know the DF and du command is a very wise choice.DF can view the first-level folder size, usage scale, file system and its hang-in points, but there is nothing to
Linux Users and Groups:1. User: Username/uidadmin: Root, 0System User: 1-499 (CENTOS6), 1-999 (CENTOS7)Assigning permissions to a daemon to get resourcesLogin User: (CENTOS6) +, + (CENTOS7) +Interactive Login2. Group: Groupname/gidAdministrators
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
First, the question:650) this.width=650; "Src=" http://r.photo.store.qq.com/psb?/v11acjn83hi7cg/radoual3* wmdv.xopcnjtemrwa4kmpygfpuq0gbmzbg!/o/dlaaaaaaaaaa&bo=wggvamiblqadacu! "alt=" Picture "/>Second, the solution:1. Restart the client2. When
Input command: Ls-alFile type permissions:
The first character represents this file as "directory , file or link file, etc.":
When [ d] is the directory;
When [ -] is the directory;
If [ l] is indicated as the
One, the process of command line operation1. Input command (can use various channels to send commands), enter the end1. The command is interpreted and executed by the interpreter2. Display the results in a way that the product needsSecond, command
First step: Install the System check the desktop.If not installed:1. First install and download the graphical interface gnomeYum Groupinstall "Desktop"Yum groupinstall "X window System"Yum Groupinstall "Chinese support" (optional)2, how to know
I am using the Vware virtual machine installed CentOS6.5To confirm the network connection mode is: BridgingModify the NIC Eth0Vim/etc/sysconfig/network-scripts/ifcfg-eth0++++++++++++++++++++++++++++++++Device= "Eth0"bootproto= "Static" #将原来的值 "DHCP"
/var/log/message system startup information and error log, which is one of the most commonly used logs in Red Hat Linux/var/log/secure Security-related log information/var/log/maillog message-related log information/var/log/cron log information
One, Linux installation of virtual machine settings1. Open the virtual machine and click "Create a new virtual machine" on the home page. 650) this.width=650; "Src=" http://s1.51cto.com/wyfs02/M01/84/8F/wKiom1eUxN_wL2cgAAEAnFtmyOo922.pn
Linux of the Echo Command , in the Shell extremely popular in programming , Print variables under the terminal value is often used. , Echo command in the build Shell play an important role in scripting1. command FormatEcho[options] [String]2.
First, The Guardian processDaemons, also known as daemon Processes (daemon)It differs from the normal background process in the following three points1, the daemon process from the session, and the normal background process is not necessarily2, the
IP address configuration:Only the IP and subnet masks can be configured with the Ifconfig command, so only the intranet can be accessed, and gateways and DNS must also be required if access to the public network is needed.To configure IP using the
Date command summary, date command
The date command displays or sets the system time and date.
Date (option) (parameter)
-D : displays the date and time specified by the string. Double quotation marks must be added before and after the string;-S :
Common Nginx proxy configuration
Due to business system requirements, the web service must be used as an nginx proxy. During constant attempts, the common nginx proxy configuration is briefly summarized.1. Simplest reverse proxy configuration
Under
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