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

  2. 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

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

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

  4. 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".

No description has been provided for this image

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

No description has been provided for this image

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

No description has been provided for this image

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.

No description has been provided for this image

Import database in production

Login to plesk control panel and import the database dump.

No description has been provided for this image

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

No description has been provided for this image

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

No description has been provided for this image

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

No description has been provided for this image

Mysql imported successfully.

No description has been provided for this image

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.

No description has been provided for this image

Save and close the wp-config.php file.

Create a zip of wordpress files

No description has been provided for this image

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".

No description has been provided for this image

Create temp folder in root folder

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

No description has been provided for this image

Write name of directory then click ok.

No description has been provided for this image

Upload .zip file

In temp directory upload the .zip files.

No description has been provided for this image

No description has been provided for this image

Extract .zip file

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

No description has been provided for this image

No description has been provided for this image

After extraction, we got the samplewebsite.loc folder.

No description has been provided for this image

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.

No description has been provided for this image

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

No description has been provided for this image

All files are in httpdocs directory.

No description has been provided for this image

Check wordpress website in browser:

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

No description has been provided for this image

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

Check wordpress admin

No description has been provided for this image

No description has been provided for this image

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