Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/beangreen247/webdev-server-setup-script

WIP a script that automates the process of setting up a web development server
https://github.com/beangreen247/webdev-server-setup-script

automation bash bash-script debian debian-linux developer-tools development mysql mysql-database php web website

Last synced: 26 days ago
JSON representation

WIP a script that automates the process of setting up a web development server

Awesome Lists containing this project

README

        

# webDev-server-setup-script
a script that automates the process of setting up a web development server

make sure to read the [nginx_notes](https://github.com/BeanGreen247/webDev-server-setup-script/blob/main/nginx_notes) file for more information

### what about ssh and vnc remote desktop?

use raspi-config and go here, there you will find the follwing option and enable SSH and VNC
```
3 Interface Options Configure connections to peripherals
```
### what happens when running headless now?

well it defaults to a pretty resolution of 1024x768 so use the resolutions.sh script at startup or use arandr software

unless you remove xrog like i just did, so no screen for you, only ssh

### what if i do not want to manage the db using commandline tools?

i personally use [HeidiSQL](https://github.com/HeidiSQL/HeidiSQL)

### make sure to do this

sudo nano /etc/mysql/mariadb.cnf

and uncomment the port 3306

next run these commands
```
sudo ufw allow 3306/tcp
sudo ufw reload
```
and make sure the file is changed to this

/etc/mysql/mariadb.conf.d/50-server.cnf
```
bind-address = 127.0.0.1
port = 3306
```
then reload the db software or reboot