Linux environment variable Configuration

Linux environment variables are related to several files: /etc/profile--This file sets the environment information for each user of the system, and the file is executed the first time the user logs on. and collects shell settings from the

Linux kernel header file Cdev.h parsing

Encountered a kernel api--cdev_init to find here.#ifndef _linux_cdev_h#define _linux_cdev_h#include #include struct file_operations;struct inode;struct module;struct cdev { struct kobject kobj; struct module *owner; const

LINUX Installation Error Note ins_sysman.mk

Phenomenon:[Email protected] logs]# tail-f Installactions2015-01-08_10-51-56am.logINFO:MAKE[1]: * * * [/usr/local/oracle/product/10201/sysman/lib/libnmemso.so] Error 1Make: * * * [LIBNMEMSO] Error 2Info:end output from spawned process.INFO:----------

Set file execution, write permissions in Linux platform

recently encountered a problem in the development process, the file copy, some executables in the Linux platform will have a loss of permissions, such as: An EXE file on the Windows platform does not involve permissions, The issue of permission loss

Install keepalived under Linux

It was simple, but there were a lot of errors during the installation, so here's a memo.The redhat of my environment 5,keepalived just started to download is 1.2.51.2.5 Version InstallationExtract./configure (plus no kernel path)Make && make

Application of Vs2013 in Linux development (31): Memory block display

Happy Shrimphttp://blog.csdn.net/lights_joy/Welcome reprint, but please keep the author informationto implement the display of memory blocks, you need to implement IDebugMemoryBytes2 interface, similar to this: Class

Linux common commands (replace)

1. Replace command in VI mode:s = replace (substitute), G for global search: s/vivian/sky/replaces the current line the first Vivian is sky: S/vivian/sky/g replaces the current line all Vivian are sky: N, $s/vivian/sky/replaces the first Vivian of

Linux Basic Nouns

GNU GPL : Can obtain the source code of the software to copy, modify, re-release. However, the GNU GPL has to be retained to be contagious. Cannot sell software simply, so Linux developers can only sell "after-sales service." POSIX : A portable

Linux Common Commands

To view the number of connectionsNetstat-nat|grep-i "|wc-l"Half Open connection numberNetstat-an | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, s[a]} 'Query Source IP SortNetstat-antp|grep Tcp|awk ' {print $ $} ' |grep-v ':: ' |cut-d:-f1|sort |

Linux related uses--The great god flitted

2015/1/8View Tomat Process Ps-ef|grep TomcatView Java related JPSFind Tomcat directory Find/-name tomcat This seems to be no problem, but novice will feel very helpless, if you installed Tomcat, it is estimated that in Linux can not find Tomcat

Installation of Linux Nginx (reprint modified)

1.linux under Installation1. Download pcre-8.10.tar.gz nginx-1.1.1.tar.gz2. Install pcre let nginx support rewritePcre-8.10.tar.gz upload to the/home directory1) Unzip the PcreTar zxvf pcre-8.10.tar.gz decompression pcre after home/home there will

Using the VNC service under Linux

Connect to Linux via VNC under WindowLinux Open VNC Service: Service vncserver startExecute the "vncserver" command, note that the identity of this command is executed, and if it is root, the. vnc/directory is generated under root, generating log

Linux some configuration

1. Firewall Configuration/etc/sysconfig/iptablesFormat-A input-p tcp-m State--state new-m TCP--dport 443-j ACCEPTMethod of making it effective after modification service iptables restart2. Environment variable

Linux Modify IP

1. Input Vi/etc/sysconfig/network-scripts/ifcfg-eth02, the contents of the inside of the revision changed toDevice=eth0Hwaddr=fc:4d:d4:2e:af:31Type=ethernetuuid=ad8ede6c-2e68-441c-8d8b-8e760fe38305Onboot=yesNm_controlled=yesBootproto=staticnetmask=25

Manually add users in Linux (plot)

1. Add a group in/etc/group, if the user has an additional group, add the name of the user after attaching the group2. Initializing the Add user and the corresponding group ID in/etc/passwd3. Add some settings for the user in/etc/shadow4. Copy the

Linux (centos6.5) connectivity to iSCSI networked storage

Linux Connection ISCSI Networked StorageOperating system platform: CentOS 6.5 x86_64Storage Server Software version: Openfiler esa 2.99.1Install the required package files[Email protected]/]# Rpm-qa binutilsBinutils-2.20.51.0.2-5.36.el6.x86_64[Email

View processes and threads under Linux

three ways to view the number of threads in Linux1, top-h Manual said:-h:threads Toggle plus this option to start a top,top line to display a thread. Otherwise, it displays a process one line. 2, PS XH Manual said: H Show threads as if they were

Share folders on remote Linux pc to your local Windows pc

With Samba on Linux PC already installedOn Linux PC:1. VI /etc/samba/smb.confAdd the following text in the end, NOTE, there is SPACEs before those options. [192.168.0.27.home]           comment = Linux Server 192.168.0.27 home          path

View processes and threads in Linux.

View processes and threads in Linux.Three methods for viewing the number of Threads in linux 1. In the top-H manual, "-H: Threads toggle" is added to start top, and a thread is displayed in the top row. Otherwise, a process is displayed in one row. 2

Start the gearman service in Linux and start gearman in linux.

Start the gearman service in Linux and start gearman in linux.Gearman has not been used for a long time. The Gearman server on the server does not know when it will be stopped. Therefore, when executing the program, an error is reported: File

Total Pages: 5467 1 .... 4281 4282 4283 4284 4285 .... 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.