Linux Apache automatic Monitoring script

1 Install Curl FirstYum Install Curl2 Writing the ShellVI restart_apache.shWrite a bit of content#!/bin/bashUrl= "HTTP://127.0.0.1/"Curlit (){Curl--connect-timeout--max-time--head--silent "$URL" | grep ' 200 '}Doit (){if! Curlit; ThenSleep 20Top-n 1-

Programming under Linux

Linux is not used for a very large reason is the terminal under the compilation. The main is usually win under also do not use terminal.Just recently discovered that gedit can add external tools to run shell commands.That's all right, I didn't think

Linux NFS Installation record

Mark'sInstallation:Yum-y Install Nfs-utils RpcbindServer for NFS configuration:/home/nfs 192.168.150.* (Rw,sync,no_root_squash)/home/nfs local path that can be accessed by other users192.168.150.* users who are linked under this IP can access the(Rw,

Notes Linux NTP command (ESX applies)

Original works, allow reprint, please be sure to use hyperlinks in the form of the original source of the article, author information and this statement. Otherwise, the legal liability will be investigated. http://delxu.blog.51cto.com/975660/307513 "

commands for adding boot programs to different Linux systems

See http://phpcj.org/blog/%E4%B8%8D%E5%90%8Clinux%E7%B3%BB%E7%BB%9F%E6%B7%BB%E5%8A%A0%E5%BC%80%E6%9C%BA%E5%90% af%e5%8a%a8%e7%a8%8b%e5%ba%8f%e7%9a%84%e5%91%bd%e4%bb%a4/commands for adding boot programs to different Linux systemsAuthor: Breeze Date:

Miscellaneous of Linux Concepts

Login Record/var/run/utmp,/var/log/wtmpWtmp and utmp files are binary files and they cannot be clipped or merged (using the Cat command) such as the tail command. Users need to use who, W, users, last, and AC to use the information contained in

Linux Routing Service

This article describes how to create a simple routing server using Linux. It mainly includes the setting of several parameters: Ip_forward and Rp_filter.1. Turn on IP forwarding# restart after $ echo "1" >/proc/sys/net/ipv4/ip_forwardor

Linux watchdog script 1.4

The watchdog of the recent project has undergone three versions.First version:With PS-EF, if the program hangs, it starts.A second version:program because the runtime will not listen to the 7901 port, so it is not easy to determine whether the

Linux system Add virtual IP (Suse Linux for example)

Before mentioning the Windows Server to add multiple virtual IP methods, only need to use a graphical interface, but the Linux server is not so simple. So a tutorial was summarized to document how to add virtual IP on a linux server.1) Log in as

Getting started with Linux: disk encryption LUKS

Getting started with Linux: disk encryption LUKS There are many disk devices in Linux. We usually want to encrypt them, which is more secure. LUKS (linux unified key settings) is a standard device encryption format. LUKS can encrypt partitions or

How to prevent software package upgrades in Ubuntu

How to prevent software package upgrades in Ubuntu If you want to upgrade the software in Ubuntu but want to keep one of them in the current state, that is, it will not be upgraded, you can use the command dpkg, aptitude or dselect to delay the

Error Perl5 reported when installing git in CentOS 6.2

Error Perl5 reported when installing git in CentOS 6.2 Error Perl5 reported when installing git in CentOS 6.2 Error 1: Usr/bin/perl Makefile. pl prefix = '/usr/local/git' INSTALL_BASE = ''-- localedir = '/usr/local/git/share/locale' Can't locate

Detailed description of the find command in Linux

Detailed description of the find command in Linux Find command-Purpose: Search for files or directories.-Format: find [search range] [Search Condition]Common search conditions-- Name: search by file name-- Size: search by file size-- User: search by

Raspberry Pi as a router

Raspberry Pi as a router I have seen many articles that make Raspberry Pi a Wireless AP, but what I want to do today is to make Raspberry Pi a router with NAT Function, my original intention was to find that my bambook was unable to access the WiFi

Use of the Debian logon window and inkscape

Use of the Debian logon window and inkscape 1: inkscape is a software for generating vector images such as svg. The official address is here. Debian can search for inkscape Installation directly through the software center. You can also go to the

How to remove the drive letter icon from the Unity starter in Ubuntu 14.04

How to remove the drive letter icon from the Unity starter in Ubuntu 14.04 A question from a reader: In Ubuntu 14.04, how do I remove these drive letter icons from the Unity starter? I never use it, but it occupies the position of the starter. By

Nodejs installation in Linux

Nodejs installation in Linux I have installed a node on Windows and Mac a long time ago, and it is very convenient. I have been installing a node on Linux for a long time. First, go to the official website to download the Code. There are two

RabbitMQ installation, configuration, and monitoring

RabbitMQ installation, configuration, and monitoring Install RabbitMQ is based on Erlang, so the Erlang environment must be configured first. Download the latest Erlang installation package from the http://www.erlang.org/download.html on erlang's

Solution to the Problem of Sublime Text input in Ubuntu

Solution to the Problem of Sublime Text input in Ubuntu I selected the Pyhton encoding tool and thought that the Sublime Text tool is simple and easy to use. The Vim configuration is too complicated and I gave up after a day, sublimeText has a

NVIDIA closed-Source graphics card driver 340.24 released

NVIDIA closed-Source graphics card driver 340.24 released NVIDIA releases the 340.24 version of the closed-source video card driver, enabling initial G-Sync support. New features of this version include: Provide initial support for G-Sync

Total Pages: 5467 1 .... 4662 4663 4664 4665 4666 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.