Differences between hosts files and network files in Linux There are two types of configuration files related to computer names in Linux: www.2cto.com 1. hosts files, path:/etc/hosts, this article is used on the network to resolve the ing between
Links to the command for searching files in Linux Study Notes 3: the command for Operating Files in Linux Study Notes 1 contains example 1, which, and whereis, which directly locates the absolute path of the command, only for commands; whereis
In linux, you need to use a script to process files by time based on the last modification time. There is a basic usage related to find, such as the file size, type, and so on. This is about time. For example, find: The last access time of atime,
On the linux character interface, set the Internet proxy. In the profile file, set the relevant environment variable www.2cto.com # vi/etc/profilehttp_proxy = http: // 192.168.20.20: 3128 # specify the proxy server address https_proxy = http: // 192.
Linux tune2fs command details just now in the experiment, that is, partitions, mount these things, because the acl is used, but in linux,/partitions have the acl parameter by default, but other common partitions have, so I just want to set the mount
Description of the find command and xargs command in AIX [plain] www.2cto.com find file command format: find pathname options [-print-exec-OK] pathname: directory path-print: matching file output to standard output-exec: Execute the shell command
Set the "local connection" in the network connection of the virtual machine to access the Internet by using the virtual machine with a fixed ip address. (Right-click "Local Connection" and double-click "Internet Protocol" to see if it is automatic!
In linux, Server Load balancer is required to build a solr cluster for the solr cluster using nginx, but in the test environment, no F5 Big-IP Server Load balancer switch can use www.2cto.com, so I tried weblogic proxyserver, and Apache, the results
First taste batch processing-Batch delete svn mark this program is used to delete the subdirectory named. svn under the specified directory in the loop, that is, delete svn information. You can copy the above Code to the wendows text file and modify
In linux, the SNMP installation configuration takes the redhat installation configuration as an example: Compile and install www.2cto.com. First, we need to download the Net-SNMP source code and select a version, such as the latest version 5.7.1,
Ubuntu 10.04 install ibus on the premise that the ibus software has been installed in ubuntu, which also contains some pinyin input methods, but it is not easy to use at all. The input method I installed on www.2cto.com is displayed in ibus as a
In ubuntu, System Time and network Time synchronization are divided into System Clock (System Time) and Real Time Clock (hardware Time, RTC for short ). System time: the time in the current Linux Kernel. Hardware time of www.2cto.com: Time When
View System Resources in linux: www.2cto.com # uname-a # view kernel/OS/CPU information # head-n 1/etc/issue # view OS version # cat/proc/ cpuinfo # view CPU information # hostname # View computer name # lspci-TV # list all PCI devices # lsusb-TV #
Here, Redhat introduces three methods to view the Linux kernel version. The results of each method are different, so that you can submit materials for analysis.[Root @ localhost ~] # Uname-Linux localhost. localdomain 2.6.18-128. el5 #1 SMP Wed Dec 1
Thanks to the open-source and free linux, more and more manufacturers are using it for firewalls and routers, such as sea spider and flying fish star. In fact, we can also use linux to build a high-performance router. the following uses red hat as
Now linux is more and more widely used. Not only in terms of server applications, but also on the desktop of many of my friends, especially those who are developing, I often use svn under the command line, I searched the internet for how to use svn
Wget http://nginx.org/download/nginx-1.0.4.tar.gz
1. Install
Install it on/usr/local/nginx by default
Tar-zxvf nginx-1.0.4.tar.gz
Cd nginx-1.0.4
./Configure
Make; make install
2. Run
/Usr/local/nginx/sbin/nginx
# Note: nginx uses port 80
After the redhat system was reinstalled today, when installing apache, I encountered the no acceptable C compiler found in $ PATH error. I found some information from the Internet and asked me not to install gcc or other compilers, we recommend
1. the user is required to enter the name, age, and gender.
#! /Bin/bash
Read-p "Please input your name:" name
Read-p "Please input your age:" age
Read-p "Please input your sex:" sex
Echo "Your name is $ name, age is $ age, sex is $ sex ."
2. Write
Installation of software in linux
In linux, software is installed in two ways: one is to directly download the source code package and install it after compilation; the other is to directly obtain the rpm package for installation.
Any software
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