Install ProFTPd (TLS) on Ubuntu 16.04)
This tutorial describes how to install and use ProFTPd securely. Without TLS, FTP is insecure because all passwords and data are transmitted in plaintext. By using TLS, the entire communication can be encrypted, so FTP makes it much safer. This article describes how to set up the use of ProFTPd TLS to build an ftp server for Ubuntu 16.04, how to add an FTP user, and use FileZilla to connect to the TLS security.
1. Preliminary description
In this tutorial, I
damaged and may need to be re-installed for normal use (including deletion ).X soft package is damaged and forcibly maintained.You can also perform fuzzy search in the unified character mode. For example, I want to find all the software packages starting with nano:$ Dpkg-l nano *Desired = Unknown/Install/Remove/Purge/Hold| Status = Not/Installed/Config-files/Unpacked/Failed-config/Half-installed|/Err? = (N
tail (view file header, tail)-----is tricky to use, not much in the basic stageYou look directly at the picture:is to view the first few lines of the result of a file or the previous command , without specifying the-n parameter, the default 10 rowsTail Tips(the-f parameter can also be used when tracking log files.)tail-f a1.txt (Typing this command and then open a terminal to use the Nano to write A1.txt file save, see the effect, with Gedit No)At th
timekeeper structure to organize time-related data. Its definition is as follows:
struct timekeeper {struct clocksource *clock; /* Current clocksource used for timekeeping. */u32mult; /* NTP adjusted clock multiplier */intshift;/* The shift value of the current clocksource. */cycle_t cycle_interval;/* Number of clock cycles in one NTP interval. */u64xtime_interval;/* Number of clock shifted nano seconds in one NTP interval. */s64xtime_remainde
]['connect_type']='tcp';$cfg['Servers'][$i]['compress']='false';$cfg['Servers'][$i]['extension']='mysql';
Save and exit
Install php5-mcrypt
sudo apt-get install php5-mcrypt
Edit the PHP configuration file
sudo gedit /etc/php5/apache2/php.ini
Add it under extension (any independent row will work)
Extension = php_mcrypt.so (the original php5-mcrypt.so is invalid)
Save and restart apache2
sudo /etc/init.d/apache2 restart
Enter http: // localhost/phpMyAdmin in the browser
Configuration File Path
No matter which language you want to learn, there are almost no exceptions starting with hello and world. Today I am no exception.
Write this articleArticleThe purpose is to use xcode or vs to writeCodeAlmost all are compiled, linked, and run using graphical tools. For a long time, I have no idea what these graphic tools have helped us, and I have no idea what to do after some system environment setup problems.
Mac is a graphical Operating System Based on the Unix kernel.So using terminal
']='tcp';$cfg['Servers'][$i]['compress']='false';$cfg['Servers'][$i]['extension']='mysql';
Save and exit
Install php5-mcrypt
sudo apt-get install php5-mcrypt
Edit the php configuration file
sudo gedit /etc/php5/apache2/php.ini
Add it under extension (any independent row will work)
Extension = php_mcrypt.so (the original php5-mcrypt.so is invalid)
Save and restart apache2Enter http: // localhost/phpmyadmin in the browser
[Edit] configuration file path
1> apache configuration file path/etc/apache
DNSCrypt is a protocol used to encrypt and authenticate communications between DNS clients and DNS resolvers.It can block DNS spoofing or man-in-the-middle attacks. DNSCrypt is available for most operating systems, including LINUX,WINDOWS,MACOSX, Android and IOS. And in this tutorial I'm using ArchLinux with kernel 4.1.Unbound is the DNS cache server used to resolve any DNS queries received. If a user requests a new query, unbound stores it in the cache, and when the user requests the same reque
DNSCrypt is a protocol used to encrypt and authenticate communications between DNS clients and DNS resolvers.It can block DNS spoofing or man-in-the-middle attacks. DNSCrypt is available for most operating systems, including LINUX,WINDOWS,MACOSX, Android and IOS. And in this tutorial I'm using ArchLinux with kernel 4.1.Unbound is the DNS cache server used to resolve any DNS queries received. If a user requests a new query, unbound stores it in the cache, and when the user requests the same reque
DNSCrypt is a protocol used to encrypt and authenticate communications between DNS clients and DNS resolvers.It can block DNS spoofing or man-in-the-middle attacks. DNSCrypt is available for most operating systems, including LINUX,WINDOWS,MACOSX, Android and IOS. And in this tutorial I'm using ArchLinux with kernel 4.1.Unbound is the DNS cache server used to resolve any DNS queries received. If a user requests a new query, unbound stores it in the cache, and when the user requests the same reque
1. Partitioning (MBR)# Cfdisk semi-graphical interface, divided into three zones: sda1 20g,sda2 80g,sda3 4G.2. Creating a File system# MKFS.EXT4/DEV/SDA1# Mkfs.ext4/dev/sda2# Mkswap/dev/sda3#swapon/dev/sda3 Enable swap partitions3. Mounting# MOUNT/DEV/SDA1/MNT Mount/# Mkdir/mnt/home Create/home mount point# Mount/dev/sda2/mnt/home Mount/Home# LSBLK Check partition and Mount condition3. Modify the list of mirror sources# nano/etc/pacman.d/mirrorlist Mo
the common console-based text editors have the following:
Emacs Comprehensive GNU Emacs Editing environment
The Nano is a text editor similar to the classic Pico, with a built-in pine mail program
vim An improved VI text editor
Note that not all text editors are based on the console, which means that they support terminal use. Some text editors are designed to provide a graphical interface with menu bars, buttons, progress bars, and so on. For example
Prepare the article:
1, configure the firewall, open 80 ports, 3306 ports
Note: The Ubuntu default installation is not open any firewall, for the security of the server, we recommend that you install the firewall settings, it is recommended to use the Iptables firewall.Whereis iptables #查看系统是否安装防火墙Iptables:/sbin/iptables/usr/share/iptables/usr/share/man/man8/iptables.8.gz #表示已经安装iptablesApt-get Install iptables #如果默认没有安装, please run this command to install the firewallIptables-l #查看防火墙配置信息, sh
prints the content in the IW List command section.Figure 1.2 IW list related information if you use the RTL8188 network card, the IW List command outputs only "nl80211 not found", which means that RTL8188 does not support AP mode in this system. 2. Necessary preparatory work"1" Update software source sudo apt-get update "2" Install the necessary software sudo apt-get install HOSTAPD UDHCPD HOSTAPD is a user-state daemon for AP and authentication servers, which implements IEEE 802 .11 Related ac
. commands for editing files with nano and vi and displaying text files with cat and more
Nano is a small, free, and friendly editor. I think nano is more suitable for beginners of Linux. Now we only learn how to edit a file and save it.
Nano file name
If the file name you wrote already exists, open and edit it; otherw
. you can use a USB flash drive to start the system and install it in the BIOS.
2. formal installation
2.1. Select USB Flash Drive for BIOS boot.
2.2. start the system boot
2.3. disk partition
Use fdisk or cfdisk disk to partition a disk.
Here I personally partition the disk as follows:
Device size mount point
/Dev/sda1 30G NFTS
/Dev/sda2 300 M/boot
/Dev/sda3 60G/
/Dev/sda5 2G swap
/Dev/sda6 60G/home
The usage of fdisk is as follows, which is excerpted from the official documentation for the use
default configuration file:sudo nano/etc/apache2/apache2.conf. . . LogLevel warn ...As can see, by default, we had Apache configured to log messages with a priority of "warn" and above. We'll learn where Apache logs its messages in the following section.Where does Apache Keep its Logs?Apache can is told where to place its logs using server-wide logging specifications. You can also configure logging individually for each separate virtual host.Server-w
Indexes MultiViewsAllowOverride NoneRequire all granted
Then change the directory permissionssudo chmod 775/etc/apache3/users/zhuzi.confYou also need to configure httpd.confsudo mvim/etc/apache2/httpd.confFind a few blocks with Vim's find command to remove the previous #LoadModule authz_core_module libexec/apache2/mod_authz_core.soloadmodule authz_host_module libexec/apache2/mod_ Authz_host.soloadmodule Userdir_module libexec/apache2/mod_userdir.soinclude/private/etc/apache2/extra/ H
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.