comprehensive security system, so there are certain restrictions on files and services, such as FTP, for example.SELinux creates a contextual identifier on the file, as shown in "File" under "/mnt" and "/var/ftp/pub", and "ls-z" to see the file ID. As you can see, "/mnt/file" is "mnt_t" and "/var/ftp/pub/file" is identified as "public_content_t", which causes the "/mnt/file" to be moved into the "/var/ftp/pub" directory, Connection Lftp cannot see th
files contained in the deb package file
Dpkg? C. display the list of files not included in the deb package installed and the installation location
Install software package
Install deb Software Package
Dpkg? I manually install the deb package to the system, but sometimes the Dpends relationship exists. We recommend that you use apt-get to install the package.
If you use dpkg? After I install the software, the software is not successfully installed due to the relationship between Dpends. You can
. passZwdlc EEoz14swg
Create an ftp service directory for sharing# Mkdir/data/ftp# Echo-e "$ pass \ n $ pass" | pure-pw useradd $ user-u test-d/data/ftp/Pure-pw creates a user
-U test maps a user that must exist in a user system. Map created random users to users in the systemPure-pw mkdb # create a password file to save the user and password to a binary file. Path in the path specified by PureDB in the/etc/pure-ftpd/pure-ftpd.conf configuration file[Root @ localhost ~] # Ls-l/etc/pure-ftpd/pure
In linux, when I first discovered LFTP, LFTPmirror's advanced application noticed its powerful mirror function. Because it can pass in parameters to the mirror command to control the synchronization behavior: reverse uploads data to FTP, you can also use-Rdelete: If... in linux, when I first discovered LFTP, the advanced LFTP mirror application noticed its powerf
encoding selection. Good support for ChineseFileZillaGood support for ChineseKrusaderFTP://IP can also be used via browser inputIf you have a favorite can be installed through apt-get or aptitude.2,CLI (command line) mainly has FTP and lftp(1) FTP1. Connect to the FTP serverFormat: FTP [hostname| ip-address]A) under Linux command line input: FTP 10.18.34.115b) The server asks you for your username and password, enter yint and corresponding password s
SVN backup/recovery script
The previous article introduced the configuration of svn (see). Here we have written two scripts for full backup and recovery of svn. Because it is full backup, we can make a scheduled task and execute it once a day. Keep data for several days.
1. Backup script:#! /Bin/sh### Description: SVN full backup of the project# Author: Mr. chen# Date: 2015/02/10# Email:##SVN_BASICDIR = "/usr/local/svn/bin"DAY = 5 # Backup files keep daysTIME = 'date + % Y % m % d % H % m'SVNPAT
/local/pureftpd/sbin/pure-config.pl/usr/local/pureftpd/etc/pure-ftpd.conf//starts successfully and displays a long line of information beginning with running//Create an account[Email protected] ~]# mkdir/data/www/[[Email protected]~]# useradd www[[email protected]~]# Chown-r www:www/data/www/[[Email protected]~]#/USR/LOCAL/PUREFTPD/BIN/PURE-PW useradd ftp_user1-uwww-d/data/www/Password:enter it again:[[email protected]~]#/usr/local/pureftpd/bin/pure-PW MKDB//add an account again[Email protected]
Unconfined_u:object_r:default_t:s0->system_u:object_r:public_content_t:s0Restorecon Reset/westos/file1 Context unconfined_u:object_r:default_t:s0->system_u:object_r:public_content_t: S0Restorecon Reset/westos/file2 Context unconfined_u:object_r:default_t:s0->system_u:object_r:public_content_t: S0Restorecon Reset/westos/file3 Context unconfined_u:object_r:default_t:s0->system_u:object_r:public_content_t: S0[[email protected] ~]# ls-zd/westos/# #再次查看安全上下文 to see if the change was successfulDrwxr-
Vsftp service configuration
FTP server introduction:
The FTP server is a server that provides file storage and access services. It implements data transmission through ftp (file transfer protocol). FTP is only based on TCP services and does not support UDP. An FTP application is a C/S architecture application. Both the client and server must install relevant software to implement data transmission between them. Common Software Kits include FileZilla, Server-U, VsFTP, Pure-FTPd, ProFTPD, etc. Amo
-commerce website (automatic local/remote dual-backup of website files and databases)
Iii. Automatic local backup of websites and databases and FTP upload of the backup Shell script to complete the instance; detailed explanation and comment on the backup script.
At the beginning of the e-commerce website in operation, we have been reiterated that we must back up our own data, because too much uncertainty may cause database loss, in addition, most basic service providers cannot provide daily back
This paper mainly solves the problem of how to use the lftp command to backup files to FTP server in Linux Debian system.
Conditions:
1, Linux DEBIAN6 system, network connectivity is good.
2,/etc/apt/sources.list inside the URL is correct.
3, the FTP server's account and password is correct.
Thought:
1. The operation of the backup file is performed by a script.
2, in the Linux system under the regular execution of the script.
Content:
Step one: Learn
Multi-thread download in linux-general Linux technology-Linux technology and application information. The following is a detailed description. The external egress bandwidth of thunder is 100 M, but the speed of using wget in linux is still relatively slow. The key is that wget does not support multithreading.
In windows, it is troublesome to download it with thunder and upload it to linux. Is there a multi-thread download tool in linux Command Line? The answer is yes.
simple, and you're going to have more problems than you think when you actually do it. Some of you can easily solve, but there are some problems I believe not everyone can quickly solve, so the knowledge of this thing is a step by step accumulation, thank you for your support!I'm here to make sure that over the next few days, you'll be able to learn a lot and very useful knowledge about Linux, Oracle, cloud computing!
The fifth day of the classes: Main content outline:
installed.
Query the files contained in the Deb package file
Dpkg-C displays the list of files not installed with the Deb package, and the installation location
Install software package
Dpkg-I manually install the Deb package to the system, but sometimes there is a dpends relationship. We recommend that you use apt-get to install it.
If the software is not successfully installed due to the relationship between dpends and dpkg-I, you can use apt-get-F install to solve the problem.
Solve the Pro
the identity of the WWW to read files or download files. The directory behind the-D is the home directory of the Ftp_user1 account (in fact, the FTP share is used to upload the downloaded files), so that ftp_user1 can only access their home directory/tmp/. It's not done yet, and the most critical step is to create a user information database file:[Email protected] ~]#/USR/LOCAL/PUREFTPD/BIN/PURE-PW MKDBPURE-PW can also list the current FTP account (/USR/LOCAL/PUREFTPD/BIN/PURE-PW list), of cour
[email protected] ~]# Yum install-y vsftpd #安装 CentOS comes with vsftp serviceStart the VSFTPD service and check the log if the service fails to start. You can see that the port is pure-ftpd occupied.Turn off the PURE_FTPD service and start again.[[email protected] ~]#/etc/init.d/vsftpd startStarting vsftpd for VSFTPD: [OK]Take User3 as an example:[Email protected] ~]# passwd user3 #更改User3密码Changing password for user User3.New Password:Bad Password:it are based on a dictionary wordRetype new Pa
Share two of your own bat scripts that automatically synchronize files under Windows (Tiger O (∩_∩) o)*******************************************************************@echo offColor 02REM uses Goto and lftp to implement timed automatic uploading of files to the FTP server specified directory # #注释信息: LoopEcho.Echo.Echo =============================================echo Start copy File after 5 secondTIMEOUT/T 5 # #每5秒复制一下Echo Copying File ...
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.