This repository contains a set of bash scripts designed to automate the installation of four popular PHP-based platforms: Magento, Krayin, Unopim, and Bagisto. The main script allows you to choose which platform you want to install on your system, making it easy to set up each one in a pre-configured environment.
- Magento - An open-source e-commerce platform.
- Krayin - A self-hosted CRM built on Laravel.
- Unopim - An open-source project management tool.
- Bagisto - A Laravel-based open-source e-commerce platform.
- Automated installation of necessary utilities like Apache, MySQL, PHP, Composer, and more.
- Custom installation for each platform, including configuration and setup.
- Support for multiple platforms via a single script.
- Configures virtual hosts for each platform with Apache.
- Ubuntu 20.04 or later.
- A user with
sudoprivileges. - At least 2 GB of RAM and 2 CPU cores (recommended).
-
Clone the repository:
git clone https://github.com/Narwal25/installation_scripts.git cd installation_scripts -
Make the
main.shscript executable:chmod +x main.sh
-
Run the script:
./main.sh
The script will provide a menu to choose which platform to install. You can choose one of the following:
- Magento
- Krayin
- Unopim
- Bagisto
Follow the on-screen prompts to complete the installation.
Each platform has a dedicated script that automates its installation:
-
Magento:
- Installs Apache2, MySQL, PHP, and other dependencies.
- Installs and configures Magento from its official GitHub repository.
- Sets up the database, and configures Magento using the CLI.
-
Krayin:
- Installs Apache2, MySQL, PHP, and other required extensions.
- Clones the Krayin CRM repository and configures it.
- Sets up Apache VirtualHost and configures the
.envfile.
-
Unopim:
- Installs Apache2, MySQL, PHP, and other required extensions.
- Clones the Unopim repository and installs dependencies via Composer.
- Sets up Apache VirtualHost and configures the
.envfile.
-
Bagisto:
- Installs Apache2, MySQL, PHP, and other required extensions.
- Clones the Bagisto repository and installs dependencies via Composer.
- Sets up Apache VirtualHost and configures the
.envfile.
This project is licensed under the GPL-3.0 License.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes and commit them (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
- Thanks to the communities of Magento, Krayin, Unopim, and Bagisto for their great platforms.
- This repository aims to simplify the installation process for developers and system administrators.
For questions or support, please open an issue on the GitHub repository.