Disk Management1.DF viewing disk partition usage-l Show only local disks (default)-a displays disk usage for all file systems-H calculates disk capacity with 1024 binary-H calculates disk capacity with 1000 binary-t display file system type-T
To install NTP first (Network Time Protocol)
1. Set the host time, time zone (date-s; tzselect), need to add TZ to the line/etc/profile2. vim/etc/ntp.conf
at the bottom of the file, add server 127.127.1.0Fudge 127.127.1.0 stratum
3.
Service Iptables status can view the current status of the Iptables service.But even if the service is running, the firewall doesn't have to work, and you need to see the firewall rules set up iptables-lLet's talk about the commands for starting and
Method One, use the commandNtpdate time-a.nist.govMethod Two, install the Ntpdate client locallyInstall the Ntpdate client locally, update withNtpdate cn.pool.ntp.orgIf your machine does not support a domain name, you can use ping cn.pool.ntp.org to
Linux System Management installation Rhel 6.4Enter the Installation interface650) this.width=650; "height=" 413 "src=" http://s3.51cto.com/wyfs02/M00/6F/E7/wKioL1Ws-JLiMufgAAGA8Ip7lT8852.jpg " alt= "Wkiol1ws-jlimufgaaga8ip7lt8852.jpg"/>Here you
Define Add.h and add.c two filesAdd.h#ifndef Add_h_ #define Add_h_int Add (int,int); #endifAdd.c" add.h " int Add (int A,int b) { return (A +b);}Compiling and generating so filesGcc-shared-fpic Add.c-o libadd.soWriting a test
When the virtual machine uses the bridge, the network card address is configured correctly, Ping does not pass the gateway, the real machine address, the external network. Can only ping the virtual machine itself address 192.168.1.113, in this case,
About Wpa_supplicant:Use the WPA_CLI command.Wpa_cli-iwlan0 add_network//Wlan0 is the name of the wireless network device, and adding a network will return a number, assuming 1Wpa_cli-iwlan0 set_network 1 SSID ' ... '//Here The SSID is the network
1. Yum Benefits: When installing, updating or removing software, yum can automatically resolve dependencies between software and Yum sources can be obtained by http,ftp, file2. Set YumThe Yum profile is/etc/yum.conf and the download source file is
After the completion of the project, through the safety test after the stress test, after the safety test, there is a security risk to the data encryption problem in the network transmission. You need to configure SSL.A brief introduction to the SSL
LVM management reduces swap partition space and increases to the root partition, lvmswapIntroduction
LVM is short for Logical Volume Manager (Logical Volume management). It is a mechanism for managing disk partitions in Linux. It is implemented by
Solution to disable Firefox Flash
The latest Firefox users may be banned from using Adobe Flash Player because of a security vulnerability in Adobe Flash Player.
The solution for Windows is very simple. You only need to go to the Mozilla webpage
Eclipse deletes all comments and spaces in the code.
Eclipse deletes all comments and spaces in the code.
Replacement method:
Ctrl + F Delete java Note:/\ * {1, 2} [\ s \ S] *? \*/
Ctrl + F Delete xml comments:
Ctrl + F Delete blank lines: ^ \
Ubuntugedit Chinese garbled SolutionInstall the gconf-editor package
sudo apt-get install gconf-editor
Run the gconf-editor program on the command line to enable the editor configuration interface.
gconf-editor
VcD4NCjxwPjxjb2RlIGNsYXNzPQ =
Ubuntu1204vim Chinese garbled SolutionAdd Chinese character encoding
Sudo vi/var/lib/locales/supported. d/local # Add the following Chinese Character Set zh_cn.gbkzh_cn.gb2312 GB2312zh_CN.GB18030 GB18030 # Save and exit
Make the added Chinese
Common Linux commands
Common Linux commands will be updated one after another, hoping to help youDeleteRm-f file1: delete a file named 'file1 '.Rmdir dir1 deletes a directory named 'dir1 '.Rm-rf dir1: delete a directory named 'dir1' and delete its
Set the width of the TAB key in linux
For programmers, typographical code is often required. At this time, the TAB key is required. However, the width of the TAB key is too large, and the code may be too long to extend to the next line, at this
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