makepasswd
MAKEPASSWD and Pwgen work the same way, but the passwords it generates are not easy to remember. All passwords are randomly generated, and makepasswd is more security-oriented than Pwgen.Install MAKEPASSWD, enter at Terminal:
The code is
Linux is a multi-user multitasking operating system, all users who want to use system resources must first apply to the system administrator for an account, and then enter the system as the identity of the account. The user's account can help the
Gitlab Mail alerts facilitate tracking of project progress, here are two ways, one is to use the system sendmail send mail, the other is Gmail stmp to send mail
The first is to use system SendMail to send mail
The code is as follows:
First with du-sh/usr/* | Sort-rn This command to view the USR directory
Found this directory is very large and then go to see which directory is big
Finally found cd/usr/local/mysql/data this directory to the largest and then use Du-h–max-depth=1
For the first time playing Docker, the system did not allocate/var partition, and more than 500 g of the remaining space is divided to the/home.
When playing Docker, only to find this goods default storage location is in/var/lib/docker.
There are
Installing Samba
Yum Install samba*
Modify Samba Configuration
Vim/etc/samba/smb.conf
#在homes后添加 (explain that the web in the Web is also the name that was later mapped in Win7)
[web]Path =/databrowseable = yeswritable = yes
Add Samba user SMB
For many novice, how to use the Windows Remote Linux operating system, is a big problem ahead. If the problem does not go forward, let alone the other.
Linux or max OS x system computer, login steps are:1. Open the SSH client2. User name: Root3.
1, create a group
Groupadd Test
Add a test group
2, modify the group
Groupmod-n test2 Test
Change the name of the test group to Test2
3, delete the group
Groupdel test2
Delete Group Test2
4, view Group
A), view the group groups the
According to Wikipedia's interpretation, XZ is a lossless data compression file format using LZMA compression algorithms. As with gzip, BZIP2 supports multiple file compression, but the Convention does not compress more than one target file into the
There are two ways in which a process is occupied:
The code is as follows
Copy Code
1, NETSTAT-ANL | grep "80";2, lsof-i:80
Cases
code is as follows
copy code
[Root@host ~]#
Example 1, manually backing up the database and Web site files
The code is as follows
Copy Code
#!/bin/sh# FileName: rptsmain.sh# Copyrights: Copyright (shell) 2007-2007# version Number: V1.0# function Description: Data
First, install the software
We buy VPS, generally have pre-installed iptables, you can check the status of the Iptables, confirm whether the installation.
Service Iptables status If prompted for iptables:unrecognized service, you need to install.
Linux Modify SSH Port 22
The code is as follows
Copy Code
Vi/etc/ssh/ssh_configVi/etc/ssh/sshd_config
Then change to port 8888
As Root service sshd restart (Redhat AS3)
Using putty, Port 8888
Linux under the
When it comes to "sync," the weapon that has to be mentioned is rsync, and today is the art of sync I see in this tool.
1. Configure the synchronization source
Install rsync:yum-y Install rsync xinetd
Open Rsync:vim/etc/xinetd.d/rsync Change
RYSNC is a data mirroring and backup tool that enables both local and remote host files, directories, fast synchronous mirroring, remote data backup and other functions. In the process of synchronization, Rsync is based on its own unique algorithm,
Prior to the company's system due to the problem of network cards, often a switch (switch excluding the attack factors) or suddenly hung up,
Seriously affects the normal availability of the service, so you want to resolve it automatically when this
1. Permanent entry into force, no recovery after reboot
Open:
The code is as follows
Copy Code
Chkconfig iptables on
Shut down:
The code is as follows
Copy Code
Chkconfig iptables
There are five Linux restart commands:1. shutdown2. poweroff3. init4. reboot5. haltThe following describes the usage of various commands:ShutdownRebootIn linux, some common shutdown/restart commands include shutdown, halt, reboot, and init, which
First install various decoder1. lameLame-3.99.5.tar.gzUrl: http://sourceforge.net/project/showfiles.php? Group_id = 290 & package_id = 309The installation method is as follows:1 tar-zxvf lame-3.99.5.tar.gz2 cd lame: 3.99.53./configure --
Trash-cli provides a set of command-line recycle bin tools. In the Gnome environment, the recycle bin in this command line is consistent with the Gnome recycle bin. Deleted files will enter the recycle bin either in the command line or in the
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