Code New England

  • Home
  • Portfolio
  • Blog
  • Contact Us

Unix

System Administration

Add new Let’s Encrypt certificates with Certbot

To add new certificates for a new domain you set up, simply run the following code in your terminal, replacing example.com with your new domain name: sudo certbot –apache -d example.com -d www.example.com  

By Code New England, 7 yearsFebruary 24, 2018 ago
Command-Line Basics

Move contents of folder up one level

Whenever I download WordPress and extract it, all files reside within the wordpress/ subdirectory. To simply copy all those files up one level, I issue the following command: (more…)

By Code New England, 16 yearsJune 24, 2009 ago
Command-Line Basics

Open a tar file using the command line on Linux

Opening a tar file on Linux couldn’t be easier. Navigate to the directory of your tar file and enter the following command: (more…)

By Code New England, 16 yearsJune 23, 2009 ago
Command-Line Basics

Create mulitple subdirectories using mkdir

Often times I am in need of creating a base directory which contains one or more sub directories. Of course, one could run the mkdir command for each and every directory you whish to create. Or you could use one command and have mkdir create all directories, including the base Read more…

By Code New England, 16 yearsJune 20, 2009 ago
System Administration

Create a new MySQL database

Assuming you already have MySQL installed, here are the commands to create a new MySQL database:

First, we log in into MySQL using the root credentials you specified during installation of MySQL: (more…)

By Code New England, 17 yearsApril 20, 2008 ago
System Administration

Update IPTABLES

To add a new firewall rule to your existing IPTABLES configuration, I am using three simple commmands.

With the first command I am checking which rules are currently active: (more…)

By Code New England, 23 yearsOctober 18, 2002 ago
Recent Posts
  • Troubleshooting IPv6 Connectivity on OpenWrt: Fixing DHCPv6 Issues
  • How to Use ChatGPT’s API with ASP.NET Core 8.0: A Comprehensive Guide
  • Fixing broken Time Machine backups after upgrading to Apple Mac OS Big Sur
  • Entity Framework Concurrency Error when updating existing data
  • How to run each hosted website as a different user
Archives
  • November 2024
  • August 2024
  • November 2020
  • June 2019
  • January 2019
  • August 2018
  • February 2018
  • March 2011
  • June 2009
  • April 2009
  • April 2008
  • October 2002
Categories
  • Apple
  • Big Sur
  • Command-Line Basics
  • Networking
  • Photography
  • Software Development
  • System Administration
  • Time Machine
  • Web Server
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Blog
  • Contact Us
  • Home
  • Portfolio
Hestia | Developed by ThemeIsle