I. Purpose
When using the CentOS6.5 version Linux system, found that the root directory (/) of the space is not sufficient, and other directory space has a lot of free, so this article is mainly for the existing space to adjust. First, let's look at the space allocation of the system: [Root@innoplay01 ~]# lsb_release-aLSB Version:: base-4.0-amd64:base-4.0-noarch:
View Kernel versionUname-rUname-aTo view the current Linux system version:Cat/etc/redhat-releaseTo view the size of a directoryDu/home-sh#env View Environment variables#lsmod View kernel-loaded service modules#du-sh usr to view the size of the specified directory#uptime View System uptime, number of users, load[Email protected]/]# uptime17:42:08 up, 6:47, 1 user, load average:0.01, 0.02, 0.05InternetIFCONFI
I. Purpose
When using the CentOS6.3 version Linux system, found that the root directory (/) of the space is not sufficient, and other directory space has a lot of free, so this article is mainly for the existing space to adjust. First, let's look at the space allocation of the system:
[Plain] View plaincopyprint?
01.[root@centos-78/]# df-h
02.Filesystem
Tags: IP address ddd mount point txt star file reload user rom1. Application scenario, build Sam shared directoryAvailable for Linux and between Windows
2. Server ip:192.168.56.11 (A)Client ip:192.168.56.133 (B)
View firewall status and close[[emailprotected] ~]#systemctl status firewalld[[emailprotected] ~]#systemctl disable firewalld[[emailprotected] ~]#systemctl stop firewalld[[emailprotected] ~]#setenforce 0
Install Sam First and
Achieve the goal: the /var/www/sw_service directory on the 172.16.1.64 server is synchronized with the/var/www/sw_service directory on the 172.16.1.60 server,i.e. 1.60 Active to 1.64 syncEnvironment configuration:server-->172.16.1.64 /var/www/sw_serviceclient-->172.16.1.60 /var/www/sw_serviceApplication Deployment:First, server segment configuration1,rsync system
Vsftpd is one of the most common FTP servers in Linux. The installation and configuration of vsftpd are very simple.
however, after the installation and configuration are complete, the following error may occur when you log on to the system account using the client: 500 Oops: cannot change directory: /home/username 500 Oops: child died Connection closed by remote host. the preceding reason is that
that holds the Boot program commandChkconfig a service that is commonly used to manage YUM/RPM-installed programs boot fromown development of the program, used to put the start command into the/etc/rc.local, to enable the start of these programs, Linux power on the landing before the rc.local will be executed once
/etc/inittab
Set the boot file settings for the INIT process to set the system to the operating level and load related
of apt-get through multiple parallel connections.
apt-file: Used to see which of the. Deb packages a particular file belongs to, or to display all files in a specific. deb package. Both installed and non-installed packages can be supported.
dpkg: A command-line tool for manually installing the. deb package. It is highly recommended to use apt as much as possible.
Yum: Automated package management tools for Red hat-based systems such as Rhel, CentOS, or Fedora. This is another life b
In the end of the second phase of the Canton Fair Internship, and ushered in a few days of leisure, continue to learn Linux. In the previous essay on Linux learning CentOS (17)--some important commands related to Linux file and directory management, ① has documented some important commands related to
We sometimes encounter the need to restrict a Linux user to add, modify, delete only in the specified directory, and only use SFTP to log on to the server, not SSH operation. These can be implemented by configuring the SFTP service.There are vsftpd and internal-sftp for the SFTP service, the system comes with the INTERNAL-SFTP, the following steps:1. Create new user UI, disable SSH login, do not create home
We sometimes encounter the need to restrict a Linux user to add, modify, delete only in the specified directory, and only use SFTP to log on to the server, not SSH operation. These can be implemented by configuring the SFTP service.There are vsftpd and internal-sftp for the SFTP service, the system comes with the INTERNAL-SFTP, the following steps:1. Create new user UI, disable SSH login, do not create home
We sometimes encounter the need to restrict a Linux user to add, modify, delete only in the specified directory, and only use SFTP to log on to the server, not SSH operation. These can be implemented by configuring the SFTP service.There are vsftpd and internal-sftp for the SFTP service, the system comes with the INTERNAL-SFTP, the following steps:1. Create new user UI, disable SSH login, do not create home
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.