How to Install Groceri.es on Kali Linux Latest
Groceri.es is a web-based open-source platform that facilitates grocery shopping, allowing users to create and share shopping lists. This tutorial will guide you on how to install Groceri.es on Kali Linux Latest.
Prerequisites
- Kali Linux Latest installation
- Apache, MySQL, and PHP (LAMP) installed and running
- Access to the command line as sudo or root user
Step 1: Download Groceri.es
To download Groceri.es, open the terminal and enter the following command:
$ git clone https://github.com/edwardawebb/Groceri.es.git
Step 2: Install Dependencies
Groceri.es requires some dependencies to function correctly. Install them by running the command:
$ sudo apt-get install php-mysql php-gd php-curl php7.0-intl php7.0-mcrypt php7.0-xml
Step 3: Configure the MySQL Database
Create a new empty MySQL database named "groceri.es". You can do this by running the following command and entering the password for the MySQL root user:
$ mysql -u root -p
mysql> CREATE DATABASE groceri.es;
Step 4: Configure Groceri.es
Navigate to the directory where you have downloaded Groceri.es and rename the file "config-sample.php" to "config.php".
$ cd Groceri.es
$ mv config-sample.php config.php
Open the config.php file using a text editor and enter the database name, database username, and database password.
define('DB_NAME', 'groceri.es');
define('DB_USER', 'root');
define('DB_PASSWORD', '[your password]');
Step 5: Move the Files to the Webserver
Move the files to the Apache webserver root directory by running the following command:
$ sudo mv -r Groceri.es /var/www/html/
Step 6: Set Permissions
Make sure that the Apache web server has read and write permissions to the "uploads" and "images" folders.
$ chmod 777 /var/www/html/Groceri.es/uploads
$ chmod 777 /var/www/html/Groceri.es/images
Step 7: Access Groceri.es
Open a web browser and enter the following address:
http://localhost/Groceri.es/public
Congratulations, you have successfully installed Groceri.es on Kali Linux Latest!