social media engagement

How To Install WordPress Plugins On A Local Machine

Use this with apache server


Learn More

After installing apache server and setting it all up to run wordpress, we need to add more to it. WordPress by it self will run but you may want to install updates, more plugins and things like this to test or build your project.

Here’s what happens if you try to install an additional plugin, it will prompt you for a FTP (File Transport Protocol) username, password and server information to pull that data. So what are you suppose to put here? Well that is what this brief article is about, how to install plugins for wordpress when on a local machine.

If you are running linux, the commands below should work fine but if you are running windows, I can write another article on how to do it because it is totally different.

Using a debian or ubuntu base OS, open the terminal put in the following commands.

sudo apt install vsftpd

This stands for Very Secure FTP Daemon (background service).

Now we need to edit the configuration file to be able to use it by enabling the files, so in the terminal type in…

sudo nano /etc/vsftpd.conf

The terminal will open this file to be edited, here you cannot use the mouse, so you need to use the arrow keys and scroll down to fine the line that says “#write_enable=YES”
and remove the hashtag (#) to enable this feature.

write_enable=YES

To save and close, use ctrl+s and then ctrl+x to exit.

Now we need to restart the service for it to work, so in the terminal put in the following..

sudo systemctl reload vsftpd

Next we want to check to make sure everything saved properly by replacing the “reload” with the word “status”.

Just use the up arrow to bring up the previous command, now use the left arrow to move the cursor to the word reload, remove this and just type status, should look like this…

sudo systemctl status vsftpd

This should display the following

vsftpd.service – vsftpd FTP serverLoaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset

Active: active (running) since Tue 2022-07-26 09:47:30 -05; 36min ago

Process: 809 ExecStartPre=/bin/mkdir -p /var/run/vsftpd/empty (code=exited,>

Main PID: 813 (vsftpd)

Tasks: 1 (limit: 18474)

Memory: 948.0K

CGroup: /system.slice/vsftpd.service
    └─776 /usr/sbin/vsftpd /etc/vsftpd.conf

You noticed that the active (running) will be in green text letting you know it’s good to go.

So let’s put it to the test!

If you are not already, go ahead and log in to your local WordPress site and try to install a plugin. It will prompt you to ask for some information, this is what you should put in.

FTP credentials should be the same as your Linux login, the username and password you use to log in and the URL will be the site’s URL that you use locally such as … site.test

If you are not sure what your username is, just open the file manager and within the home folder should have your name listed there.

With this correctly entered, the plugin and updates should install without any problems.

I hope this helped, let me know in the comments below if you have any snags or problems. Thanks for reading.

Thank you for reading this post, please see my other posts by going to the blog page .

🚀 Ready to elevate your brand? Don’t just sit there—make a move!

Looks like you've explored our services and saw how we can transform your business!

So... Before you go, let me sweeten the deal. Book a FREE strategy session with me, and let’s discuss how we can specifically tailor our services to meet your unique needs!

👉 Don’t miss out—your brand’s potential is waiting!

Book Your Free Strategy Session
⬆️