The method of automatically setting Java_home environment variables on Linux

I need to compile the Java program on the Linux machine, so I've installed the JDK (Java Development Kit), and now I'm trying to set the JAVA_HOME environment variable to point to the installed JDK. What is the most recommended way to set up a

Windows/linux View Port Occupancy command

1. Windows platform Start → run →cmd into the command prompt, enter Netstat-ano to see all the connected PID in the task Manager to find the corresponding PID program if there is no PID in Task Manager, you can select "View"-"Choose Column" in Task

Use awk and regular expressions in Linux to filter strings in text or files

When we use specific commands to read or edit text from a string or file under Unix/linux, we often need to filter out the output to get the interesting part. Then the regular expression comes in handy. What is a regular expression? A regular

Linux uses Awk's ' Next ' command

In the sixth section of the Awk series, let's take a look at the next command, which tells Awk to skip over all the remaining patterns and expressions you have provided, and directly process the next input line. The next command helps you prevent

In-depth analysis of Linux directory permissions

The following is a summary of the Linux directory permissions. R Permission: Permissions for the column directory. You can list the directory names, but you cannot get the attributes (dates, owner groups, permissions, and so on) in the directory,

Aliyun Linux system disk Expansion tutorial

The Linux system operates as follows: 1. If your disk is previously mount on the server, first Umount disk For example: Your disk is mounted in the/MNT/DEV1 directory. The code is as follows Copy Code Umount/mnt/dev1

Linux file Lookup Command which detailed

A file doesn't know where it is, and you can usually use some of the following commands to find:Which view the location of the executable fileWhereis View the location of the fileLocate view file location with databaseFind actual search hard disk

The NTP security vulnerability Repair Tutorial in Linux

cve-2013-5211 Vulnerability Description: Cve-2013-5211 was first announced January 10, 2014, because NTP itself does not verify the sender's source IP address. This is similar to the DrDoS (distributed reflection denial of service attack) used by

Analysis of Linux system boot process-linux Boot tutorial

1: After the power supply, the first step of the host is to query the BIOS (full name: Basic input/output System) information. Understand the hardware status of the whole system, such as CPU, memory, video card, network card, etc. Well, this step

Two ways for Linux to modify a user's home directory

First: Modify the/etc/passwd file Second: usermod command Detailed description is as follows: Usermod [-lu][-c ][-d ][-e ][-f ][-g ][-g ][-l ][-s ][-u ][user Account] Example The first method: VI/ETC/PASSWD Find the lines of users you want to

Introduction to Linux RAID configuration methods

md5

One, zoning Fdisk/dev/sdb//sdb for newly added disks M View Command MenuMr. N expands the partition and then generates the logical partitionL represents logical partitioningT set partition type FD (Auto RAID) 8e represents LVMW Save exitP Print

Create and enable swap zone tutorial in Linux

vps

If your server is always reporting low memory, and often because the service is forced to kill because of insufficient memory, without adding physical memory, enabling the swap Swap area as virtual memory is a good choice, I buy the Digitalocean VPS

Linux View 80 ports are occupied by what program

There are two ways in which a process is occupied: The code is as follows Copy Code 1, NETSTAT-ANL | grep "80";2, lsof-i:80 Cases   code is as follows copy code [Root@host ~]#

Linux View system version and kernel version

How to view distribution information for Linux systems The code is as follows Copy Code #[root@hsnoklox lnmp0.9]# Cat/etc/issueCentOS Release 5.3 (Final)Kernel R on a m# lsb_release-aLSB Version::

Linux uses the date command to modify the time of day detailed

Linux time modification does not restart modify time zone First, the time to modify Linux Root uses the date directive: Date-s 1, only modify the date, do not modify the time, input: Linux Code Date-s 2007-08-03 2, only modify the time, input:

Linux Station group rsync synchronization setting method

When it comes to "sync," the weapon that has to be mentioned is rsync, and today is the art of sync I see in this tool. 1. Configure the synchronization source Install rsync:yum-y Install rsync xinetd Open Rsync:vim/etc/xinetd.d/rsync Change

Linux several common commands

Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)

Linux system initialization--Configure NTP Automatic update time

Configure NTP Automatic Update timeInstalling the Ntpdate Program shell># yum–y Install Ntpdate Use Crontab to set the system to synchronize time with the NTP server 0:00 per dayshell># crontab–e 0 0 * * *

[Summary] install JDK1.4 on Linux RedHat AS3

System: Linux RedHat AS3 Update3Package: j2sdk-1_4_2_05-linux-i586.binInstallation process:1. Copy the file to the/tmp directory.----/Note: cp j2sdk-1_4_2_05-linux-i586.bin/tmp2. Execute the file---- // Note:./j2sdk-1_4_2_05-linux-i586.bin---- //

How to configure svn with apache in linux

1. Install apahceApr-1.4.8.tar.gzApr-util-1.5.2.tar.gzHttpd-2.2.27.tar.gzInstall aprTar-zxvf apr-1.4.8.tar.gzCd apr-1.4.8./Configure -- prefix =/usr/lcal/aprMake & make installInstall apr-utilTar-zxvf apr-util-1.5.2.tar.gzCd apr-util./Configure --

Total Pages: 5467 1 .... 2560 2561 2562 2563 2564 .... 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.