WordPress Manual Upgrade for Experts: Difference between revisions
mNo edit summary |
|||
Line 23: | Line 23: | ||
===Database=== | ===Database=== | ||
For the database, use the command line or phpMyAdmin. phpMyAdmin makes it | For the database, use the mySQL (MariaDB, etc.) command line or phpMyAdmin. phpMyAdmin makes it much easier. Select the database in the left pane, Export Tab, "Simple" Radio Button, Go Button, save it to a file, done. | ||
===Other Thoughts=== | ===Other Thoughts=== | ||
Line 33: | Line 33: | ||
*Extract the files (if downloading a TAR version): tar -xf WhatEverFIleName | *Extract the files (if downloading a TAR version): tar -xf WhatEverFIleName | ||
*Move or copy the files to the web server directory: mv Source Destination | *Move or copy the files to the web server directory: mv Source Destination | ||
*Set the proper ownership and file permissions on the new files (the below example is for CentOS | *Set the proper ownership and file permissions on the new files (the below example is for Apache on CentOS);<syntaxhighlight lang="text"> | ||
chown -R apache:apache /var/www/html/WhatEverDirectory | chown -R apache:apache /var/www/html/WhatEverDirectory | ||
find /var/www/html/WebSiteDirectory -type d -exec chmod 755 {} \; | find /var/www/html/WebSiteDirectory -type d -exec chmod 755 {} \; |