Linux One-click Optimization (for Redhat and derivative versions)

#!/bin/bash#set envExport lang= "en_US. UTF-8 "Export path= $PATH:/bin/sbin:/usr/sbin#whether ROOT to running userif [[$ (WhoAmI)! = root]];thenecho "Please su-root run the script."FiService= ' which service 'chkconfig= ' which chkconfig '.

Installing the JDK in a Linux environment

First, installationCreate the installation directory, set up the installation path under/usr/java, and test the file under this path:mkdir /usr/java1,Jdk-6u11-linux-i586.bin This is self-extracting files, installed on Linux as follows:#

Linux package management rpm, yum basic usage

Linuxthe software package managementRpm,YumBasic UseFirst, RPMRPM is an abbreviation for the Redhat Package Manager (Redhat Packages management tool), although the file format name is Redhat, but its original design concept is open and now includes

Summary of SVN commands under Linux

SVN checkout path(path is a directory on the server): Checkout the file to a local directory, abbreviated as:Svnco; SVN add File: Adding new files to the version SVN commit–m "LogMessage" [-n][--no-unlock] PATH ( If holding lock is selected,

SSH or Putty connection Linux Error resolution method

Due to multiple input of the wrong password that day, SSH and putty are not connected, tangled up a long time to solve the problemSSH connection Prompt error: Server unexpectedly closed network connectionPutty Connection Hint ErrorThe problem is

Methods for Linux server to turn off SELinux

[Email protected] ~]$ Cat/etc/selinux/config# This file controls the state of the SELinux on the system.# selinux= can take one of these three values:# Enforcing-selinux security policy is enforced.# Permissive-selinux Prints warnings instead of

Linux bit by bit---open

The Open function opens and creates a file.Required header file:#include #include #include Common function Prototypes:int open (const char *pathname, int flags) orint open (const char *pathname, int flags, mode_t mode)Function parameter

Linux change the owner and owning group of directory files (implemented using Chown)

In Linux, it can be queried by PS and grep. If using the PS aux|grep nginx to query the Nginx process using what account run: Visible is the use of the WWW account running. Then the corresponding site root directory and the following file directory

Linux download file times wrong to connect to ohse.de insecurely, use '--no-check-certificate '.

Remote Call to download the file directly with wget, the general file path type is HTTP. If you encounter an HTTPS, it will download an error. The error is as follows:[Email protected] tmp]#wget https://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz--

A summary of the various types of compression formats on Linux

I am using an environment that is 64-bit Red Hat Enterprise Linux Server release 6.4 (Santiago) 1.compress and *. Z File The role of the Compress program is: Compress reduces the size of the named files using adaptive Lempel-ziv coding That is:

Linux command chmod 2011.11.24 reprinted in the Network

Usage rights: All usersMode of use: chmod [-CFVR] [--help] [--version] Mode file ...Description: Linux/unix's file invocation permissions are divided into three levels: file owners, groups, and others. The use of chmod can be used to control how

Introduction to common signals in Linux

http://blog.csdn.net/eager7/article/details/8290937We run the following command to see a list of supported signals from Linux:$ kill-l1) SIGHUP 2) SIGINT 3) Sigquit 4) Sigill 5) SIGTRAP 6) SIGABRT 7) Sigbus 8) SIGFPE 9) SIGKILL) SIGUSR1) SIG SEGV)

A detailed description of the awk command for Linux

Brief introductionAwk is a powerful text analysis tool, with the search for grep and the editing of SED, which is especially powerful when it comes to analyzing data and generating reports. To put it simply, awk reads the file line-by-row, using

The role of Linux Sa_restart

Sa_restart is used when setting a signal processing function for a signal to set a marker for the signal.In general, a process is executing a system call, and the signal is not delivered until the system call returns. Except for slow system calls,

Learn about RAID (disk array) creation and management under Linux

Today's operating systems, whether Windows or Linux have RAID capabilities, RAID is divided into hardware RAID and software RAID, hardware RAID is through the RAID card, software RAID is implemented by software, Today's commonly used raid is: RAID0:

Brief Introduction to linux ls commands, and introduction to linuxls

Brief Introduction to linux ls commands, and introduction to linuxls I am familiar with linux, but I am not familiar with ls commands. Because we usually use this command to view files in a directory The command format is: Ls [Option] directory or

RPM, a package management tool in Linux

RPM, a package management tool in Linux Lab environment: One CentOS release 6.6 (Final) IP Address: 172.16.249.230 RPM is the abbreviation of Red Hat Package Manager. It is intended to manage Red Hat software packages. As the name suggests, it is

Install Filezilla in CentOS

Install Filezilla in CentOS When it comes to Centos, everyone is very familiar with it. Of course, Filezilla is also the software for everyday applications. But how can I install it in linux. You can install Filezilla in multiple ways, but the most

Fast snail mail: apt-fast

Fast snail mail: apt-fast If you often feel that apt-get or aptitude package installation is too slow On Debian or Ubuntu systems, there are several ways to improve this situation. Have you ever considered changing the default image site in use?

Nginx Time Management

Nginx Time Management Gettimeofday () overheadIn Linux, Nginx uses gettimeofday () to obtain the current system time;Gettimeofday is a function provided by the C library (not called by the system). It encapsulates sys_gettimeofday system calls in

Total Pages: 5467 1 .... 1409 1410 1411 1412 1413 .... 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.