Linux (CentOS6.5) Open ports, configuring firewalls

1. Open the configuration file[Root@localhost ~]# vi/etc/sysconfig/iptables 2. The correct configuration file# Firewall configuration written by System-config-firewall# Manual Customization of this file are not recommended.*filter:input accept [0:0]:

Linux io mode and select, poll, Epoll detailed

Original: 1190000003063859I've only extracted the Epoll code example, the server-side code#defineIPADDRESS "127.0.0.1"#definePORT 8787#defineMAXSIZE 1024#defineListenq 5#defineFdsize 1000#defineEpollevents 100LISTENFD=Socket_bind

Talking about Linux cluster

Cluster sounds like a very high-end technology, in fact, is not, then the cluster is actually a collection of computers, to provide users with the same service of a group of computers, called the cluster, for users as if a computer provides services,

linux-File and directory management

All Files under Linux/root directory for each file description: Bin: Executable file, equivalent to SYSTEM-WINDOWS32 under C drive Boot: Store the boot file for the system Dev: Store device files (hard drives, TTY, removable hard

Installing Nginx under Linux

Linux version: CentOS7 64-bitBefore installing Nginx, first make sure that gcc, pcre-devel, Zlib-devel, Openssl-develare installed in the system.nginx:https://nginx.org/download/Download "nginx-1.9.9.tar.gz" and move to/usr/local/.-ZXVF nginx-1.9. 9

Linux under Maven installation

Version Requirements maven3.2.3software Downloadwget http://mirror.bit.edu.cn/apache/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.tar.gzinstallationTar vxf apache-maven-3.2.3-bin.tar.gz$ MV Apache-maven-3.2.3/usr/local/maven3Modify

Changing file permissions and properties in Linux

Linux, the default display of all user name files in/etc/passwd, user group information in/etc/group password/etc/shadowCHGRP Changing the user group to which the file belongsCHGRP [-r] User group name file or directoryChown Changing the file

Linux normal users get administrator privileges

Original: http://www.cnblogs.com/likwo/p/3435404.htmlTest environment: CentOS 5.51, add the user, first with the AddUser command to add a normal user, the command is as follows:#adduser TommyAdd a user named Tommy#passwd Tommy//Change

Linux timed Tasks

Accustomed to scheduling tasks using Windows, it is not appropriate to use crontab in Linux to manage timed Tasks . So the basic usage is summarized as follows.Create a simple scheduled taskOutput the current time per minute and output to the

The safest way to restart Linux outages (you certainly don't know)

Although the Linux kernel is known as "undead", it hardly crashes or freezes, but in exceptional cases there is a chance of downtime. Because Linux is widely used in production environments, every outage can cause considerable damage. This article

A summary of querying the Linux release number method

Understanding the version number of a Linux distribution is a very important thing, most software has requirements for the version of the system, the release version number does not match the software, The software will not be installed or unusable.

Linux Remote Copy SCP command

Today to update the database from the admin server to the DZ server with the modified content and Image_count on the test.First you need to back up the database and use the mysqldump commandFull table Backup: Mysqldump-u root-p artdb topic >

Grub repair and installation and Linux system cropping

One. Grub Repair1. Analog grub.conf Damage#mv grub.conf Grub.conf.bakReboot, go directly to command line modeGrub>2. Manually configure GRUBGrub>root (hd0,0) (Use Find and tab to auto-complete the location of the grub partition)Grub>kernel/vmlinuz.

crontab command usage in Linux

CrontabIn Linux, crontab is used to set up regular execution of specified commands, and we can use it to specify something that needs to be duplicated, andthe Linux system user simply adds the sequence of commands that they want to execute

Linux Job Management

1. Foreground work and background work(1) ConceptForeground job: Start with terminal and Occupy terminal after startup. Background jobs: It is not related to the terminal at startup, or it is run in the background after the terminal is started (that

The echo command for Linux

The echo command for Linux, which is very common in shell programming, is often used when printing variable value under a terminal, so it is necessary to understand the use of EchoThe function of the echo command is to display a piece of text on the

Linux Operating system installation experience

At present, the use of Linux is mainly for enterprise-level users, then the enterprise with Linux why?So annoying operating system, knock out the tear command! Nonsense, it's not for you to take home to play games. Because Linux is unusually stable,

Modifying the Linux system language

====[Email protected] yum.repos.d]# localeLang=en_us. UTF-8Lc_ctype= "en_US. UTF-8 "Lc_numeric= "en_US. UTF-8 "Lc_time= "en_US. UTF-8 "Lc_collate= "en_US. UTF-8 "Lc_monetary= "en_US. UTF-8 "Lc_messages= "en_US. UTF-8 "Lc_paper= "en_US. UTF-8

"Reprint" summarize the four kinds of IO scheduling algorithms for Linux 2.6 kernel

in Linux 2.6, there are four kinds of scheduling algorithms about IO, summarized below:1) NOOPThe NOOP algorithm is completely written as no operation. The algorithm implements the most simple FIFO queue, and all IO requests operate roughly in the

Compile z3 solver on redhat6.4, redhat6.4z3

Compile z3 solver on redhat6.4, redhat6.4z3 Because of the project requirements, we used Microsoft's z3 Solver For constraints, but the z3 solver did not release the compiled binary version on the Red Hat platform, our operating environment is

Total Pages: 5467 1 .... 2581 2582 2583 2584 2585 .... 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.