Linux Open ports

Telnet 192.168.1.245 3306Use the script above to test whether the port is open, and note that the service that is enabled for the terminal must be turned on.If it is not open,Vi/etc/sysconfig/iptables-A rh-firewall-1-input-m state--state new-m tcp-p

Linux File directory Permissions summary

Representative character Permissions Meaning to the file Meaning to the directory R Read permissions Allow viewing of file contents Allow listing content in directory W Write

Some common commands for Linux

I. Creating and deleting CatalogsCommand: mkdirSyntax: mkdir [-MP] [directory name]Example: Mkdir-p ~/1/2/3650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/71/60/wKiom1XMfQXygdCEAACJFs5J8gM305.jpg "title=" 1.png " alt=

The construction of embedded Linux system

1. Production of embedded Linux kernel (the linux-ok6410 kernel that is used here, with kernel configuration file config-file)A. Go to the kernel directory to clear the original configuration and intermediate files:Make cleanB. Configure the

Linux Command--gzip command

Gzip is the command used for compression on LinuxThere is a parameter for num -num Adjusts the speed of compression with the specified number num,-1 or--fast represents the fastest compression method (low compression ratio), 9 or--best represents

Linux Kernel synchronization method

1, atomic operation, is the basis of other synchronization methods.2, Spin lock, the thread tries to acquire a spin lock that has been held by someone else, the current thread is busy waiting, consuming CPU resources.3, read and write spin lock,

Linux Commands Intro1

$ ((expression))echo $ (wrong): echo $ ((+)): Right Echo Front-{a,b,c}-back Front-a-back Front-b-back Front-c-back Echo Start{1..5}endStart1end start2end start3end start4end start5end Echo Start{a. Z}end $ (cmd) Command replaces the output of one

Linux Learning -14-Learning disk quotas (Quota)

QuotaFor WWW server, for example: the capacity limit for everyone's web space!For mail server, for example: The message space limit for everyone.For file server, for example: Maximum available network hard disk space for everyone (most common in a

Linux RunLevel & Single-user mode & Rescue mode

Run levelinit 6 = = REBOOT = = Shutdwon-r now restartinit 0 = = Shutdown-h now offSingle-User modePress any key---> Press E to edit the 2nd item in three seconds after startup and press E---press 1--> at the end and press B to start-up in a few

Basic Linux Operations

Linux Desktop Environment IntroductionCompared to the current Windows system, Unix/linux itself is not a graphical interface, we usually see on the unix/linux distribution of the graphical interface is actually just run on the Linux system on a set

Linux View Log commands

1. Cat command:function:1) Displays the entire file.Example: $ cat FileName2) Connect the file string to the basic output, such as merging several files into one file or output to the screen.Example: $ cat file1 file2 > fileDescription: Connect the

Linux Learning Notes < 19 >--system cropping one

Grub-->kernel-->initrd-->rootfs (/sbin/init,/bin/bash)Build a simple Linux system on a new hard drive, with/sbin/init initialization and the ability to use/bin/bash1. Disk partitioning: Create boot partition only mount to/mnt/boot and root partition

Linux file Lookup

LocateNon-real-time, non-accurate lookups are based on a system-wide file databaseThe advantage is that speed is fastDatabase can be updated immediately using UpdateDBFindReal-time precision, support multi-search criteria, use traversal files to

Linux in-depth Chapter four: construction of nginx+tomcat dynamic and static separation architecture

Linux in-depth Chapter four: construction of nginx+tomcat dynamic and static separation architectureThe static and dynamic separation of nginx is simply to separate dynamically and statically, not only to physically separate dynamic pages from

Linux System Mount Data disk

Applicable system: Linux (Redhat, Centos,debian,ubuntu)* The Linux cloud Server data disk is not partitioned and formatted, and can be partitioned and formatted according to the following steps.The following operation will divide the data disk into

How Linux modifies file permissions

How Linux modifies file permissionsBefore modifying the file permissions, you need to understand the permissions of the "rwx" and the corresponding relationship between the numbers, where r=4,w=2,x=1.For example: "Drwxr-xr-x", the first "D" is the

Several ways to perform tasks regularly under Linux

If I say that if, in one of your directories, you will often generate some junk files, such as access logs, error logs, core files, and you do not want to take a few minutes to manually check, then you can use scheduled tasks to solve the way. There

Linux source with. Command

SOURCE Command usage:SOURCE FileNameFunction: Reads and executes the commands in the filename under the current bash environment.Note: This command usually uses the command "." To replace.such as: source. BASH_RC and. The. BASH_RC is equivalent (it

Linux Boot basic process

Linux Boot Sequence1. CPU InitializationThe CPU itself initializes, takes instructions from a fixed location (0XFFFFFFF0) and executes, which is a jump instruction and jumps to the header of the BIOS code.2. Load the BIOSThe BIOS is cured in a ROM

Advantages of multithreaded 2--multi-threading under Linux

Reasons to use multithreading 1:One of the reasons to use multithreading is that it is a very "frugal" multi-tasking approach compared to the process. WeKnow that under the Linux system, starting a new process must be assigned to its separate

Total Pages: 5467 1 .... 4146 4147 4148 4149 4150 .... 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.