Skip to content

Instantly share code, notes, and snippets.

@mattpatterson94
mattpatterson94 / server_setup.md
Last active July 1, 2021 08:26
WP Server Setup

Set up server for Wordpress

Part 1: Initial Configuration

1. Create new 1GB Digital Ocean Box with Backups enabled.

2. Generate two passwords. One will be used for new user and one for mysql root.

3. Paste Server details and passwords into the spreadsheet

4. ssh into server

5. Create new user deployer. Use one of the passwords generated in step 2.

<?php
function lv2_add_bulma_input_classes( $args, $key, $value = null ) {
// Include in functions.php
/* This is not meant to be here, but it serves as a reference
of what is possible to be changed.
$defaults = array(
'type' => 'text',
'label' => '',
@mattpatterson94
mattpatterson94 / plex-media-server-raspberry-pi-setup.md
Last active November 19, 2023 20:39
Setting up Plex Media Server on Raspberry Pi (with NTFS automounting)
  1. Get the latest version of Raspbian LITE
  2. Download Etcher and install.
  3. Run etcher to burn raspbian onto your SD Card
  4. Place a file named ssh on the boot directory (you can mount the boot directory in disk utility)
  5. Place the SD card into the pi and boot.
  6. Run sudo raspi-config to set up basic initial config.
  7. Upgrade Raspbian
sudo apt-get update

Keybase proof

I hereby claim:

  • I am mattpatterson94 on github.
  • I am mattpatterson94 (https://keybase.io/mattpatterson94) on keybase.
  • I have a public key ASCKXf9Ev6L8JWcPt8eFPhy02i-kzHMzQl78SQv6E2EjiQo

To claim this, I am signing this object: