configure Tomcat to boot from Linux1, write a tomcat script, the content is as follows, set its permission to 755, placed in the/etc/init.d/directory#!/bin/bash##/etc/init.d/tomcat# init script for Tomcat precesses## Processname:tomcat# chkconfig:234
the Linux operating system was installed a few days ago and several tools are often used. Now let's talk about how I feel! for Someone who doesn't spell a few letters of Linux. Let me participate in this work is: "Too cruel!" "Of course this is
Linux builds DNS using Yum source installationYum-y Install bind*Modifying the master configuration file[[email protected] ~]# Cp/etc/named.conf/etc/named.conf.bak # back up once before modifyingModify to the following:Options {Listen-on Port: (any;}
Scenario: Linux hosts A and B, login to B via SSH, password-free login steps--------------------Step1:Execute a one- line command in a to generate the key file: Ssh-keygen-t RSA, and then continue to enter, eventually generating id_rsa.pub files in
Command VI to enter VI FileName: Opens or creates a new file and places the cursor at the beginning of the first VI +n FileName: Opens the file and places the cursor at the beginning of nth line VI + FileName: Opens the file and places the cursor at
When the system is installed, there is a lost+found under each partition, and the creation time of this directory is the same as the time the partition was created. So if you want to know when your system is installed, just look at the creation time
User introduction in 1.LinuxThe user is the identity of the system consumerThe user is stored in the system as a number of channeling characters + several system configuration filesUser information involves the system configuration file:/ETC/PASSWD
I. 1. Common partitioning method---no important dataBoot information for the/boot 200M storage System, kernelswap Swap partition prevents memory from running out of a temporary memory if your memory is less than 8G swap is 1.5 times times more
In Linux, how do you see if a command is an internal or external command? The following will be introduced to you.First, the difference:1, internal command in the system when the boot into the memory, is resident memory, so the implementation of
Time setting View system Current date/time: Date -RTo view the system hardware clock:Hwclock --showSet Hardware time:Hwclock--set--Date="07/18/17 20:55"Synchronizing the system time with hardware time:Hwclock--hctosysTime zone
Installing the Oraclelinux EnvironmentNote: Dynamic allocation, the size of the space will increase as the content increases, but will not exceed the pre-set value;Fixed size, fixed space sizeSet up the relevant content after the creation is
Linux boot-up process analysisthe boot process refers to the entire process from powering on the computer until Linux displays the user login screen. Analyzing the Linux boot process is also a great way to get an insight into the workings of the
1. Generating the public key private keySSH-GENKEY-T RSA2. Copy the public key to another hostSsh-copy-id-i/root/.ssh/id_rsa.pub [email protected]the command actually puts the public key into the ~/.ssh/authorized_keys files in the file, you can
Installing the Oraclelinux environmentNote: CPU processor allocation, according to the number of its own computer processor, the appropriate allocation to the virtual machine, generally not less than 2 music. (e.g. 4 cores, 2 )Note: Settings →
main functions:1, which IP and time (exactly to the second) can be recorded and which user, and which commands2, the maximum log record is increased to 4,096 to paste the following code directly into the/etc/Profile behind it. #history Modifyexport
The Linux run Jar Package command is as follows:Way One:Java-jar Xxx.jarFeatures: The current SSH window is locked, you can press CTRL + C to interrupt the program to run, or directly close the window, the program exitsHow do I make the window
Solution for linux: unexpected inconsistency: RUN fsck, inconsistencyfsck
Symptom:
When the VM is started, the following message is displayed:
Unexpected inconsistency; RUN fsck MANUALLY
Cause analysis:
1. file system problems caused by
Understand the environment variables in profile and bashrc in ubuntu, using tubashrc
(0) Preface
Some terms may need to be explained. (You can also skip this section and read the related explanations later)
$ PS1 and running interactively ):To put
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