servers:vsftpd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
servers:vsftpd [2023/05/04 19:58] – Sean Rhone | servers:vsftpd [2023/09/09 15:55] (current) – Sean Rhone | ||
---|---|---|---|
Line 2: | Line 2: | ||
* vsftpd ((https:// | * vsftpd ((https:// | ||
- | * https:// | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | * [[distros:ubuntu_server|Ubuntu Server]] | + | * [[distros:opensuse_tumbleweed_server|openSUSE Tumbleweed]] |
====== Dependencies ====== | ====== Dependencies ====== | ||
Line 12: | Line 11: | ||
**** | **** | ||
- | sudo apt install ' | + | sudo zypper |
====== Firewall ====== | ====== Firewall ====== | ||
- | * [[notes:ufw|ufw Notes]] | + | * See [[notes:misc_linux# |
- | * '' | + | |
- | sudo ufw allow '20'/' | + | |
+ | * 21/tcp | ||
+ | * PASV: 30000-30100/ | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== Custom ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | < | ||
====== Service ====== | ====== Service ====== | ||
Line 32: | Line 40: | ||
sudo -e '/ | sudo -e '/ | ||
+ | |||
+ | < | ||
+ | write_enable=YES</ | ||
< | < | ||
# Custom | # Custom | ||
- | write_enable=YES | ||
- | utf8_filesystem=YES | ||
pasv_enable=YES | pasv_enable=YES | ||
- | pasv_max_port=50000 | ||
- | pasv_min_port=40000 | ||
local_root=/ | local_root=/ | ||
force_dot_files=YES</ | force_dot_files=YES</ | ||
Line 61: | Line 68: | ||
* :!: '' | * :!: '' | ||
- | sudo -e '/ | + | sudo -e '/etc/vsftpd/ |
< | < | ||
Line 91: | Line 98: | ||
* :!: This expects 1 drive each with a XFS partition | * :!: This expects 1 drive each with a XFS partition | ||
- | sudo mkdir -p '/ | + | sudo mkdir -p '/ |
< | < | ||
# NAS | # NAS | ||
- | PARTUUID=x / | + | PARTUUID=x / |
+ | PARTUUID=x / | ||
- | sudo mount --all && sudo systemctl daemon-reload | + | sudo systemctl daemon-reload |
+ | |||
+ | ===== Safe Unmount Externals ===== | ||
+ | |||
+ | * :!: TODO: See if there' | ||
+ | |||
+ | sudo udisksctl unmount --force --block-device='/ | ||
+ | |||
+ | sudo udisksctl power-off --block-device='/ | ||
====== Permissions ====== | ====== Permissions ====== | ||
===== chown ===== | ===== chown ===== | ||
- | |||
- | **** | ||
sudo chown --recursive ' | sudo chown --recursive ' | ||
+ | |||
+ | sudo chown --recursive ' | ||
+ | |||
+ | sudo chown --recursive ' | ||
===== chmod ===== | ===== chmod ===== | ||
Line 112: | Line 130: | ||
sudo chmod --recursive ' | sudo chmod --recursive ' | ||
+ | |||
+ | sudo chmod --recursive ' | ||
+ | |||
+ | sudo chmod --recursive ' | ||
+ | |||
+ | ====== IPTV ====== | ||
+ | |||
+ | * See [[notes: | ||
/var/www/wiki/data/attic/servers/vsftpd.1683244732.txt.gz · Last modified: 2023/05/04 19:58 by Sean Rhone