ftp_server_raspberry
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ftp_server_raspberry [2020/04/05 12:07] – created kingk | ftp_server_raspberry [2020/04/05 12:13] (current) – removed kingk | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | **How to install uFTP FTP server on raspberry pi one of best option** | ||
- | |||
- | uFTP server is a Full FTP SERVER ideal for small projects and in ARM devices such as Raspberry PI, it's lightweight it's portable and straightforward to use and configure. | ||
- | It can be installed in any version of Raspberry pi. | ||
- | |||
- | In this tutorial you are going to install a full FTP server in just 2 minutes on your **raspberry PI**. | ||
- | |||
- | < | ||
- | #Clone the repository | ||
- | git clone https:// | ||
- | </ | ||
- | |||
- | < | ||
- | # Compile uFTP server | ||
- | cd uFTP | ||
- | </ | ||
- | |||
- | < | ||
- | # To compile with TLS/SSL support edit the makefile and uncomment the following 2 lines | ||
- | # | ||
- | # | ||
- | #compile the software | ||
- | make | ||
- | </ | ||
- | |||
- | < | ||
- | #Copy the files to the linux path. | ||
- | sudo cp build/uFTP /sbin/uFTP | ||
- | sudo cp uftpd.cfg / | ||
- | </ | ||
- | |||
- | < | ||
- | # Configure the server | ||
- | sudo nano / | ||
- | </ | ||
- | |||
- | < | ||
- | #Set permissions and root restriction of the configuration file. | ||
- | sudo chown root:root /sbin/uFTP | ||
- | sudo chown root:root / | ||
- | sudo chmod -rwx / | ||
- | sudo chmod u+rwx / | ||
- | </ | ||
- | |||
- | < | ||
- | sudo mkdir /etc/uFTP | ||
- | cd /etc/uFTP | ||
- | sudo openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 | ||
- | sudo openssl rsa -in key.pem -out newkey.pem | ||
- | sudo mv newkey.pem key.pem | ||
- | sudo chown root:root / | ||
- | sudo chmod -rwx / | ||
- | sudo chmod u+rwx / | ||
- | </ | ||
- | |||
- | < | ||
- | #Run uFTP, note: root permissions are required to execute the uFTP server. | ||
- | sudo uFTP | ||
- | </ | ||
ftp_server_raspberry.1586081238.txt.gz · Last modified: 2020/04/05 12:07 by kingk