Linux system optimization

=======================System Optimization ======================Check Hardware: Dmidecode | Grep"Product Name"Check Cpu:grep name/proc/cpuinfoTurn off firewall: Chkconfig iptables off/etc/init.d/iptables STOPVI/etc/selinux/config#

Linux system programming (2)

An EXEC function E:envint execle (const char *path, const char *ARG,..., char * const envp[]); An array of environment variable pointers:Char *envp[] = {"Environment variable name = Content", NULL}; Two multi-threading 1. Threads are the smallest

Linux System Programming Summary (1)

A process concept 1. Process generationOperation runs a program that produces at least one process 2.Linux Create Process struct TASK_STRUCT{Process Number (PID)Parent process Number (PPID)Run address spaceA set of register valuesProcess status....};

(Linux daily commands) [20171222]

Purpose: To record the daily commands used by Linux[20171222] View the hardware component model in a Linux environmentCat/proc/cpuinfo and Lspciview Cpu[[email protected]-redhat- on~]# cat/proc/Cpuinfoprocessor:0VENDOR_ID:AUTHENTICAMDCPU Family:

Linux command----chmod

Function: Change the file's ownership rightschmod [OPTION] ... Mode... FILE ...u userGroup Go OtherA All users (default)+ Add Permissions-Delete Permissions= Reassign PermissionsR ReadW WriteX executions set user (or group) ID numberT set the sticky

Application of LINUX--ISCSI

ISCSI:(Iscsi:internetsmallcomputersysteminterface) Internet Small Computer system interfaceiSCSIis a set of SCSI instructions that can be run on the upper layer of the IP protocol for use by hardware devices, which can be implemented inIP

The CentOS7 of Linux

FirewallSystemctl Stop firewalld.service #关闭firewallsystemctl disable Firewalld.service #禁止firewall开机启动SYAVINGCSelinux#关闭SELINUX vi /etc/selinux/config#selinux=enforcing replace selinux=disabled:wq! 0 #使配置立即生效SYAVINGCModify Time ZoneLN

Linux Installation jdk1.7 Environment

Because of the different Linux developers, so different developers of Linux version operation details are not the same, today, the installation of CentOS under the JDK:Method One: Manually unzip the JDK's tarball and set the environment variable1.

Linux uses the port number to query the occupied process and know where it is

For example, to query port 2181.1. The process ID that the query port occupiesNETSTAT-ANP | grep 2181TCP6 0 :::2181 :::* LISTEN 10997 2181 as port number10997 for PIDYou can also

Day04.2:linux cloning and login between servers

1, Linux server is actually able to clone the virtual machine, so that more than a new installation more convenient, you can operate on two convenient, cloning steps are as follows:Open the virtual machine---Right-click-Manage = = Clone: To the

20179223 "Linux kernel Fundamentals and Analysis" 11th Week study notes

Buffer Overflow Vulnerability experiment one, experimental introduction 缓冲区溢出是指程序试图向缓冲区写入超出预分配固定长度数据的情况。这一漏洞可以被恶意用户利用来改变程序的流控制,甚至执行代码的任意片段。这一漏洞的出现是由于数据缓冲器和返回地址的暂时关闭,溢出会引起返回地址被重写。II. Preparation of the experimentSystem User Name ShiyanlouThe lab

Linux Source Installation Tomcat7

wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.81/bin/apache-tomcat-7.0.81.tar.gzUnpacking the installation packageTAR-ZXF apache-tomcat-7.0.81.tar.gzMV APACHE-TOMCAT-7.0.81/USR/LOCAL/TOMCAT7Cd/usr/local/tomcat7Start

/dev/null commands in Linux

/dev/null : Represents an empty device file> : Where does the delegate redirect to, for example: echo "123" >/home/123.txt1 : Indicates stdout standard output, system default is 1, so ">/dev/null" is equivalent to "1>/dev/null"2 : indicates stderr

Linux System User Group management

Linux System User Group management Linux supports user groups, which are collections of users with the same characteristics; A group can contain multiple users, and each user can also belong to a different group user group to logically organize

Linux common commands (i)

System parameter check:df-h [Enter] check hard disk spaceTIP: Use man df to see instructions for the command; Q Exit.Free Check Memory usage:free [Enter]  TIP: Use man free to view the instructions for using the command; Q Exit.The top command

linux-installation FFmpeg

bz2

FFmpeg official website: http://www.ffmpeg.orgWebsite Introduction FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that

About date dates under Linux and naming files by date

In the Linux terminal, we will display the following when we enter Date:Then the blogger also expands on the basic usage of date:Date + "%-":%y the rear 2 bits of the output year;%y output full year%m output month;%d output date (days)%H output

Multithreading in Linux environments with multithreaded programming (iii)

The first two articles describe the basics of multithreaded programming in a Linux environment, as well as a typical example. This article mainly compares the Linux environment and the Windows environment of multi-threaded programming

Thinkphp is working properly in Windows, uploading to a Linux server, the view does not push in the wrong solution

The graph does not exist when it appears;Ken may be the case of the view template file because it is;For example, the presentation view file written in the controller is named for the small hump; Goodslist; the name of the view file is, try to keep

Linux Network Management-remote logon tools and linux Network Management

Linux Network Management-remote logon tools and linux Network Management       1. symmetric encryptionExample: compress the file and add a password. If someone else wants to open the file, they only need to know your password. This method is not

Total Pages: 5467 1 .... 3566 3567 3568 3569 3570 .... 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.