![]() Now the downloaded file will be named wordpress.zip and not latest.zip as the default use of wget would have named it. Let’s modify the WordPress download command a little bit: # wget -o wordpress.zip To avoid this, you can save the file into a value of your choice. Sometimes this can be an issue as some downloads will have a clumsy name. Wget by default picks the filename according to the last word after the forward slash. The output from this command will include a download status bar which will tell you how far the download has come and what is the download speed. I will now download the latest WordPress version using wget: # wget Once the upgrades are done, install wget using: # apt install wget Make sure your server is fully up to date using: # apt update & apt upgrade 3. You should get this output: Distributor ID: Ubuntu LOG IN TO YOUR SERVER VIA SSH # ssh can check whether you have the proper Ubuntu version installed on your server with the following command: # lsb_release -a We will be using our SSD 1 managed VPS hosting plan running Ubuntu 16.04ġ. Please note that even though tested on Ubuntu 16.04, the instructions can be used on any other Ubuntu version. In this article, we will install wget on an Ubuntu VPS and provide some useful wget example commands. It can work in the background even if a user is not logged in. It can be easily called from scripts, cron jobs, terminals, etc. Wget is non-interactive which gives great flexibility in using it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |