Git can bring a lot of convenience to developers. Here I will talk about two scenarios.
Revert
Revert indicates restoration. Those who have used svn should be full of praise for svn revert operations: It can discard uncommitted changes with one
In Linux, we generally do not need to release the memory because the system has managed the memory well. But there are exceptions in everything. Sometimes the memory will be occupied by the cache, which will affect the system's performance by using
The following error occurs when you refresh the network service in the vmwarevm (RHEL6.3) system, resulting in no network connection.
Determining IP information for eth0. .. dhclient (3651) is already running-exiting.
Translation: confirm as
Iptables classic cases
1. As a dual-network interface gatewayFixed public IP Address:
Iptables-t nat-a postrouting-s 192.168.1.0/24-j SNAT -- to 88.88.88.88
Dynamic IP:
Iptables-t nat-a postrouting-s 192.168.1.0/24-j MASQUERADE
This method is
Ubuntu 10.04 is installed in the virtual machine, which is a long time ago. Because only the development environment and Oracle 10 Gb are installed, the occupied space is about 8 GB.
I upgraded 12.04.01 a few days ago. The trouble is that the hard
These two days, I installed KUbuntu 12.04 ON THE X43B series notebook of Asus (the ubuntu unity interface is really not used, mainly because it is not very user-defined) and found that many shortcut keys do not work, the shortcut key settings may be
YUM (Yellow dog Updater, Modified) is mainly used to conveniently add, delete, and update rpm software packages. The software package dependency problem can be solved, making it easier to manage a large number of system updates. It can be configured
Operating System: Ubuntu 12.10x64 Objective: To install the Android SDK Java Install the 32-bit Library File Because some programs in the Android SDK are 32-bit, a 32-bit library file must be installed in the Ubuntu x64 system to be compatible with 3
Linux is a system that automatically generates files, such as logs, emails, and backups. Although hard disks are cheap now, we can have a lot of hard disk space to waste these files, so that the system can clean up unnecessary files at regular
Five Linux file search commands: find, locate, whereis, which, type
Find: find the path of the file or directory
Format: find [path] [expression]
Expression:
-Name: Find the file named filename
-Perm: search by execution permission
-Empty:
Bind a single IP address to the dual Nic to provide high network availability. We may need to bind multiple NICs to a virtual Nic to provide external services, so that even if one of the physical NICs fails, the connection will not be interrupted.
We can use pipelines to redirect the standard output of one command to the standard output of another command. However, some commands can only receive data in the form of command line parameters, but cannot accept data through stdin, in this case,
Script task
1. Determine whether the NIC configuration file name is eth * or em *. For example, if the NIC CentOS5 of the dell server is eth * And CentOS6 is em *.
2. If several NICs exist, copy several original Nic configuration files as the bridge
Compile and install OpenJDK 7 process records in Ubuntu 12.10 and hope to help you.
Environment Settings:Ubuntu 12.10 32-bitJDK 1.6 +Create a directory named workspace under the $ HOME directory
Install the required package
Apt-get install mercurial
1. Development Environment and software
Ubuntu 12.10 + JDK1.7Android SDK http://developer.android.com/sdk/index.htmlAndroid http://dl.google.com/android/ndk/android-ndk-r8e-linux-x86.tar.bz2The Android SDK downloaded by Eclipse already comes with
After CentOS 6.4 is installed on the virtual machine, ifconfig only displays the lo interface information, does not display the eth0 Nic information, enter the/etc/sysconfig/network-scripts/directory, you can see the ifcfg-eth0 file, vim ifcfg-eth0
Ubuntu batch replacement
In ~ The/test file contains
Replace in this file with daniel
Command 1: perl-pi-e's | | daniel | g'' find./-type F'
-Pi-e Parameter
'S | | daniel | G' replace with daniel
'Find./-type F': displays all files in the
I installed it on a virtual machine. I will not talk about installing Ubuntu 12.10. Let's talk about the simple steps of installing Hadoop1.0.4 pseudo-distributed.
Windows 7 hard drive Ubuntu 12.10 graphic tutorial
1. Install jdk
For the
Differences between gmtime and localtime in Linux
I used it some time ago and wrote a small test code. I think it is clear enough to indicate the difference between the two. If I still don't understand it, let's take a look at the chapters in APUE.
Multiport Module
You can use the multiport module to specify multiple ports at a time.
When writing a rule, you must specify the "-m" parameter to check the status.
-M stat -- state detection package status
-M multiport: This module can match a
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