It's easy to find files and directories in Linux
#已易读的格式显示指定目录或文件的大小, the-s option specifies the size of each subdirectory or file not shown in detail for the directoryDu-sh [Dirname|filename]Such as:The size of the current directory:
NFS is a network file system that allows multiple machines to share a file resource that accesses a single host.NFS may be used in the following situations:1. Multiple PCs share printers, CD-ROMs, and other resources using the same PC.2, multiple
Under the CentOS system, there are two main ways to set up your own installed programs to boot.
1, the start of the program to add the command to the/etc/rc.d/rc.local file, such as the following is the setting up boot httpd.
#!/bin/sh #
This example describes the CentOS firewall usage. Share to everyone for your reference, specific as follows:
Shut down:
/etc/init.d/iptables stop
Open:
/etc/init.d/iptables start
Reboot:
/etc/init.d/iptables
The example of this article describes the CentOS Simple Operation command and the Node.js installation method. Share to everyone for your reference, specific as follows:
To view the version of the CentOS kernel:
Uname-a
Uname-r
View
Installation Instructions
System Environment: CentOS-6.3
Installation mode: Yum Install (source code installation is easy to produce version compatibility problem)
Install software: The system automatically downloads SVN software
Check for
1, under the/etc/yum.repos.d/to establish Mariadb.repo, the contents are as follows:
Copy Code code as follows:
[Azureuser@mono etc]$ CD/ETC/YUM.REPOS.D
[Azureuser@mono yum.repos.d]$ VI Mariadb.repo
# MARIADB 10.0 CentOS
Objective
First of all, specifically, Yum is just to solve the problem of RPM dependencies, rather than a different software installation mode. Although in the CentOS can directly use the Yum source, but also exists with the external network
Because the previously built MongoDB fragment does not use the replica set, the recent network pressure is large, so ready to study, so in their own computer virtual machine to build the environment, but found before VMware set DHCP, so each resume
Configure SSH without logon verification, in many scenarios is very convenient, especially in the management of large cluster services, avoid cumbersome password verification, the higher the security level of the server, the usual password settings
After completing the recording of the U disk System disk, the next step is to install the CENTOS7 system on the computer.
"U Disk system disk Burning"
Here, My Computer brand is Lenovo's. I don't know the exact model.
Insert a U disk into the
Linux system boot starts the boot process starting from the beginning of the BIOS detection of hardware information =. Reads the MBR (the first sector of the NO. 0 track on disk), which is the master boot record, which is the primary boot recording.
Linux system boot starts the boot process starting from the beginning of the BIOS detection of hardware information =. Reads the MBR (the first sector of the NO. 0 track on disk), which is the master boot record, which is the primary boot recording.
Because learning requires VMS to be installed, it is cumbersome to switch back and forth with Ctrl+alt with virtual machine operations. It's much more comfortable to use SSH to connect to terminal. However, if you do not shut down the firewall ssh
General idea, prepare master and slave server, configure Primary server can SSH login from server without password, unzip and install JDK, unpack and install Hadoop, configure HDFs, MapReduce and other subordinate relations.1, the environment, 3
Upgrading the kernel requires the use of Elrepo's Yum source first we import the Elrepo keyRpm–import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
Upgrading the kernel requires the use of Elrepo's Yum source
First we import
1. First uninstall CentOS's built-in git1.7.1:Use git-version to view the version of the system. Cento6.5 should contain the git version 1.7.1.> # Yum remove git2. Install the package required for git compilation> # Yum install curl-devel
Record several common yum sources under CentOS 7, including PHP7, MariaDB, Redis, and Nginx, as well as Alibaba Cloud sources to facilitate installation of these software on virtual machines or cloud hosts.1. PHP7 remi sourceUse remi Source:$ Sudo
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