Monday, 20 March 2023

How to install Apache2, Mysql, Phpmyadmin, Webmin and Jenkins

 Here I have listed the url for the above requirement.

1. Apache

     https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-22-04

2. Mysql

     https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04

3. ================================
# PHP-Installation on Server.
================================
apt-get install python-software-properties

add-apt-repository ppa:ondrej/php

apt-get install -y php8.0

apt install libapache2-mod-php8.0 php8.0-common php8.0-mysql php8.0-xml php8.0-xmlrpc php8.0-curl php8.0-gd php8.0-imagick php8.0-cli php8.0-dev php8.0-imap php8.0-mbstring php8.0-opcache php8.0-soap php8.0-zip php8.0-intl php8.0-mbstring -y

apt-get install -y php8.1

apt install libapache2-mod-php8.1 php8.1-common php8.1-mysql php8.1-xml php8.1-xmlrpc php8.1-curl php8.1-gd php8.1-imagick php8.1-cli php8.1-dev php8.1-imap php8.1-mbstring php8.1-opcache php8.1-soap php8.1-zip php8.1-intl php8.1-mbstring -y

4. Phpmyadmin

wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.zip  

   Download phpmyadmin from below link. Move to var/www/html and unzip. Rename to phpmyadmin

5. Webmin

     https://www.digitalocean.com/community/tutorials/how-to-install-webmin-on-ubuntu-20-04

    When problem occur for password check the below link   

      /usr/share/webmin/changepass.pl /etc/webmin root password

6. Jenkins

       https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-22-04

        https://www.programmerhat.com/failed-to-start-jenkins-continuous-integration-server/

        when  problem occurs use the below link. The error occurs for Java version.

        https://www.programmerhat.com/failed-to-start-jenkins-continuous-integration-server/

 7.   How To Add Swap Space on Ubuntu.

        https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04


Machine Learning - Potato Leaf Disease Prediction

Step 1: import numpy as np import pandas as pd import splitfolders import matplotlib.pyplot as plt import tensorflow as tf from tensorflow i...