After the Apache configuration Basic authentication, the user is created with the HTPASSWD command.
HTPASSWD establishes and updates a text file that stores user names and passwords for Basic authentication of HTTP users.
Windows and Linux transfer files, the most common tool is ftp,sftp, these two tools to use more trouble, the directory is deep, very depressed. There is no command, you can download anytime, at any time upload. Today only found such a command sz/rz,
This article is my Gentoo system installation configuration, interested friends can have a look.
ThinkPad Middle Key Usually used to use the small red dot and the key to simulate the effect of the wheel, but now installed Gentoo xorg, the middle
A ghost vulnerability is a serious security issue on the Linux glibc library that allows an attacker to remotely gain control of the operating system without knowing any of the systems. At present his CVE number is cve-2015-0235.
Affected operating
Confirm the installation on the first, you can use
The code is as follows
Copy Code
[root@localhost sv005-mongodb]# Service vsftpd restartShutting down VSFTPD: [OK]Starting vsftpd for VSFTPD: [OK]or use the
The general VPS Gateway is not changed, and the single suit also applies.
First, view the current gateway
Arp-a
SSH executes the above command to view the gateway host name, Gateway IP, Gateway MAC address and the corresponding network card, as
Pre-Installation Preparation work first1. Da Authorization2. Close SELinuxThe following commands are used:
Sed-i "s/^selinux=.*/selinux=disabled/"/etc/sysconfig/selinux3. Upgrade
Yum Update4, install the necessary formation
Yum install wget gcc
It suddenly occurred to me today that it would be nice if the server could send a daily MySQL backup to my mail. I also do not need to go to the server every day to download backup files, and this machine can also appear hard disk mechanical failure,
Modify the SSH password. After you log in to SSH, you pass the command:
passwd {User name}
Make changes.
The command to modify the password first enter passwd carriage return: (current) UNIX password: And then enter the password now used to
CP commandFormat: CP [option] source file or directory destination file or directoryOption Description:-B with the same name, to prepare the original file-F Force overwrite file with same name-R to keep the original directory structure in a
Create a test environment and create a few new files
The code is as follows
Copy Code
# cd/tmp# mkdir Test# CD Test# Touch a.php b.js c.css 1.png# ls1.png a.php b.js C.css
Next, find the file to identify the
The adduser and useradd commands are the same commands (symbolic link is connected by symbols ).Permission: system administrator.Adduser is used to add users. In contrast, you can also delete user commands, userdel. Syntax: userdel [login
With the ytalk command, you can talk to other users online. If you want to talk to users of other hosts, add the host name or IP address after the user name.SyntaxYtalk [-isxY] [-h ] [user name...]Parameter description: -H specifies the remote
Dnsconf is actually a symbolic connection of linuxconf and provides graphic cross-section operations for administrators to manage DNS servers.SyntaxDnsconf [-- deldomain ] [-- delsecondary ] [-- newdomain ] [-- set ][-- Setcname ] [-- setmx ] [--
Usage: mkfs [-V] [-t fstype] [fs-options] filesys [blocks]The Linux mkfs command is used to create a linux file system on a specific partition.Parameters: Device: hard disk partition to be checked, for example:/dev/sda1 -V: detailed display
Mpartition is an mtools command to create or delete disk partitions.SyntaxMpartition [-acdfIprv] [-B ] [-h ] [l ] [-s ][-T ] [drive code]Parameters: -A sets the partition as a boot partition. -B specifies the number of magnetic partitions to
Cfdisk is a program used to partition disks. It is very similar to the DOS fdisk. It has an interactive operation interface instead of a non-traditional fdisk Q & A interface. You can easily use the arrow keys to manipulate partitions.SyntaxCfdisk [-
When executing the command, you must specify the disk device to be checked and the number of disk blocks for the device.SyntaxBadblocks [-svw] [-B ] [-o ] [disk device] [number of disk blocks] [start Block]Parameter description: -B specifies the
The rcp command is used to remotely copy files or directories. For example, if two or more files or directories are specified at the same time, and the last destination is an existing directory, then it copies all the previously specified files or
These two commands are used to view and change the file and directory attributes. Compared with the chmod command, chmod only changes the read/write and execute permissions of the file, the underlying property control is changed by chattr.How to use
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