This article records the operational records of Linux-related networks in daily work.NC commandUsing the Telnet command in Windows to determine if the remote port is open properly, using NC in Linux can also be a better way to achieve our goal.1, to
command format and directory processing command LScommand format : command [- options ] [ parameters ]For example : ls-la/etcDescription :1) Individual command use does not follow this format2) when multiple options are available, they can be
I will try to write this article with the simplest and clearest ideas.The so-called memory addressing is the process of translating from the address written in the instruction to the actual physical address. Because the operating system has to take
> Standard correct output redirection usage example Find/etc-name *network* >/tmp/findresult.txt2> standard error Output redirection usage example: LS wrong/2>/tmp/wro ng.txt&> correct and wrong full redirect output find/-name root
New User group: Groupadd
Groupadd [-G GID] Group name
No-G is created according to the system default GID group, like the user, GID is also starting from 500
Delete user group: Groupdel
Groupdel Group Name
Cenos Build a git serverAssuming you already have sudo access to the user account, below, formally start the installation.First step, install git :# yum Install gitThe second step is to create a git user to run the git service:# AddUser gitThe third
Folder delimiter, Windows is "/", Linux is "\", according to the program, need to modify
Run the *.pro file through bash, seemingly can only run without parameters, parameters need to write to the file
IDL files cannot be in uppercase, there
Create an RHEL7 system image for OpenStack, openstackrhel7
Create the RHEL7 system image used by OpenStack, set the image, and install XRDP for remote access.
1. Install the RHEL7.2 client in KVM;
2. Set the NIC to dhcp and onboot = yes so that the
How does centos update yum sources and centos update yum sources?
In fact, these things should be clearly written as soon as they are completed. They have been written for a long time. Maybe they have not been written in some places. I hope to see
Common LInux learning commands ls and linux Common commands ls
Command Format and directory Processing Command ls
Command Format:Command [-Option] [parameter]
For example:Ls-la/etc
Note:
1) Some commands do not follow this format
2) when
CentOS7 is set to boot directly into the command line interface, centos7 directlyTo query the centsos settings online, go to the command line interface and change the ": id: 5: initdefault:" in the/etc/inittab file to ": id: 3: initdefault: ", the
CentOS7 configuration log (VirtualBox)
CentOS-Minimal version
1. Install CentOS in VirtualBox.
Create a VM
Download CentOS, put the disk into the disk, start the VM, and install it as prompted (1 GB memory, 10 Gb hard disk or above recommended)
2.
Linux Command learning notes
Basic File Operations
Ls, rm, mv, ln
Ls
Ls [option] [files]
List the contents of the current working directory without Parameters
$ Ls
Lists the contents of a specified directory.
Ls dir1
Or a few files
Ls
How to mount iso files in Ubuntu
Suddenly I found that Ubuntu 15.10 using Virtualbox virtual had a problem. So I wanted to reinstall Virtualbox Guest Additions, but there was a problem with mounting from the menu, so I tried to mount it with the
Linux Command-grep for file text operations
File text operations
Grep
Search for text lines that meet the Regular Expression Conditions in the file
Cut
Intercepting specific fields in a file
Paste
Modify the host name in Linux
There are two ways to modify the host name in Linux,Effective immediately(Restart to restore to the original status) andEffective after restart.
Effective immediately use the command hostname + host name. For example,
Use SMTP proxy to send emails in Linux
If you want to send emails under Linux without an independent domain name host, you cannot send emails to the outside.
Therefore, we can solve this problem with a single issue. In short, we use Linux as a
Linux Tutorial: Set the GRUB menu Password
OS: RHEL6.4-64
By default, after the operating system is started, press any key to go To the GRUB menu editing page.
To set a password for the GRUB menu, modify the/etc/grub. conf file (/boot/grub.
Use iptables for local port forwarding in Linux
Port 16688 of the local machine is not open. How to Use iptables in Linux to forward the local port to an opened port is as follows:
1. view port usage
[Root @ bkjia ~] # Netstat-ntalActive Internet
Configure DNS in CentOS 6.5
Configure DNS in CentOS 6.5
Install bind
# Mount-o loop/root/Downloads/CentOS-6.5-x86_64-bin-DVD1.iso/mnt/DVD# Cd/mnt/DVD# Cd Packages# Ll | grep bind-R -- 2 root 4171112 Aug 28 2013 bind-9.8.2-0.17.rc1.el6_4.6.x86_64.rpm-
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