1, give you a RPM package, query whether installed, installed how to deleteRpm-qa rsync to see if the Rsync pack is installedRpm-e rsync Offload rsync pack--nodeps ignore dependencies2. View disk spaceDf-h3, 443 port is what
1. See how many hard drives are available#fdisk-LWell, in general, leave the system disk, the other disks if the size of the same, all together to do a raid.2. Decide what type of RAID to do.raid-0, Raid-1, raid-5?If you have three disks (or more)
default startupTcpdumpunder normal circumstances, direct start tcpdump all packets that flow through the first network interface are monitored. Monitoring packets for a specified network interfaceTcpdump-i eth1If you do not specify a network card,
Partitioning is an important prerequisite for installing Linux, and if the partition is not planned at the time of installation, it will bring a lot of trouble to the daily operations.Usually we divide the following disk blocks:
/
/boot
5. Manage users and commands to set up permissions:(1) chmod: Used to change license permissions, including read, write, execute. The R file can be read. The W file can be written. X files can be executed. You can view the details of a file by [Ls-l]
Basic principles of Linux1, Linux is a single purpose of the small program composition, the combination of small programs to complete complex tasks.2, Linux system under all documents.3, try to avoid capturing user excuses.4. The configuration file
LinuxThe file permissions and directory configuration
Linux Documents, a sentence of authority is divided into users, groups and other people three kinds of identities. One of the most right-to-use features of a group is when the team
For people who frequently use Linux systems, the RZ/SZ command is a convenient means of uploading local files to the server or downloading files from the server, but many Linux systems do not initially have these two commands. Today, we will briefly
First, create the syntax:ln [options] Existingfile NewFileln [options] Existingfile-list DirectoryCreate a soft link with-s without creating a hard link with-S.-F is created, it is deleted with the file name.-I ask before deleting.Second,
First, modify the MAC address methodIn the Linux environment:Need to use#ifconfig eth0 DownDisable the network card firstRe-use ifconfig eth0 hw ether 1234567890abSo you can change it.If you want to change it forever,Add these three sentences in/etc/
1, check that the port is occupied by that processExample: NETSTAT-ANP | grep 1160PS: View Port 1169 is occupied by that process.2, finding the processExample: Ps-ef | grep ' Tomcat 'PS: Find process with Tomcat in process name3, terminating the
Linux Shutdown and restart commandsRestart command:1, reboot2. shutdown-r now reboot (root user)3, Shutdown-r 10 over 10 minutes automatic restart (root user use)4, Shutdown-r 20:35 restart at 20:35 time (root user use)If you set the restart through
. Represents the current directory
.. Represents a previous level directory-Represents a previous working directory~ Represents the home folder where the current user identity resides
CD Switch Directory
PWD Displays the directory
Eth0,eth1,eth2 ... Represents a NIC, Nic two, Nic three ...Lo stands for 127.0.0.1, which is localhostWlan0 on behalf of wireless network cardReference:Linux command: IfconfigFeature Description: Display or set up a network deviceSyntax: ifconfig
Bind the ip address and host name in Linux.
1: Enter the command gedit/etc/hosts
In this way, you open a text and add the following content at the end of the text:
IP address Host Name
192.168.0.125 hadoop
Save and exit.
How to resolve a linux
Install the open-source simple and powerful integrated development environment on your Ubuntu-Brackets
Brackets is an open-source HTML, CSS, and JavaScript-based integrated development environment running on native shell. This project is created
Build a development environment using Vagrant
To do Web development, you must build a development environment locally. Although various scripts currently have corresponding Windows versions, or even one-click installation packages, however, in many
Linux Command 1 and Linux Command 1
I am a beginner in Linux, and my experience is certainly not as comprehensive as you are, but I really want to write down what I have learned and some of my insights in the learning process.
First of all, I mainly
Summary of compilation language development in linux
Assembly Language is a low-level language that directly corresponds to the system instruction set. As languages become more and more abstract today, assembly languages are not as widely used as
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