Trending December 2023 # How To Setup Your Own Cloud Server With Nextcloud # Suggested January 2024 # Top 12 Popular

You are reading the article How To Setup Your Own Cloud Server With Nextcloud updated in December 2023 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested January 2024 How To Setup Your Own Cloud Server With Nextcloud

This article will show you how to setup your own NextCloud server on Ubuntu 16.04. You can set it up at your home, office or even make it available over the Internet.

Right off the bat, with a Pi you’re running NextCloud on a low power consumption device. Also great is the fact that the hardware is decent enough to power NextCloud despite the Pi’s low power footprint. The only downside I see to using a Pi is that your storage is running through USB ports to a secondary device. In some cases this can bottleneck a bit when sharing resources to other USB devices. For most people this is a moot issue, however I’d suggest that you’d want to limit your Pi to images and documents only.

What about NAS (Network Attached Storage) or exposing a PC to the Internet? As a standalone type of thing, I think that running a NAS is overkill. That said, it would be doable to do so with the NAS running other tasks like Plex, etc.

By now, I assume you’ve settled on the destination for your NextCloud instance. The next step is to begin the installation process.

Before we do anything, we need to make sure you’re ready to run what’s called a LAMP stack. This is Linux, Apache, MariaDB and PHP.

sudo apt-get update && sudo apt-get upgrade

Then install the LAMP stack:

sudo apt-get install apache2 apache2-utils

Now let’s enable Apache.

sudo systemctl restart apache2

If for some reason this gives you an error, try this after checking the journalctl for errors…

sudo systemctl restart apache2.service

I prefer to use restart vs start as it saves us the extra hassle of checking for its status first. But, that’s just my preferred approach to handling services. Now let’s make sure Apache runs on each reboot.

sudo systemctl enable apache2.service

Now browse to your PC’s LAN address and make sure you see the Apache welcome default page. This is how you know things are working.

Now that we have Apache setup, we need to make sure the directory where you’ll house your NextCloud configuration has the right permissions.

sudo systemctl restart mysql.service

Then make sure its enabled so it starts after a reboot.

sudo mysql_secure_installation

From this point forward, the script is going to prompt you along. You’ll be asked to setup a root password unique to MariaDB(MySQL), disallow remote root access, remove the test database and so on. Once you’ve hit enter for each option, you’ll see “Thanks for using MariaDB!”

With our database software installed, we need to install the last component – PHP. So let’s start off by installing PHP7.

sudo apt-get install php7.0-fpm php7.0-mysql php7.0-common php7.0-gd php7.0-json php7.0-cli php7.0-curl libapache2-mod-php7.0

Once installed, we need to make sure Apache’s PHP is enabled.

sudo touch /var/www/html/test.php

And then…

If you’re looking at a neatly formatted page containing your PHP configuration, you’re all set.

At this stage, you’re ready to download the latest release of NextCloud. I recommend manually getting the latest release link from this link. For those of you doing this on a “headless server”, you could do the following (making sure your link is up to date first).

With the zipped folder containing NextCloud downloaded, you’re free to unzip its contents. Pro tip: make sure you have unzip installed first via your package manager.

sudo chown www-data:www-data /var/www/nextcloud/ -R

This is the point where you’re actually moving past initial server setup and into actually configuring your NextBox installation itself.

Now it’s time to set up your NextBox database in MariaDB.

First login to your MariaDB root password:

mysql -u root -p

Once logged into the MySQL prompt, you’ll want to create your NextCloud database (remember you can choose the database name):

create database YourCreatedDatabaseName;

Next, we want to create a non-root user for this database (You can create any username you wish):

create user UserNameForDatabase@localhost identified by 'YourPassword';

Now we’re ready to setup the proper database permissions for this NextCloud installation:

grant all privileges on YourCreatedDatabaseName.* to UserNameForDatabase@localhost identified by 'YourPassword';

With your database created and configured, we’re ready to flush the privileges:

flush privileges;

And finally, we exit the MySQL prompt:

sudo nano /etc/apache2/sites-available/nextcloud.conf

The contents of the conf file will be as follows:

virtualhost :80="" DocumentRoot "/var/www/nextcloud" ServerName YourSelectedDomain.Whatever ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined directory var="" www="" nextcloud="" Options +FollowSymlinks AllowOverride All ifmodule mod_dav="" c="" Dav off /ifmodule SetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud Satisfy Any directory /virtualhost

If you’re unsure about the domain for the servername for a LAN installation, you can use the IP address. If this is for a server on a VPS or similar, the same applies.

With the VirtualHost set up and ready to go, we need to move it from available to enabled status.

sudo a2enmod rewrite headers env dir mime setenvif

And then:

sudo systemctl restart apache2

Now we’re done and ready to browse to the NextCloud instance from a web browser. You can browse to the instance with either the IP address or if you setup your VirtualHost for it, you can use a domain name instead. Browse to the instance and you’ll be asked to create an admin account. Also make sure your data folder looks right from what we setup earlier in the article.

Still in the browser, we’ll also be asked to enter the database user, database password and database name that we setup earlier. Remember this isn’t the MySQL root info, this is the database info we setup specifically for NextCloud.

If these steps seem a bit overwhelming for you, I would suggest the following – use VirtualBox. By setting up a VirtualBox VM with a bridged network adapter, you’re able to test out a local configuration without needing to worry about messing up a server configuration. Once you feel comfortable with your skills in VirtualBox, you’re then ready to try out NextCloud on an actual PC, Pi or server.

You're reading How To Setup Your Own Cloud Server With Nextcloud

How To Host Your Own Minecraft Server

Minecraft is still a very popular game, and a big part of the appeal behind it is the ability to host and run your own servers. It’s surprisingly simple to host a Minecraft server, and you can get one running quickly.

This guide covers one of many ways to get a Minecraft server running, but this method is one of the simplest and most stable server setups possible.

Before You Get Started

If you’re just planning to run a Minecraft server on your local network, this isn’t a concern, but if you want people to be able to play on your server over the Internet, you’re going to need to find hosting for your server.

There are plenty of great options that you can use to host your Minecraft server: Linode and DigitalOcean are usually a safe bet. You will need a VPS (Virtual Private Server) to host Minecraft. You can’t host on cheap shared hosting that’s typically designed for hosting simple websites.

You’re also going to be hosting the server on Linux. While it is possible to run a Windows Minecraft server, Linux is cheaper to host, and it’s generally easier to maintain. Ubuntu is a solid pick when it comes to a distribution. It’s fairly beginner friendly, stable, and it has an active community to help, should you need it.

Everything from here assumes that you have hosting and that you’ve signed in to a terminal, either through SSH or a web interface provided by your host. Any good VPS host will allow you terminal access.

Install the Dependencies

You’re going to need a few software packages before you can run the Minecraft server. You can install them directly with Ubuntu’s Apt package manager. Begin by running the following command in the terminal on your server:







If you’ve never used a Linux package manager before, wait a few seconds while Ubuntu installs your new software. It’ll let you know when it’s finished.

Download the Minecraft Server

Set up the directory where you want to run the server. This doesn’t matter too much. You can do everything out of your home directory, if that’s most convenient for you.





On your regular computer, drop by the Mincraft server download page. Locate the download link for the latest version of the Minecraft server. Copy that link location with your browser.

Back in the server terminal, begin typing the line below:

Paste in the address that you copied, which will look something like this:

You don’t need a startup script, but it’s easier to just combine things into a script so you only need to run one command to start up your server. Begin making a new file by opening it with your text editor. If you’re not familiar with Linux text editors, use Nano.


chúng tôi fill in your script to look like this:

#! /bin/bash


















minecraft_server.jar nogui

Save your script and exit the text editor. You’ll also need to make your script executable before you can run it.


+x chúng tôi the Server

You’re finally ready to start up your server. Give it a name that you can easily identify in quotes when you run the script.

Your server will start up, and you’ll be able to connect by entering your server’s IP address in your Minecraft client. Remember to keep your server updated by replacing the server .jar file with new releases.

If you plan on making your server public, it’s worth looking into your VPS host’s tips to secure the server. It’d also be a good idea to enable a firewall. Ubuntu has an excellent option in the form of UFW.

Nick Congleton

Nick is a freelance tech. journalist, Linux enthusiast, and a long time PC gamer.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

Create Your Own Live Video Streaming Server With Linux

There are those who enjoy the ability to stream live, but don’t have a need to have their videos be available to the masses. Instead, they’d prefer to have more control over their stream and the content they produce. Open-source software, like Linux, is the best answer to this obstacle.

Table of Contents

Thinking Ahead

Before you begin setting up your own personal streaming server, you should ask yourself a few questions. First, what quality of stream are you looking for? Next, how many viewers do you expect to pull in? Where will you store all of your streamed content? Who will have access to that content?

System requirements can also be seen as a concern. However, there are no set rules on exactly what you’ll need in this regard, so do yourself a favor and experiment to see what works best for your goals.

You’ll need to figure out which protocol will handle the audio and video portion of the streaming. Real-Time Messaging Protocol (RTMP) is a great choice but there are others, such as WebRTC, that might fare better in your situation. RTMP has broad support so we’ll focus on that for this article.

Linux Server Setup

Ubuntu Linux is my personal favorite, so that will be the version of choice here. For those who prefer a GUI option, Ubuntu Desktop is available. 

Fire up the Ubuntu installer and choose the settings that best fit your needs. You’ll probably want to set some static network settings since this is going to be used as a server.

Reboot the system after installation if it doesn’t do so automatically. Once the Ubuntu system boots up, install any updates that are available:

sudo apt update sudo apt upgrade

We’ll be using Nginx web server for this streaming server. Install it:

sudo apt install nginx

Procure the RTMP module so Nginx can handle your media stream:

sudo add-apt-repository universe sudo apt install libnginx-mod-rtmp

Adjust Nginx’s configuration so that it can accept and deliver your media stream.

sudo nano /etc/nginx/nginx.conf

Add the following code to the bottom of the config file:

Save the config file as we’ll be using it later to create a working streaming server.

Restart Nginx with its new configuration:

sudo systemctl restart nginx Streaming Software Setup

The server is ready, so now it’s time to set up your streaming software. Let’s use Open Broadcaster Software (OBS) in this run-through. 

In the Stream section, select set Stream Type to Custom… and enter the following URL into the Server field:


In place of IPaddress, enter the IP address of your streaming server.

Now create your own Stream Key and enter it into the Stream key box. Make it something you’ll remember and write it down. For added security, check the Use authentication box and add your preferred credentials.

Finish with Apply followed by the OK button.

Everything should now be configured for streaming. To begin your first stream, hit the Stream Now chúng tôi button will change to Stop Streaming so long as everything was done correctly. Your stream’s bandwidth metrics will appear at the bottom of the OBS window.

Be Your First Viewer

Got your Stream Key handy? Type the path to your stream, and include the Stream Key you set up earlier, to the end of it. Should look like:

rtmp://IPaddress/live/SecretKey Additional Measures

Now that the basics have been achieved, limiting access to your streaming server and being able to record and save your videos are two other factors you may be interested in.

By default, anyone can view your stream. This may go against the purpose of creating the server in the first place. You’ll want to set up limited access using a Linux firewall, .htaccess file, or the built-in access controls in the RTMP module. This choice is left up to you.

The Nginx configuration provided here will only enable you to stream videos, but not save them. To add a storage option, in the Nginx config, just below the RTMP section, you can set up the stream recording options and provide a location to where you want your content saved and stored. 

Set an existing path in order to allow Nginx to write to it. Enter the following:

Discord Emojis: How To Use Them And Add Your Own To A Server

Custom Discord emojis are easy to create and add to your servers. Here’s how to use them to make your Discord content stand out.

You may be familiar with Discord, the popular platform for hosting real-time text, video, and voice chat, but do you know about Discord emojis?

One of the coolest features of Discord is the ability to add emojis to your messages. Many Discord emojis are built into the platform, but you can also add your own custom emojis, turn off emojis, or even remove an emoji from a server altogether.

We’ll show you how.

Bonus: Read the step-by-step social media strategy guide with pro tips on how to grow your social media presence.

What are Discord emoji?

Discord emojis are small images that can be used to express ideas or emotions.

They are similar to the emoji you would find on your phone, but Discord emoji are platform-specific. You can use Discord emojis on your server or in messages you send. Emojis can be static or animated (you can even use a Discord emoji GIF), and there are thousands of them to choose from.

Unlike traditional iPhone and Android emojis, Discord emojis are more customizable. Depending on the channel you’re in, you’ll see custom emojis based on the server’s content.

For example, in The Fallout Network (a Discord server based on the video game series, Fallout), there are custom emojis based on in-game items, such as the Nuka Cola bottle or the Pip-Boy.

In the “Instagram” server (it’s a fan server, not owned by Instagram itself), there are lots of custom emojis with an Instagram theme, such as the camera emoji.

How to use emojis on Discord

Discord emojis are super easy to use.

If you’re on the Discord desktop app, you can use emoji shortcodes. All you have to do is type :emojiname: into a text channel or message, and the emoji will appear.

For example, if you wanted to use a cute Discord emoji, like the Instagram logo on the Instagram server, you would type:


Or, if you wanted to use a funny Discord emoji, like the Nuka Cola bottle in the Fallout server, you’d type:


Note: Custom channel emojis can be used on the Discord desktop app. But if you’re using Discord on your mobile device, you’ll need Discord Nitro to use custom emojis. If custom emojis are unavailable to you, you’ll see them in grey.

How to add custom Discord emoji to a server

Wondering how to make emojis on Discord? Custom Discord emojis are fun to use for a variety of purposes: from adding some personality to your server to showing off your brand.

To add a custom Discord emoji to a server, you need the manage emoji server permission, which can be granted to users with administrator server permissions.

If you want to create animated emojis, you’ll need a Discord Nitro account.

Here’s how to add emojis to Discord channels on desktop and mobile.

How to add emojis to Discord channels on desktop

Then, select the Emoji tab.

Next, choose Upload Emoji.

You’ll have the option to crop your file here. Once complete, hit Upload and the emoji will be available for use in Discord.

How to add emojis to Discord channels on mobile

Next, go to the Server Settings.

Then, tap the Upload Emoji button and choose the media file.

Discord emoji size and naming conventions

All custom emoji names must be at least 2 characters in length and under 256KB in size.

Emoji names can contain alphanumeric characters and underscores but no other characters.

Managing custom Discord emojis

Any custom Discord emojis you add to your server will be shown in reverse alphabetical order.

If any user on the server has Discord Nitro, they’ll be able to use your server’s custom emoji in any other server.

You can add up to 50 custom Discord emojis to your server.

Discord Nitro and Nitro Basic users have an additional 50 emoji slots available to them, for a total of 100 custom Discord emojis. Emojis created with Discord Nitro can be used on any server, even if you don’t have Discord Nitro yourself!

How to make Discord emojis

Now that you know how to add Discord emojis to your server, let’s learn how to make them.

You can create a custom emoji for Discord using any photo or image. You can even create Discord emoji GIFs!

To make Discord emojis, choose any PNG image with a transparent background. You can find these in Google search or make your own in Canva or Photoshop. Kapwing also has a custom Discord emoji maker.

Once you have your image, follow the steps listed above to add it to your Discord server as a custom emoji.

You can also download Discord emoji packs from sites like chúng tôi and chúng tôi chúng tôi even has its own Discord emoji server where you can find even more emojis, like anime Discord emojis or Discord emoji memes.

Just use caution when downloading emojis for Discord from the internet, as some sites may contain malware.

How to turn off auto emoji on Discord

Discord tends to automatically convert emoticons into emojis. If you don’t want this feature, it can be turned off.

How to turn off emojis on Discord’s desktop app

Then, select Text & Images from the tabs on the left.

Find the Automatically convert emoticons in your messages to emojis button and toggle it off.

You can now use Discord emoticons without them being turned into emojis.

How to turn off emojis on Discord mobile app

There is currently no way to turn off auto emojis on the Discord mobile app. Even the mobile browser option directs you to the App Store.

We even tried requesting the desktop site through our browser, but no luck. If you want to turn off auto emojis in Discord, you’ll need to use the desktop app.

Disabling discord emojis on single messages

Hey, maybe you want to use Discord emoticons in a single message but don’t want to turn off the auto emoji feature entirely. No problem!

Here’s how you do it:

Type a backslash (), and then type your emoticon code. For example, if you wanted to use the “thumbs up” Discord emoticon, you would type:


This will disable the auto emoji function for that particular instance, letting you use any emoticon you want without changing settings or disabling the feature.

How to remove Discord emoji from a server

If you’re the server owner or have authorized Discord permissions, you can remove Discord emojis from your server in just a few steps.

Here’s how to remove Discord emojis on desktop:

Open the Discord app and go to your server. Open your Server Settings and choose the Emoji tab.

Here’s how to remove Discord emojis on mobile:

Choose Emoji to see any custom emojis you’ve added.

If you loved learning about Discord emojis, check out some of our other guides on Snapchat emojis and secret TikTok emojis.

Save time managing your social media presence with Hootsuite. Publish and schedule posts, find relevant conversions, engage your audience, measure results, and more — all from a single dashboard. Try it free today.

Get Started

Do it better with Hootsuite, the all-in-one social media tool. Stay on top of things, grow, and beat the competition.

How To Build Your Own Cotton

You don’t need to wait for a carnival to satisfy your craving for cotton candy. Instead, build this portable, pocket-size machine to turn granulated sugar into an airy treat.

A DIY cotton-candy machine consists of a small metal container, repurposed lighter parts to provide heat, and a switch-controlled motor to set everything spinning. Slowly pour granulated sugar into the container, and flames from the lighters will melt it. As the motor spins, the liquid sugar will fly out through little holes in the container’s sides, forming thin strands. A paper cylinder placed around the machine will capture them. Once they’ve built up, simply swirl a chopstick around the perimeter to gather the candy and taste your sweet success.

This article originally appeared in the September 2023 issue of Popular Science, under the title “Build Your Own Cotton-Candy Machine.”


Time: 2 hours

Cost: $26

Difficulty: Medium


Push pin

Power drill

Soldering iron


Long-nosed lighter

Torch lighter


Two-part epoxy


Metal stand-off with a screw, washer, and nuts

A small cosmetic aluminum container (found in drugstores) or a metal drink cap

Small project box

DC motor

AA-battery holder

Clay epoxy

Paper, tape, rubber band, and a chopstick


To build a system for heating the sugar, first open both lighters. Harvest the large fuel tank, igniter, and hose from the long-nosed lighter and the torch head from the torch lighter.

Use the long fuel hose to connect the fuel tank to the torch head.

For an ignition line, wrap a short length of wire around the metal base of the long- nosed lighter’s igniter and seal it with epoxy.

Push the igniter’s new wire through the torch head— where the torch lighter’s wire previously was. This is the main ignition line.

Connect the main ignition line to the brass part of the torch head. Seal with superglue.

Next, set up the spinning chamber. Epoxy the metal standoff to the shaft of the motor. (When joining two parts together with epoxy, sanding both sides will yield a stronger bond.)

With the push pin, punch holes all the way around the sides of the aluminum container, or drill tiny holes in the metal drink cap. Find the center of the container and drill through it. Add the screws, washers, and bolts to it, and screw it in place on the motor’s standoff.

Solder the battery pack’s terminals to the motor. Since the screw tightens clockwise, make the motor spin counterclockwise to prevent it from unscrewing.

To prepare the project box, plan where you will be placing the fuel valve, igniter, torch head, and spinning chamber. Mark each spot with a marker, and then drill the holes. You can use the photos as a guide.

Inside the cotton-candy machine Sophie Bushwick

Epoxy the motor in place in the box. Glue the battery pack to the outer side of the box. Seal the igniter in place—the end should stick out of the box—with clay epoxy.

Before sealing the torch system in place with the clay epoxy, measure the torch head and aim it at an angle so the flame will touch the near edge of the metal container.

To operate the cotton-candy machine, tape paper into a cylinder that fits around it. Then switch on the motor, squeeze the fuel valve (and hold it in position with a rubber band), and spark the igniter. Let the machine heat for 10 seconds, then place the paper cylinder around it and slowly add the sugar. Collect the candy with a chopstick.

Warning: Take care handling lighters and fuel. The sugar is molten when it comes out, so keep your hands out of the way of hot flying sugar. Also keep hands and paper clear of the open flame—or you might end up making jerky instead of candy.

How To Install An Ftp Server On Ubuntu With Vsftpd?

FTP (File Transfer Protocol) is a standard network protocol used to transfer files from one host to another over a TCP-based network, such as Internet. An FTP server allows users to upload and download files over network, and it is an essential tool for file sharing and remote file access. In this article, we will guide you through process of installing an FTP server on Ubuntu with vsftpd, one of most popular FTP servers available.

Step 1: Install VSFTPD

The first step in installing an FTP server on Ubuntu is to install vsftpd package. You can do this by running following command in your terminal −

sudo apt-get update sudo apt-get install vsftpd

This will download and install vsftpd package along with any necessary dependencies.

Step 2: Configure VSFTPD

After installing vsftpd, you need to configure it to suit your needs. configuration file for vsftpd is located at /etc/vsftpd.conf. To edit file, open it in your favorite text editor with root privileges, like this −

sudo nano /etc/vsftpd.conf

This will open configuration file in Nano text editor. You can make any necessary changes to file to configure FTP server as you wish. For example, you may want to set FTP server to run in standalone mode, enable anonymous FTP access, or limit number of concurrent connections.

Step 3: Start FTP Service

Once you have configured vsftpd, you need to start FTP service. You can do this by running following command in your terminal −

sudo systemctl start vsftpd

This will start vsftpd service and enable it to accept incoming connections. You can verify that service is running by checking its status with following command −

sudo systemctl status vsftpd

If everything is working correctly, you should see a message indicating that service is active and running.

Step 4: Configure Firewall Rules

By default, Ubuntu comes with a firewall called UFW (Uncomplicated Firewall) that can be used to manage network traffic. If you have UFW enabled on your system, you need to allow FTP traffic through firewall. You can do this by running following command −

sudo ufw allow ftp

This will allow incoming FTP traffic on default FTP port, which is port 21.

Step 5: Test FTP Server

Once you have completed installation and configuration of your FTP server, you can test it by connecting to it from another machine. You can use any FTP client of your choice, such as FileZilla or WinSCP, to connect to FTP server. To connect to server, you will need to know its IP address and username and password that you set up during configuration process.

Step 6: Configure SSL/TLS Encryption

FTP by default is not a secure protocol, and all data transfers are sent in plain text. To improve security of your FTP server, you can configure SSL/TLS encryption to encrypt all data transfers between server and clients. This can be done by obtaining an SSL/TLS certificate and configuring chúng tôi file to use it.

Step 7: Set Up User Accounts And Permissions

By default, vsftpd allows anonymous FTP access, which means anyone can connect to your FTP server without a username or password. However, this can pose a security risk, and it is recommended to disable anonymous access and set up user accounts with proper permissions instead. You can create user accounts and set their permissions by using command-line tool “adduser” and “chmod” respectively.

Step 8: Monitor FTP Server Logs

It is a good practice to monitor your FTP server logs regularly to detect any suspicious activity or unauthorized access attempts. You can view vsftpd logs at “/var/log/vsftpd.log” by using “tail” command, which shows last few lines of file in real-time.

Step 9: Use SFTP Instead of FTP

FTP is an old protocol and has some security vulnerabilities. If possible, consider using SFTP (SSH File Transfer Protocol) instead, which is a more secure and modern protocol that uses encryption and secure shell (SSH) to transfer files. SFTP uses same SSH port (22) as SSH and can be enabled on same SSH server.

Step 10: Use Passive FTP Mode

FTP uses two modes, active and passive, to transfer files between server and clients. In active mode, server initiates data connection, and client listens for incoming connections, while in passive mode, client initiates both control and data connections. Passive mode is more firewall-friendly and allows clients to connect to FTP server even if they are behind a NAT (Network Address Translation) or firewall. To enable passive mode in vsftpd, you can add following lines to chúng tôi file −

pasv_enable=YES pasv_min_port=1024 pasv_max_port=1048

These lines will enable passive mode and specify range of passive ports that vsftpd will use for data transfers.

Step 11: Limit FTP User Sessions

To prevent overloading your FTP server and ensure better performance, you can limit number of concurrent FTP user sessions that are allowed to connect to your server. You can do this by adding following line to chúng tôi file −


This line will limit number of concurrent FTP user sessions to 50, and you can adjust this number to suit your needs.

Step 12: Use a Dedicated FTP Client Step 13: Automate FTP Transfers With Cron Jobs

If you need to transfer files regularly between your FTP server and other machines, you can automate process by using cron jobs. A cron job is a Linux command that runs automatically at specified intervals, such as daily, weekly, or monthly. You can set up a cron job to run an FTP script that transfers files to or from your FTP server automatically, without requiring any manual intervention.

Step 14: Use Chroot Jail

A chroot jail is a security feature that restricts users to a specific directory and prevents them from accessing other parts of file system. By using a chroot jail, you can enhance security of your FTP server and limit damage that can be caused by a compromised user account. To set up a chroot jail for vsftpd, you can add following line to chúng tôi file −


This line will restrict users to their home directory and prevent them from navigating to other directories.

Step 15: Enable IPv6 listen_ipv6=YES

This line will enable vsftpd to listen on IPv6 addresses.

Step 16: Backup FTP Server Data

Like any other data storage system, an FTP server can be susceptible to data loss due to hardware failure, system crashes, or other unforeseen events. To prevent data loss, it is essential to regularly backup your FTP server data. You can use tools like Rsync or SCP to transfer files to a remote location, or use cloud-based backup services like Amazon S3 or Google Drive.

Step 17: Harden Your FTP Server

To enhance security of your FTP server, you can implement several security measures, such as −

Disable root login

Enable SSH access

Use a firewall to block unauthorized access

Implement password policies

Install security updates regularly

Use intrusion detection and prevention systems

By following these security measures, you can protect your FTP server from security threats and ensure that your data remains safe and secure.


In this article, we have shown you how to install and configure an FTP server on Ubuntu with vsftpd. With this setup, you can easily share files between computers on your network or remotely access files from anywhere in world. By following these steps, you should now have a working FTP server that you can use for your file sharing and remote file access needs.

Update the detailed information about How To Setup Your Own Cloud Server With Nextcloud on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!