https://github.com/shafikul-git/ubuntu-setup
https://github.com/shafikul-git/ubuntu-setup
laravel mysql-database nodejs npm php phpmyadmin phpmyadmin-database ubuntu
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shafikul-git/ubuntu-setup
- Owner: shafikul-git
- Created: 2025-03-27T04:00:23.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-27T08:44:13.000Z (9 months ago)
- Last Synced: 2025-03-27T09:41:22.876Z (9 months ago)
- Topics: laravel, mysql-database, nodejs, npm, php, phpmyadmin, phpmyadmin-database, ubuntu
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## First Ubuntu setup and configure
## Install Apt `serviceName`
```sh
sudo apt install
```
## Status Check `serviceName`
```sh
sudo systemctl status
```
---
### Install Node
```sh
sudo apt install nodejs
```
### Install Npm
```sh
sudo apt install npm -y
```
### Install php
```sh
sudo apt install php
```
### Install Composer
```sh
sudo apt install composer
```
## Laravel Install But laravel Command not found
```sh
export PATH="$HOME/.config/composer/vendor/bin:$PATH"
```
---
## Configure Server
### Install Apache
```sh
sudo apt install apache2
```
### Install Mysql
```sh
sudo apt install mysql-server
```
### Install Phpmyadmin
```sh
sudo apt install phpmyadmin
```
### Configure Phpmyadmin
```sh
sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
```
---
### If you not Set Password, then Username & password
```sh
sudo cat /etc/mysql/debian.cnf
```
### If Change Password Phpmyadmin
```sh
sudo mysql -u root -p
```
Then
```sh
ALTER USER 'phpmyadmin'@'localhost' IDENTIFIED BY '---';
FLUSH PRIVILEGES;
EXIT;
```
Next
```sh
sudo mysql_secure_installation
```
Login `http://localhost/phpmyadmin/` UserName `phpmyadmin` Password `---`