Linux to create Tomcat boot
To create a Tomcat startup script
Put/etc/init.d/(/ETC/RC.D/INIT.D) directory, such as: Tomcat (no type)
Set execution permissions chmod 755 tomcat
Join Boot Chkconfig--add Tomcat
View boot entry
How do I add a user under Linux? And the successful exit user login? and switch User login?The steps are as follows:
Command line enter adduser user name (e.g. LANP) Enter,(note: Here Linux does not display any information);
Then enter the
Some common problems with crontab
After I tested Linux under the timer task crontab prone to some use errors
Summarized as follows:
Look at the three timed task commands first:1.0 * * */bin/sh/server/scripts/impbf.sh &>/dev/null2.* * * */
When viewing process information through the PS and top commands, you can only find the relative path , the details of the process not found, such as the absolute path . At this point, we need to see the process details in the following ways:Linux
1. In the Linux kernel, the production will see the call to align Align, common such as page alignment in memory management, Net_device, the acquisition of private data, this article is a simple analysis of align macros.1.1. Kernel call: In E100.C,
Linux under C Programming:GCC compilation common options:-I dir: Adds the dir directory to the list of search paths for the header file.-L dir: Adds the dir directory to the list of search paths for the library file.-fpic: The command uses a
Access to devices in Linux ************# 1. Device Access # #1. Equipment Identification/dev/xdxn/dev/chrom/dev/mapper/* Virtual Appliance2. View of the deviceFdisk-l viewing real-world devices650) this.width=650; "src="
The rdate is lighter than the NTP service, and is extremely simple to configure and operate.Take the centos6.x system as an example (Zabbix is a time server, Oracle is a client):One, select a server as a time synchronization server, open Time-stream,
Override RM Command Replease RM to trash root userVi/etc/bashrcAdd the following script to the last faceSaferm (){if [!-d/export/dustbin]ThenMkdir-p/export/dustbinchmod 777/export/dustbinIf [$?-ne 0]Thenecho "error:failed to
1, detailed description of the process of encrypting communication, combined with the best diagram.Take Bob and Alice's secure communications as an example:bobalice1. Bob wants to secure communication with Alice first to obtain the other's public
QT-based holistic solutions for skin-changing (Qskinstyle)QT, a successful cross-platform GUI Library, has its own built-in features such as Cleanlooks, Plastique and other cross-platform styles, some of which are related to the peace platform, such
Apt-get Install GksuGksu is a Linux-shaped Su/sudo toolsudo is used to execute a command line (CLI) programGksu (GUI) program used to perform graphicsGUI = Graphical User InterfaceCLI = Command Line Interfacesudo is the home directory of the current
What does Grub do? The so-called grub is the boot loader for the Linux system, similar to the BIOS in Windows.We will see a countdown to the number of seconds in Linux, Haha, is not very curious about this thing? Yes, it exists in the grub
1. Want to see the file named "ABC" in the current folder and sub-folderFind-name Abc-name: Indicates that you want to find by name2. To see if there is a "xyz" directory in the current folder and sub-folderFind-type d-name Xyztype: Indicates the
Chapter II: Pipeline characters, redirects and environment variablesPipe character Command pipe character command "|" function is to use the standard output of the previous command as the standard input for the latter command, in the form: "Command
SSH password-free login, make a summary!1. Installing the SSH service (skip)2. Scenario: Need to configure host a no password login Host BOn host A, perform the following:CD ~/.sshSSH-KEYGEN-T RSAGenerate Key FileCP id_rsa.pub Authorized_keys After
APACHE rewrite to remove the index. php file,Next I will explain how to remove index. php from the URL under apache.For example, your original path is localhost/index. php/index.The changed path is localhost/index.1. The mod_rewrite.so module is
Install nginx-1.10.2 under Linux (RHEL7.0), nginx1.10linux InstallationCheck whether the current system version is supported
Currently, the nginx release package supports the following Linux operating system versions:
RHEL/CentOS:
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