1. Switch machineShutdown-h now shuts downShutdown-r now restart your computerReboot restart your computer nowLogout logoff2. VI EditorVI file name opened with VIInput I [Enter into insert mode]Enter ESC key [Enter command mode]Enter Wq Save Exit q!
After encountering a Linux reboot today, the system boots up to a service and hangs up. However, remote connections can be made via SSH. At this time, you can use the statement to restart the service startup settings, the method is as follows:For i
Name: TRLocation:/usr/bin/trPermissions: All UsersFunction: can be used to delete text in a piece of information, or to replace the text informationUsage: TR [OPTION] ... SET1 [SET2]Options:-D Delete the SET1 string in the message-S replaces
$PATH: determines which directories the shell will look for commands or programs, the value of PATH is a series of directories, and when you run a program, Linux searches for compiled links in these directories.Edit your PATH declaration in the
Happy Shrimphttp://blog.csdn.net/lights_joy/Welcome reprint, but please keep the author informationto implement the display of memory blocks, you need to implement IDebugMemoryBytes2 interface, similar to this: Class
VI Common Command line1.VI modeA) General mode: VI when processing a file, one enters the file, which is the general mode.b) Edit mode: In general mode can be deleted, copy, paste and other operations, but unable to edit the operation. Press the ' I,
[Yangxb@localhost ~]# NETSTAT-NLP The parameters of the netstat command are described below: -T: Indicates that the TCP port is displayed -U: Indicates the display of UDP ports -L: Only listen sockets (so-called sockets are programs that enable
Happy Shrimphttp://blog.csdn.net/lights_joy/Welcome reprint, but please keep the author information 1.1 failedaccording to the documentation, disassembly should be implemented IDebugDisassemblyStream2 interface, and then in The debugger
1.linux under Installation1. Download pcre-8.10.tar.gz nginx-1.1.1.tar.gz2. Install pcre let nginx support rewritePcre-8.10.tar.gz upload to the/home directory1) Unzip the PcreTar zxvf pcre-8.10.tar.gz decompression pcre after home/home there will
1. Input Vi/etc/sysconfig/network-scripts/ifcfg-eth02, the contents of the inside of the revision changed toDevice=eth0Hwaddr=fc:4d:d4:2e:af:31Type=ethernetuuid=ad8ede6c-2e68-441c-8d8b-8e760fe38305Onboot=yesNm_controlled=yesBootproto=staticnetmask=25
Work needs, wrote a time-stamp acquisition method, mainly for Win32 and Linux, theoretical iOS as long as the use of code compiled static library can [not try]Direct codeHeader file # include #include #ifdef win32#include #else # include #endif//
Linux Command date, linuxdate
Date usage 1:
FORMAT: date [OPTION]... [+ FORMAT]
FORMAT controls the output. Interpreted sequences are:% A literal %% A locale's abbreviated weekday name (e.g., Sun)% A locale's full weekday name (e.g., Sunday)% B
Linux-related use, linux-related
View the tomat process ps-ef | grep tomcat
View java-related jps
Finding the tomcat directory find/-name tomcat seems okay, but new users may feel helpless. If you install tomcat, it is estimated that tomcat cannot
Install go lang in CentOS 6.5)1. Set the system environment variable [plain] view plaincopyprint?
Vi/etc/profile
Add at the end (press the I key to enter the editing status, drag the cursor down, add the following, and then press: wq to save
Install OwnCloud 7.0.4 on Ubuntu
At the end of 2014, OwnCloud 7.0.4 released some bug fixes and updates.
OwnCloud is an open-source file synchronization service and a free community edition for everyone. It operates the ownCloud Enterprise Edition
Ubuntu14.04 to enter the text mode, ubuntu14.04 textBefore ubuntu 10.10, perform the following operations: 1. The specific commands and operations are as follows: sudo vi/etc/init/rc-sysinit.confenv DEFAULT_RUNLEVEL = 3 Stop on runlevel [0136]
Install "&" on centos"
After the CENTOS code is changed to zh_CN, all Chinese characters are framed. In this case, you can install Chinese fonts.
1, # cd/usr/share/fonts/default
2, mkdir-p./truetype/simsun
3. Obtain the simsun. tcc file. If
Use Glusterfs in CentOS 6.0-x86_64
Environment:
CentOS 6.0-x86_64
The cluster uses three servers to form a Glusterfs cluster. The two servers provide the NFS and Rsync services for backup.
Each server has two NICs, eth0 corresponds to the Intranet
Hardware platform supporting 0.1 million Git Repositories
If you want to host a project, consider GitLab.com. On this website, we run a single-instance GitLab. Currently, nearly 20000 users are using this service. A single machine is hosted on more
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