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
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
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
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
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
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
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 |
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
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
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
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
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
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 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
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
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.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.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
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