Phase Three third Lecture1. Group Management/user management (important file system will be backed up in real time file-)Vim/etc/group: Group Management File://Group name: Password Control key: Group ID: memberVim/etc/gshadow: Group Password
Linux Remote Connection Desktop notesVI after editing the input: input Wq Save and exitPurpose: To connect a Linux system remotely to a Windows-side graphic.1, the first need to install Vncserver in Linux, in general, the system is installed by
By default, the Find command outputs a file name each, followed by a newline character (' n '), so the output of find is one line:[bash-4.1.5] Ls-lTotal 0-rw-r--r--1 root root 0 2010-08-02 18:09 File1.log-rw-r--r--1 root root 0 2010-08-02 18:09 file2
One is to use boost::atomic; a direct lock; The code is simple:#include #include #include #include #include #include #include #include static int loop_num = 10000;boost::atomic A (0); static Boost::mutex mtx_;static void* test_atomic ( void*
1 Auto-complete/prompt command TABsuch as Mount.ntfs just enter Mount.n+tab2 Switching TTY Alt+f1 ... F6 up to 6 tty, Alt+f7 seems to return to the boot screen.CTRL + a return to the beginning of Ctrl+e line at the end of CTRL + C Abort program Ctrl+
Five scenarios for grep to search for strings
Search for a specific string
Use [] to search for characters. ^ in the character set symbol ([]) represents the inverse selection, which stands outside [] to locate at the beginning of the
Reboot the system.Enter the system boot interface:Press the E key:Select the second key, the kernel startup parameter setting, press the E key:At the end, enter the number 1 or English "single" and Return to:Press the B key to start the boot program
Linux packages are divided into source packages (script installation packages) and binary packages (RPM packages, system default packages). The advantages of the source package are:1) Source package is open source, if you have enough ability, you
/etc to store the configuration files and subdirectories required for system managementHome Directory for general users/usr information such as system directories and applications used by users/bin Store user's frequently used commands such as CP LS
When we create a file or folder in Linux, the system always assigns a default permission to the objects we create, so today we'll see how this default permission is derived. And how do we change the default permission settings for the system?In the
The Linux grep command (Global search regular expression (RE) and print out of the line) is a powerful text search tool that can use regular expressions to search for text and print matching lines. The grep application was first written by Ken
1, create the API for the node under the/proc file systemHttp://www.cnblogs.com/ziziwu/archive/2011/10/20/2218975.htmlstruct Proc_dir_entry *create_proc_entry (const char *name, mode_t mode, struct proc_dir_entry *parent);The parameters are/proc
View watch commands in CentOSLinuxWatchCommand-to process duplicate tasks
LinuxInWatchCommand provides a way to process repeated tasks. DefaultWatchThe command is repeatedly executed every 2 seconds. Watch is a good tool for observing log files. The
Check port usage in linux
1. Start a jetty server in the Fedora20 system. port 8080;
2. Run the following command:
[doctor@localhost bin]$ lsof -i:8080COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEjava 10033 doctor 180u IPv6 253547
Solve the problem when Ubuntu is stuck in the login interface.
At noon, I accidentally broke/tmp. When I came back at night, my computer got stuck on the login interface, logging in cyclically and logging in until I got in.
Call tty1 to delete/tmp
Compile and set the Eclipse plug-in of Hadoop2.6.0
Compile the eclipse plug-in of Hadoop2.6.0
Download source code:
Git clone https://github.com/winghc/hadoop2x-eclipse-plugin.git
Compile source code:
Src/contrib/eclipse-pluginAnt jar-Dversion = 2.6.
Build Hadoop2.4.0 development environment under Eclipse
1. Install Eclipse
Download Eclipse, decompress and install it, for example, to/usr/local, that is,/usr/local/eclipse
4.3.1: http://pan.baidu.com/s/1gd29RPp
2. Install the Hadoop plug-in on
Install openstack quickly in devstack under Centos7
Prepare the environment
Selinux and iptables disabledmkdir-p~/.pip# Using Douban pip Sourcevim~/.pip/pip.conf[global]index-url=http://pypi.douban.com/simple/yuminstall-ygit# Install
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