The application of SMB in Java
Catalog
SMB service operations
I Introduction to SMB
Ⅱ SMB configuration
2.1 Windows SMB
Ⅲ add SMB dependency
Ⅳ path format
Ⅴ operation sharing
Ⅵ login verification
SMB service operations
I Introduction to SMB
SMB (full name is Server Message Block) is a ...
Posted by tridean34 on Wed, 29 Jan 2020 02:41:12 -0800
sed stream editor: a powerful tool of Shell script
One of the core ideas of Linux is that everything is a file. Among these files, the text file plays an important role. All the changes of system settings, the adjustment of software parameters, and the most basic command-line operation are the operation of "text". To manipulate text, you can't ...
Posted by DeGauss on Fri, 17 Jan 2020 21:15:47 -0800
Solution of "running package script" for MAC installing MacPorts card
Click the upper right corner to force the end of "installer"
Open terminal, enter the command "ps -ef | grep install", find the legacy process and kill it
Install Xcode
Enter the command "xcodebuild -license" and agree
MacPorts is stuck because the installation script uses Rsync update during the installation pro ...
Posted by swathin2 on Thu, 09 Jan 2020 07:11:03 -0800
Ubuntu 16.04 FTP server installation + configuration
ftp server installation and configuration
1. Installation of FTP server
If the server configured before or after ftp server fails to start the service, the basic problem is that there is an error in the configuration. You can uninstall it completely before installing it. If you cannot locate the image source, replace the ali ...
Posted by nebb on Sat, 04 Jan 2020 09:56:14 -0800
27.0 implementation of vsftpd virtual user based on MYSQL authentication
Implementation of vsftpd virtual user based on MYSQL authentication
1. Install packages and package groups
2. FTP server realizes PAM configuration
3. Prepare ftp related tables in the database
4. Modify vsftpd configuration file and call PAM ﹣ MSYQL module
5. Virtual users mapping to system users
6. Implement different ...
Posted by bastien on Tue, 31 Dec 2019 07:43:39 -0800
Source Installation for Mysql8.0
The 8.0 version of Mysql has been around for some time. Under recent research, the first step is to install and deploy it. Here is the source installation process.
1. Environmental Preparation
OS: CentOS 7.4 DB: Mysql 8.0.18 Hardware: 40G or more space, 4G or more memory
2. Environmental Preparation
1. Download Files
Download mysql-boos ...
Posted by ahmedkl on Thu, 19 Dec 2019 17:59:18 -0800
Firewalld sharing Internet and building local yum warehouse
1.firewalld sharing Internet
1. Server operation (server with external network)
1. Turn on the firewall and join the startup
[root@zeq ~]# systemctl start firewalld
[root@zeq ~]# systemctl enable firewalld
2. Remove the rule that the default owner can access ssh
[root@zeq ~]# firewall-cmd --remove-service=ssh --permanent
3. Add only allow 10.0. ...
Posted by Jaehoon on Mon, 09 Dec 2019 14:22:34 -0800
Practice: shell programming practice
Preface
mac record and port scan script
Develop system monitoring script
I. sharing of script programming steps
1.1 script programming steps
1.2 demand analysis
According to the requirements of system management, the functions, levels, commands and statements of the script are analyzed
1.3 command test
Test the commands to be used one by ...
Posted by ro1960 on Fri, 06 Dec 2019 16:35:11 -0800
FTP file upload and download
During the development of uploading and downloading files on FTP, you can log in to the FTP server, but the upload and download always report an error. After that, the FTPClient.enterLocalPassiveMode() method is added before the operation. Success.Note: call ftp client. Enterlocalpassivemode(); this method means that before each data connectio ...
Posted by kidsleep on Tue, 03 Dec 2019 03:34:32 -0800
Vsftpd realizes user authentication based on MySQL
VSFTP introduction
VSFTP is a kind of FTP server software used on Unix like system published based on GPL. Its full name is Very Secure FTP.
Software installation
yum install vsftpd mariadb-server mariadb-devel pam-devel -y
wget http://prdownloads.sourceforge.net/pam-mysql/pam_mysql-0.7RC1.tar.gz
tar xf pam_mysql-0.7RC1.tar.gz
cd pam_mysq ...
Posted by maGGot_H on Sat, 23 Nov 2019 13:24:44 -0800