Manage server IP address and host name in DHCP+DNS mode. Before the server is put on the shelf, based on its MAC address, configure the host reservation in DHCP and assign the host name. DHCP combi
Category: OS
Operating System (Operating System, referred to as OS) is a computer program that manages and controls computer hardware and software resources. It is the most basic system software that runs directly on the “bare metal”. Any other software must be supported by the operating system to run .
Linux Command Directive
1.ls display directory content
-a display all files in the directory
-l show detailed information
ls *.c list all the current directory.cFile
2.uname -a Check the kernel ver
What is the difference between the terminal between OSX – Iterm2 and Mac?
I have seen many programmers use iTerm2 instead of the default terminal on the Mac. But what is the difference between these two housing terminals on the earth? To me, they are the same, except for
Can I use the HOMEBREW’s QT5 and Capybara-webkit?
I want to use QtWebKit and capybara-webkit of qt5.
brew uninstall qt
Uninstalling /usr/local/Cellar/qt/4.8.4…
brew install qt5This formula is keg-only: so it was not symlinked into /usr/loc
Homebrew installed MPV
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/ Homebrew/install/master/install)”
Install homebrew, vim ~/.bash_profile Configure environment variables, reference: [Mac] Ins
Linux LAN through mapping (dual network card)
Illustration:
1.IP planning settings
2. Modify network card configuration and iptables configuration
??? strong>??? ????< /strong>??? strong>??? ????? strong>??????< strong>???? s
I can use homemade dry run to see the details and how I will install?
Is it possible to run it in verbose mode without actually installing the package, but just the details from where and how will the package be installed? In the context of performing the upgrade,
linux-dns-11
1. The DNS server address setting in the network card setting configuration file, 2. The system default DNS server address setting. 3. Hosts file designation
The effective order is:
1 hosts fil
Largest Rectangle in a Histogram 杭电1506
Subject link: http://acm.hdu.edu.cn/showproblem.php?pid=1506
#include
using namespace std;
const int N=1e5+7;
typedef long long ll;
ll arr[N];
int main(){
int n;
while(cin>>n,n){
s
Linux Common Directive 3
cal command:
cal output the calendar of the current month
cal -1 is equivalent to cal
cal -3 output the calendar of the previous month, this month, and the next month
cal -y year output