Deploy Wordpress Website In Plesk Control Panel - Part 4

Deploy Wordpress Website In Plesk Control Panel - Part 4

In this part, we will deploy wordpress website through plesk panel.

This blog will have miltipart series

  1. Create new wordpress website in your local system - part 1 We have done first part. If you have not done you can follow link below:

    https://medium.com/@nutanbhogendrasharma/setup-plesk-panel-and-deploy-wordpress-website-in-virtual-private-server-part-1-29abd1e64105

  1. Deploy a new server with plesk control panel - part 2

    https://medium.com/@nutanbhogendrasharma/deploy-a-new-server-with-plesk-control-panel-part-2-751a9bb50125

  1. Setup plesk control panel for wordpress website - part 3

    https://medium.com/@nutanbhogendrasharma/setup-plesk-control-panel-for-wordpress-website-part-3-92353eae4723

  1. Deploy Wordpress website through plesk panel in vultr VPS

Take a dump of local wordpress database

Start apache and mysql in Xampp. Go to phpmyadmin http://localhost/phpmyadmin/ url. Then select database which you want to export and click on "Export".

Click on "Custom - display all possible options", make sure all tables are selected.

Tick the "Add Drop Table / View" option. Then click "Go". It will ask you to save, save the mysql dump.

Migrate the locale database to production

Make a copy of local database dump and then open in Notepadd++ editor. Find http://dev.samplewebsite.loc and replace with http://dev.samplewebsite.com. After that save the mysql dump.

Import database in production

Login to plesk control panel and import the database dump.

After login -> Websites & Domains -> click on "Databases".

Next screen will show like below. Then click on "phpMyAdmin".

Click on "Import" -> Browse Mysql dump which we changed for production.

Mysql imported successfully.

Change the wordpress configuration

Open wp-config.php file and change the database configuration, which we created through plesk panel. Remember local database details are different and production details are different.

Save and close the wp-config.php file.

Create a zip of wordpress files

Transfer the wordpress files

Upload website zip file through file manager in plesk panel

After login to plesk panel -> Click "Website & Domains" - > Click "File Manager".

Create temp folder in root folder

NExt screen will show like below. Click on "Home directory" -> Click "+" -> Click "Create Directory".

Write name of directory then click ok.

Upload .zip file

In temp directory upload the .zip files.

Extract .zip file

Extract the zip. For that select the zip file -> then click "Archive" -> Click "Extract Files".

After extraction, we got the samplewebsite.loc folder.

Remove index.php file from httpdocs folder

We created index.php to test the website is working or not. Now we don't need index.php file. Because in wordpress files already index.php file is there, that file we need for our wordpress website.

Move all wordpress files in httpdocs folder

Go to samplewebsite.loc directory -> Select all files and folders -> Click on Move.

Select the directory where you want to move the files. We have to move all files in httpdocs folder then click OK.

All files are in httpdocs directory.

Check wordpress website in browser:

Check the url https://dev.samplewebsite.com/ in browser.

The wordpress site is working fine. Let us check wordpress admin dashboard.

Check wordpress admin

we successfully deplyed wordpress website through plesk panel.

Machine Learning

  1. Deal Banking Marketing Campaign Dataset With Machine Learning

TensorFlow

  1. Difference Between Scalar, Vector, Matrix and Tensor
  2. TensorFlow Deep Learning Model With IRIS Dataset
  3. Sequence to Sequence Learning With Neural Networks To Perform Number Addition
  4. Image Classification Model MobileNet V2 from TensorFlow Hub
  5. Step by Step Intent Recognition With BERT
  6. Sentiment Analysis for Hotel Reviews With NLTK and Keras
  7. Simple Sequence Prediction With LSTM
  8. Image Classification With ResNet50 Model
  9. Predict Amazon Inc Stock Price with Machine Learning
  10. Predict Diabetes With Machine Learning Algorithms
  11. TensorFlow Build Custom Convolutional Neural Network With MNIST Dataset
  12. Deal Banking Marketing Campaign Dataset With Machine Learning

PySpark

  1. How to Parallelize and Distribute Collection in PySpark
  2. Role of StringIndexer and Pipelines in PySpark ML Feature - Part 1
  3. Role of OneHotEncoder and Pipelines in PySpark ML Feature - Part 2
  4. Feature Transformer VectorAssembler in PySpark ML Feature - Part 3
  5. Logistic Regression in PySpark (ML Feature) with Breast Cancer Data Set

PyTorch

  1. Build the Neural Network with PyTorch
  2. Image Classification with PyTorch
  3. Twitter Sentiment Classification In PyTorch
  4. Training an Image Classifier in Pytorch

Natural Language Processing

  1. Spelling Correction Of The Text Data In Natural Language Processing
  2. Handling Text For Machine Learning
  3. Extracting Text From PDF File in Python Using PyPDF2
  4. How to Collect Data Using Twitter API V2 For Natural Language Processing
  5. Converting Text to Features in Natural Language Processing
  6. Extract A Noun Phrase For A Sentence In Natural Language Processing