In Linux sometimes you need to get the IP of the login, there are two methods, first use who am I get the login IP, and then intercept the string:1. awk interception, sed replacementWho Am I | awk ' {print $} ' | Sed ' s/(//g ' | sed ' s/)//g '2.
Premise: Set as a DHCP server, the IP address setting of the machine will be in the same network segment of the assigned address range1. See if the DHCP server is installed# Rpm-qa | Grepdhcp2. Install if not installed# yum Install DHCP3, installed
What is Yum?Yum is the abbreviation for Yellowdog Updater modified. Yellowdog is a Linux distribution,rh that uses this upgrade technology to its own distribution to form the current yum, feeling that Yum and apt are similar in principle, but apt is
For multiple Linux servers, it is necessary to keep the time consistent. According to the accuracy requirements, there should be a corresponding time interval for time synchronization. If you do not synchronize time, long time will be very different,
There are shutdown, halt, reboot, and Init in the Linux Shimonoseki and reboot system, for whom their internal working process is different.1. Shutdown commandIt can be used to safely shut down the system, but when the system is shut down, all
Vboxguestadditions.isoVirtualBox How to implement file sharing between host and virtual machine _ Baidu knowshttp://zhidao.baidu.com/question/250530961.html?fr=qrl&index=0&qbl=topic_question_0&word= Vboxguestadditions.isoVirtualBox after installing
To install a minimized LXDE desktop environment:
Pacman-s Lxde-common
Install LXDE Session:
Pacman-s lxsession
Do not install this cannot log into the desktop environment
To install the LXDE panel:
The production of FHSWe know that there are many distributions of Linux at present, if the directory hierarchy of each distribution is different, then when the administrator to manage the other Linux hosts, it will not know much. And in the process
1. Hierarchical structure of Linux file systemIn a Linux or Unix operating system, all files and directories are organized into an inverted tree structure that starts with a root node.The top-most layer of the file system starts with the root
A few days ago, the rise wanted to play with HBase carefully, carefully to study, wrote a small demo, From Win7 to connect the hbase on another T510 Ubuntu. Very simple crud operation procedures, did not see what the problem, but run up, just like
find a lot of information, do not have windows to do time services, Linux synchronization Windows time, and finally found some software, finally took care of, write to share, so as to avoid many detoursFirst in
You can use neat, netconfig, and ifconfig to configure IP addresses in linux. The first two of them have a user interface, and the third command only sets the IP address temporarily. After the machine is restarted, the configuration will be
The cocould not open/dev/vmmon error occurs when you install VMware and start the new virtual system.
Generally, this is due to the gcc version of the ubuntu system. On my machine is a gcc-4.5, so I changed it to a gcc-4.6 as follows:
Cd/usr/bin
A string command
The string command is mainly used to view the ASCII string in a non-text file. Of course, you can also view the corresponding string of a text file. The command is used as follows:
[22: 41huangyk @ leetcode] $> strings-a numDistinct
First, let's take a look at the services required for the production of pxe. linux:
DHCP, tftp, and pxelinux files,
First, set up a DHCP server.
Install the tftp package as follows:Tftp-server.i686
During installation, the processes and services
Statement
I recently accidentally found the author's personal website http://tiankonguse.com/many of the articles are reprinted by other websites, but the reprinted without declaring the source of the article or reference from the http://tiankonguse.
Environment
Sendmail is installed on the local machine, but it is not started. There is a mail server on other machines and the local machine has been added to the open relay list. You can send emails through this mail server.The procedure is as
Http://blog.sina.com.cn/s/blog_4af3f0d20100g9oz.html
Aaa@domain.com 2Aaa@domain.com 111Bbb@home.com 2222Bbb@home.com 1
Similar to this output, I want to convert them into the following form:Aaa@domain.com 113Bbb@home.com 2223Add the numbers
Install and configure JDK and tomcat in Centos6.3:
1. JDK installation and configuration:
A. Download JDK:
: Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Here I downloaded: jdk-8u5-linux-x64.gz
B. installation:
From: http://blog.csdn.net/svitter
Cited by: http://bbs.chinaunix.net/thread-775649-1-1.html
1. Disable service stop
Netstat-ntlp
Kill-9 PID
2. Use two methods
1. ps aux | grep Port
Kill-9 PID
2. iptables-I INPUT-p tcp -- dport port number-j DROP
3.
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