Skip to main content
126
results
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A script can define directories to backup, and pass those directories as arguments to the tar utility, which creates an archive file. The archive file can then be moved or copied to another location.   Example Shell Script #!/bin/bash # # Backup script # # NAME: daily-backup.sh # PATH: /mnt/e/bin # DESC: Backup scripts, documents and configuration files to .tar # # What to backup # backup_files="/home...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your...
Andrew Fletcher
In this woalk through I am going to use GitHub.  However, the steps are...
Andrew Fletcher
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
On your local OSX environment using Terminal or iTerm you can create a MySQL database, database user, and password, as well as, assign all privileges to the user for the database. Knowing your credentials, before beginning you will need to know the following: user: {user} password: {password} database: {database} For my local environment, I'll be using these credentials user root password root database safs   Walkthrough the steps to build your database: The initial step is to...
Andrew Fletcher
This article assumes that you are running Docker and Lando already.  Don't...
Andrew Fletcher
While working with lando, I had the following error ERROR: for safs_appserver_1...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I getting Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.28. in /app/vendor/composer/platform_check.php on line 24  Problem solving Opening the directory in VS Code, if I run the command  php -vThe response I'm getting is PHP 8.1.2 (cli) (built: Jan 21 2022 04:47:26) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.2,...
Andrew Fletcher
First off, this isn't the only method to achieve the outcome of emptying a...
Andrew Fletcher
Working in Lando and you have hit the situation where you need to view the log...
Andrew Fletcher
Changes in your .env file Connecting your app to the new environment you need to...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...