📮Check Versions
Verifying Versions
Apache2
Ubuntu:
apache2 -v
CentOS:
httpd -v
PHP
Ubuntu:
php -v
CentOS:
php -v
cURL
Ubuntu:
curl --version
CentOS:
curl --version
MongoDB
Ubuntu:
mongod --version
CentOS:
mongod --version
MySQL
Ubuntu:
mysql --version
CentOS:
mysql --version
Redis
Ubuntu:
redis-server --version
CentOS:
redis-server --version
PostgreSQL
Ubuntu:
psql --version
CentOS:
psql --version
JSON
Ubuntu:
jq --version
CentOS:
jq --version
Verifying Versions Details
To check the version of each software component, you simply need to execute the corresponding command in your terminal. Each command will output the version number of the respective software.
Installing Required Versions
If your system does not have the necessary versions installed, you can follow these instructions to install them:
MySQL 8.0
Ubuntu:
sudo apt-get install mysql-server-8.0
CentOS:
sudo yum install mysql-server
PHP 7.4 - 8.2
Ubuntu:
sudo apt-get install php7.4
(Replace7.4
with desired version)CentOS:
sudo yum install php
(Ensure the desired version is available in the repositories)
cURL Latest Version
Ubuntu:
sudo apt-get install curl
CentOS:
sudo yum install curl
Apache2
Ubuntu:
sudo apt-get install apache2
CentOS:
sudo yum install httpd
MongoDB
Ubuntu:
CentOS:
Add the following:
Then run:
Conclusion
Following these steps, you can verify the versions of various software components and install the required versions if necessary. The commands provided are specific to Ubuntu and CentOS systems, so make sure to adjust them accordingly if you're using a different operating system.
WINDOWS !
Verifying Versions
Apache2
Windows: Open Command Prompt and run
httpd -v
PHP
Windows: Open Command Prompt and run
php -v
cURL
Windows: Open Command Prompt and run
curl --version
MongoDB
Windows: Open Command Prompt and run
mongod --version
MySQL
Windows: Open Command Prompt and run
mysql --version
Redis
Windows: Open Command Prompt and run
redis-server --version
PostgreSQL
Windows: Open Command Prompt and run
psql --version
JSON
Windows: Open Command Prompt and run
jq --version
Verifying Versions Details
To check the version of each software component, you simply need to execute the corresponding command in Command Prompt. Each command will output the version number of the respective software.
Installing Required Versions
If your system does not have the necessary versions installed, you can follow these instructions to install them:
MySQL 8.0
Windows: Download and install MySQL from the official website: MySQL Community Downloads
PHP 7.4 - 8.2
Windows: Download and install PHP from the official website: PHP Downloads
cURL Latest Version
Windows: Download and install cURL from the official website: cURL Download Wizard
Apache2
Windows: Download and install Apache HTTP Server from the official website: Apache HTTP Server Project
MongoDB
Windows: Download and install MongoDB from the official website: MongoDB Download Center
Done.
Last updated