1. File replication: Native-> remote server :
Scp/home/shaoxiaohu/test1.txt Shaoxiaohu@172.16.18.1:/home/test2.txt
Where test1 is the source file, Test2 is the target file, shaoxiaohu@172.16.18.1 is the username and IP address of the remote
Turn from: http://blog.csdn.net/orclight/article/details/8645545
1. Shutdown, restart, and logoff of the systemShutdown-h now Shutdown system (1)Shutdown-h hours:minutes & Shut down system at scheduled timeShutdown-c Cancel system shutdown at
Linux Tomcat 6 Installation and configuration(1), to the Apache official website (http://tomcat.apache.org/download-60.cgi) download apache-tomcat-6.0.29.tar.gz files.
(2), decompression and unpacking
Enter command:
TAR-ZXVF
The First step: Query memcached Installation resource bundle information
Yun Search memcachedThe directive can query the Yum Library for memcached installation package information. As shown in the screenshot below:
Step Two: CentOS Execute
A good memory is better than a bad pen.
Find is our commonly used command, Linux is a very helpful command, find command the basic use of the following find Pathname-options [-print-exec-ok command] {} \; Parameters:--print: Outputs the results to
Preface: We just started installing Ubuntu on the virtual machine, always reluctant to allocate too much hard disk space. But with a long time to use the hard drive is not enough. One of the stupidest ways to do this is to reload the system, but
1) effective after reboot
Open: Chkconfig iptables on
Close: Chkconfig iptables off
2) immediate effect, restart after failure
Open: Service iptables start
OFF: Service iptables stop
Querying the state of a firewall
Chkconfig--list|grep
You can use the ps-elf command to view thread information in a Linux operating system:
The following data is the thread that is included in the DB2SYSC process of the DB2 database:
192.168.100.228 [SDE ~]$ ps-elf |grep db2sysc|grep-v grep
UID
Linux uses SSHFS to mount remote machines via SSH
Today's own development machine suddenly disk remaining space alarm, and then get a hard disk is not realistic, so think of the company has a machine hung a large disk, so, I secretly locked the
(i) Installation:1) Create/opt/directory;2 Download Linux One-click installation package (7z format, such as: zentaopms.4.0.1.stable.linux.7z), stored in the/opt/directory;3 The installation package is a self-extracting format, change the
This article link: http://blog.csdn.net/kongxx/article/details/7010472
Problem:
The following error always occurs when using the CP and MV commands on Linux today to manipulate files on NFS
cp:preserving permissions for ' filename ':
Linux does not have Internet access prompts Ping:unknown host check steps
The Linux system differs from the Windows platform in order to better use the Web services. Linux is mostly used for Web servers, and the interface is the character interface.
The PS command facilitates us to view the process. Start a program, such as MySQL, you can use the commonly used Ps-aux, Ps-ef plus a grep mysql to do a view to see if the process exists. What is the meaning of these parameters, we only know the
Original: Linux Commands Every Developer ShouldKnowAuthor: azer Koçulu Translator: Roy
A few of the less common Linux commands that make your life simpler. The following is the translation:
As a software engineer, learning Linux is the best time
1, the first need to login Linux system, this time to log on to Linux must pay attention to the use of the user has some special permissions (some view the partition commands need permissions, and the general user does not have), generally I
In the Linux system of the virtual machine to write Hello World driver can not print information at the end, the following is found on the Internet, the experiment is feasible:
This is a common problem with virtual machines. You can open a terminal
When disk space is quickly occupied, we must find some files or folders that are more disk-intensive. Typically, it is most likely to find a place to occupy a disk space file or folder, primarily the/tmp Or/var or/home.
There are currently no
1. Go to/etc/sysconfig/network-scripts and modify the NIC configuration file ifcfg-eno167777362. Modify the network configurationBefore modificationType= "Ethernet"Bootproto= "DHCP"Defroute= "Yes"Peerdns= "Yes"Peerroutes= "Yes"Ipv4_failure_fatal=
The first step: the entire configuration process of the network card is:Execute Setup command-->network configuration--> Device configuration-->eth0 (temporarily select DHCP)--Configuration complete Click "OK"--"save" -->save&quit-->quit, so you
Experimental environment
A minimal installation of the CentOS 7.3 virtual machine
Installing NginxInstalling Nginx Dependency Packagesyum install -y pcre-devel zlib-devel openssl-devel wget gcc tree vim
Nginx relies on Pcre,
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