Installation on VPS hosting
Installing and configuring software on a VPS (Virtual Private Server) can be a detailed process, depending on what you intend to set up. Here, I'll provide a general step-by-step guide to get you started with a typical setup, including initial server configuration, security measures, and installation of a web server (Apache), a database server (MySQL), and a scripting language (PHP).
VPS stands for Virtual Private Server. It is a type of hosting service that allows individuals or organizations to have their own virtual server, which is a software-based version of a physical server.
A VPS provides a user with the ability to have their own dedicated resources such as CPU, RAM, and storage, but still share a physical server with other users. This allows for more flexibility, control and security than shared hosting, but at a lower cost than a dedicated server.
VPS hosting is ideal for websites or applications that have outgrown shared hosting but don't require the resources of a dedicated server. It allows users to install custom software, configure server settings and access the server remotely.
For VPS use Ubuntu 20.0 OR 22.10 OS, Also install Apache 2, PHP 8.2.4, MySQL 5.7, Phpmyadmin, Zip, Unzip and all above mentioned extensions.
in apache server root folder: /var/www/html OR /home/user/emart
Before installing, make sure mod_rewrite.c header is must enabled.
Unzip the source file and move all evoting files at /home/user/ and on terminal run following command
⚙️ /home/user/emart, you can configure Apache virtual host as follows (remember to point the Document Root to the public folder of the source)
👨💻 Change the director/file’s owner to Apache’s running user (www-data for example), to make sure it has proper permission on your source files.
After that kindly follow the steps below :
Last updated