Skip to content

Codeko/ec2-manager

Repository files navigation

ec2-manager

AWS EC2 manager portal

description

EC2 allows users to have machines on which they can run their own projects

start-up

Install git

  1. sudo apt-get install git

Create the folder where you want to put the project

  1. mkdir name´s project

Access the new folder

  1. cd name´s-proyect

Clone the repository

  1. git clone https://github.com/Codeko/ec2-manager.git

Access the new project

  1. cd name´s-proyect

To create user for phpMyAdmin

  1. mysql -u root -P

Now you can add a new MySQL user with the username of your choice.

  1. CREATE USER 'USERNAME'@'%' IDENTIFIED BY 'PASSWORD';

And finally grant superuser privileges to the user you just created

  1. GRANT ALL PRIVILEGES ON . TO 'newuser'@'localhost';
  2. FLUSH PRIVILEGES;

Create database

  1. CREATE DATABASE name´s database;
  2. EXIT;

modify DB_PASSWORD and DB_DATABSE in .env file adding name´s database you created in step 10 and mysql password

  1. DB_PASSWORD= PASSWORD
  2. BD_DATABASE= name´s database

give user permission

  1. chmod -R 777 .

Install administration panel

  1. composer require orchid/platform

Run the installation process by running the command

  1. php artisan orchid:install

To create a user with maximum permissions, you can run the following command with a username, email, and password

  1. php artisan orchid:admin admin [email protected] password

Start the server

  1. php artisan serve

To access the administration panel

http://127.0.0.1:8000/admin

Emain and password that has been assigned in step 17

About

AWS EC2 manager portal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages