Upgrading WordPress Manually on Linux sever

Upgrading WordPress Manually on Linux sever

Step 1: login to wordpress by accessing the server IP_address/wp-admin or domain_name/wp-admin in the browser:



Step 2 : check the current version of wordpress , i.e 5.0.13 here . 



Step 3 : Download the most recent version of WordPress from the official WordPress website to your local machine .


Please visit https://wordpress.org/download/releases/ for more information.


Step 4 : extract the zip file and then connect the server using FileZilla .


NOTE : hostname : serve_ip , username , password , port : 22 . 


As shown in the below screenshot. 




Step 5 : Navigate to your website's root directory (for example, /var/www/html/wordpress) on the server side and delete the ‘wp-admin' and ‘wp-includes' directories.



Step 6 : Step 4 : Now, Copy the ‘wp-includes’ and ‘wp-includes’ directories from the unzipped new version WordPress to the website root directory(which replaces the directories deleted in step 5 at website root directory).


Step 7 : Do not delete any files or directories in the website's root directory after step 6. In this section just copy all of the files from the new version WordPress directory to the existing ‘wordpress' website root directory (by this act it overwrite the existing files with same name)




Step 8 : Your wp-config.php file will be unaffected because the default config file for WordPress will be wp-config-sample.php. Examine wp-config-sample.php for any changes to the wp-config.php file. You can also edit database records & rename the wp-config-sample.php file as wp-config.php ,afterwards just delete the older file(wp-config.php) .


Step 9 : Now, from your browser, navigate to the WordPress admin page at ‘ip address (or)domain name/wp-admin' and update the WordPress database.



Step 10 : Login into the wordpress and check the current version of wordpress .



Wordpress has been updated .



THANK YOU !

    • Related Articles

    • How to install Wordpress in CenOS 7

      WordPress is a blogging platform and content management system. WordPress, according to wordpress.org, is "a cutting-edge semantic personal publishing platform with a focus on aesthetics, Web standards, and usability." You can use this platform to ...
    • Linux Top Command

      Top Command Linux processes are displayed by top command. It gives the running system a dynamic real-time view. In general, the system summary information and the list of processes and threads currently managed by the Linux kernel are displayed by ...
    • Access Linux server using SSH in Windows, Linux and Mac OS.

      Part 1: Access Linux server using SSH in Windows 1. Download PuTTY or another PuTTY download source from URL https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe . The file called “putty.exe” is perfect for simple SSH. 2. Save and download ...
    • How to Install (Linux, Apache, MariaDB, PHP) LAMP Stack on CentOS 7

      LAMP, which operates Linux as the operating system, is an open-source web-developing platform using Apache as the web-based server and PHP as an object-oriented scripting language. (Instead of PHP, Perl or Python are sometimes used.) Prerequisites ...
    • Archiving and Compressing files with GNU Tar and GNU Zip

      tar Command tar is a software tool for collecting multiple files into one file in other word we can say “archive”. However, gzip is a software application used for compression and decompression. We use file compression techniques for saving disk ...