Return to site

Macbook Studio Setup

broken image


The first thing to note when setting up a home recording studio is that while having really high quality and expensive gear and a multimillion-dollar facility is a great asset for making professional recordings, it pales in comparison to how important the actual skills are required to make a great recording and/or mix.

Knowing what you're doing will trump any piece of gear.

With today's technology, you can ultimately make an incredibly professional sounding recording and mix with very little money spent on 'gear' and in the comfort of one's own home.

This article will address some considerations when setting up a home studio on a budget.

Go to the Bluetooth settings on your device. For example, on your Mac, choose Apple ( ) menu System Preferences, then click Bluetooth. Make sure that Bluetooth is turned on. Select your headphones from the list of discovered Bluetooth devices. MPC Studio Mac OS X Firmware Update v1.10 (467.65 kB) MPC Studio Hi Res Images (7.72 MB) MPC v2.8.1 Release Notes (45.64 kB) MPC Renaissance, MPC Studio - User Guide. Quicktime is the easiest of the bunch here, since its audio settings can be edited in the screen recording window. To change the microphone settings you need to go to the menubar and click File then click New Screen Recording in the window that appears, you'll see a white arrow on the right side, click it and it will open up a drop-down menu of the microphones you can choose from.

How to set up a home recording studio

1. Computer

First of all, you'll have to own a computer.

You don't need the latest Mac Pro that's all decked out with every single possible specification that could power a spaceship and cost you a pretty penny, but you also don't want to be doing your recording on hand-me-down Windows 95 computer from the 90s.

We recommend a middle of the road currentMac Book Pro, iMac, or even Mac Mini (or any of the PC equivalents—although the greater percentage of creatives in the music business choose Mac).

The computer is going to be your center of operations and is a very important part of the home studio.

Most music biz creatives choose to use a Mac.

2. Digital Audio Workstation

It doesn't really matter which one you choose, but you'll need to purchase a DAW (short for Digital Audio Work Station). This 'app' is what allows you to record, use virtual instruments (VIs), and mix.

The industry standard is Avid's Pro Tools, and for complex audio mixing, manipulation and routing, is probably the best for the task.

It used to be very expensive to get a Pro Tools rig running in a home studio, but now for around $100 a year, you can have the exact software that the pros use.

Or, for around $200, you can purchase Apple's Logic, which is the choice for most songwriters, producers, and musicians both professional and beginners who are just getting into the game of producing, recording, and mixing. If you've used Garage Band, Logic is a nice segue into the world of pro audio because it has a similar layout and look.

Ableton Live—which is a bit more expensive if you buy the complete version—is another great option and is the choice for the larger percentage of producers in the EDM, hip hop, and electronic genres because of its excellent MIDI, VST, and song creation workflow.

You can explore other options like Cubase, Reaper, Fruity Loops, etc. – just remember that there is no difference in audio quality between DAWs, and no DAW 'sounds' better than any other.

It's all about the DAW that allows for the best workflow for you, which varies from person to person.

Many of the companies allow for you to demo the software for free, so try them out!

3. Audio Interface

Unless you're planning to solely use virtual instruments (VIs) and samples in your productions, you'll need an audio interface.

Not only will an audio interface allow you to record audio such as your voice, guitar, synth, etc. via a microphone or instrument cable, it also will provide you with some quality outputs for a set of speakers—or 'monitors' as we call them in the audio world.

You can use the headphone output of your computer, but it is not as good as an interface, it will require adapters, and can generally be a bit of a nuisance sometimes with buzzes and other artefacts of the computer and audio converters.

Audio interfaces can be as cheap as $100 or can climb into the thousands of dollars.

For most home studio enthusiasts — unless you're recording a live band/ensemble or desiring to track drums with lots of microphones — you won't need that many inputs and can thus buy a cheaper interface.

We recommend on the lower end the Scarlett 2i2 (~$150) or on the mid-range end the Universal Audio Apollo Twin (~$700).

If you decide you need more than two inputs, we recommend the Scarlett 18i20 or the Universal Audio Apollo Quad.

If you're on a tight budget, you can do a LOT with the Scarlett 2i2 — it's a seriously great interface for the money.

Besides the input and output count (I/O) the difference in audio quality between the more expensive stuff and the cheaper stuff is there, but it is not night and day difference.

If you intend on combining some live instruments (such as guitars and vocals) with virtual instruments in your productions, the difference is even more negligible. The high-end interfaces really are geared towards engineers who are recording mostly audio, as opposed to electronic producers.

4. Speakers (Monitors) & Headphones

Being able to hear what you're recording and mixing in the best of detail is of utmost importance for making a quality record. Luckily, you don't have to break the bank to get some good monitors and headphones.

Monitors have the advantage of being 'flat' as opposed to commercial speakers that are tuned with a hyped EQ curve. While your car audio system or home entertainment HiFi may be fun to listen to music on, you certainly don't want to mix on those systems as you may make some very faulty mixing mistakes. Apple computer with android phone.

For example, if the system has super heavy bass, you may make up for it by mixing your track with less bass, and then when you play your track on a generic car system or listen on headphones, it will be completely top heavy and will lack the necessary low end.

You can purchase some decent monitors for as little as $400. Yamaha HS5s or KRK G2 5s are great for getting started. Reformat macbook pro.

You don't need to break the bank when it comes to buying your first monitors.

However, once you get into the midrange cost of monitors, you will definitely notice a difference and the extra money spent will really help you with your recording, production, and mix decisions.

Yamaha HS8s are becoming an industry standard and you can get a used pair for as little as $600.

Monitors from companies like Adams and Focal will cost well over a grand, but are truly incredible and should be considered if you have the budget.

If you plan on recording vocals or any other instrument with a microphone, you'll need some headphones as it will create feedback and other unwanted noise and phasing if you record while listening through monitors in the same room. https://bestrload523.weebly.com/hspice-software-free-windows-8.html.

You can get headphones that are fine for tracking for as little as $20-$30. However, if you intend on being able to use headphones for mixing and producing, you'll have to spend quite a bit more.

One of the industry standards for mixing headphones are the Beyerdynamic DT700s. These are truly incredible, flat, and accurate headphones that you can use to mix.

When it comes to headphones, you get what you pay for.

Historically, there's been a sentiment in the audio community that 'you can't mix on headphones,' but that's simply not true as countless contemporary records have been mixed using headphones. As a matter of fact, sometimes it's better to mix on headphones because if you're listening to your monitors in 'bad' room that has echo, unwanted resonance, and other undesirable room artefacts, you will get a distorted version of what you are recording and mixing. At least on headphones, if you're using good ones, it will be flat and will always be the same in a neutral environment (right next to your ears)—something you can rely on.

Remember, when you first begin mixing, it's a good idea to use reference tracks while mixing so you know what truly great recordings sound like on your system. Don't worry, you won't be able to copy someone else's mix completely. Instead, you'll have a better idea of where things should go in your own mix.

5. Microphones

You'll need a microphone in order to record vocals or any other acoustic instrument. More than likely, you'll just need one microphone.

Ensuring that your vocal tracks shine in a mix is the most vital part of your recording endeavor if you're involved with popular music. Luckily, you can record stellar vocals with a relatively budget microphone.

The Rode NT1A is a great choice.

Paying a bit of homage to the famed Neumann U87, it costs a fraction of the Neumann's $3,700 retail price tag: $229. Don't get me wrong, a Neumann U87, U67, Manley Gold Reference, or any other fancy microphone can do wonders on a vocal. But you can still record completely professional tracks with a Rode NT1A.

Getting a great sound is about more than just the microphone.

What will really make a true difference in the quality of your recorded vocal tracks are:

(A) the quality and skill of the singer

(B) the quality of the room you record in.

If you record a so-so singer in a room that has unwanted resonance and noise, your tracks will sound unprofessional. It doesn't matter if it's a U87 or a Rode NT1A. If you record a great singer in a room that is free of unwanted noise, resonance, and echo, you will have stellar tracks.

It should be noted that you don't need to go out and buy the most expensive acoustic treatment for the room you'll be recording in.

You can buy budget materials or even use stuff lying around the house like blankets, mattresses, pillows, etc. to dampen the room. Bookcases with books really help to diffuse the room.

When I first started engineering, I had my vocalists record in my walk-in closet. I couldn't charge as much back then because of the way it looked, but now I have a professional vocal booth and can charge a lot more. However, the difference in sound quality between the two is practically non-existent!

If you plan on recording a stereo source, such as a piano, drum overheads, stereo room, etc. either buy an additional mic to match what you already have, or you could buy a stereo pair.

Perhaps if you did buy something like the NT1A, which is a large diaphragm microphone, a stereo 'pencil' pair may be a good compliment. The Rode NT5s are a good budget choice.

That's it! Anything else you buy will be just embellishing the essentials of a fully operational recording studio. Outboard analog gear is fun and can add interesting and beautiful colors to your recording and mixing arsenal, but are not completely necessary. Better yet, purchase a few quality plugins and really learn them.

Below is the equipment for a sample budget recording studio:
Mac Mini: $699
Logic Pro: $199
Scarlett 2i2: $149
Tracking headphones: $29
Rode NT1A: $229
Yamaha HS5s: $400
Total: $1,705

When you have made your home-recorded demo, it's a matter of turning it into a master track, ready to compete for airtime on major radio stations. The easiest (and the best) way to achieve this is by hiring professionals.

If you're worried about the costs, don't be. In the day and age we live in, where everything can be done through online collaboration, hiring a professional music studio is affordable and you get master-quality tracks thanks to A-list engineers, musicians and producers who are now one click away.

Do you have any question about setting up your own home studio? Or any tips for other musicians hoping to start recording at home? Let us know in the comments below.

This is a guest article by Jake Gakovik, a session guitarist, music entrepreneur, and co-founder of www.supremetracks.com, a professional online recording studio where you can get your songs arranged, recorded and mastered by award-winning music professionals.

A guide to setting up an Apple Mac for DevOps and software development. This is current for macOS 10.14 (Mojave).

Log in once, run Software Update, and ensure that the operating system is at the latestpoint release. After all of the updates have been applied, restart the computer.

Log in again and create an Admin user account for your use. If other people will beusing the machine, create Standard accounts for them. Log out of the initial account,and log in to the Admin account that you have just created.

Always log in with this new Admin account. The benefit of leaving the initial accountuntouched is that it ensures that you always have a working account to login with.

Admin accounts have sudo privileges: All Admin accounts on a Mac may use sudo to runcommand-line utilities with administrative (root) privileges.

You should also find an external hard drive. Begin using Time Machine as soon aspossible, as it provides the most easy method for backing up your system.

Configuring The Trackpad

To make the trackpad behave correctly, ensure that these settings are enabled:

  • System Preferences > Trackpad > Tap to click
  • System Preferences > Accessibility > Mouse & Trackpad > Trackpad Options… >Enable dragging

Creating a Private Applications Folder

Once you have logged into your account, create a folder called Applications withinyour home folder. Whenever you are prompted to drag a new applications into the globalApplications folder, put it in this private Applications folder instead. Someapplications have to be installed to global folders, but in most cases you can keep thesystem directories clean by storing third-party products in your private Applicationsfolder.

Securing the Safari Browser

Whether or not you regularly use Safari, you should open it once, and adjust thesettings in case that you use it later.

First, choose Safari > Preferences > General and deselect the option Open 'safe' files after downloading.

Second, go to Safari > Preferences > Search. Decide which search engine that you want to use. Ensure that Safari Suggestions is not enabled.

Then, check the plug-in settings. Go to Safari > Preferences > Security > Plug-in Settings… and review the plug-ins and settings.

Apple provide quite secure operating systems, but unfortunately convenience has won outover security in a few places. These can easily be corrected by changing a few settings.If you are using a laptop then you should probably make all of these changes as soon aspossible.

Basic Settings

Select System Preferences > Security & Privacy, and set the following:

  • Under General, set require a password after sleep or screen saver begins toimmediately
  • Click Advanced… and select Require an administrator password to accesssystem-wide preferences
  • Under Firewall, click Turn Firewall On.
  • Under Privacy, select Analytics and ensure that the options are not enabled.

Disable Spotlight

By default, Spotlight sends queries to Apple. Unless you want this feature, turn it off.

Select System Preferences > Spotlight > Search Results, and ensure that Spotlight Suggestions is not enabled.

Enable File Vault NOW

Current versions of macOS include File Vault 2, a full-disk encryption system that haslittle in common with the much more limited File Vault 1. You should enable File VaultNOW, because it is the only protection against anyone with physical access to yourcomputer. All other security measures will be completely bypassed if someone withphysical access simply restarts the computer with a bootable pen drive.

File Vault really is secure, which means that you can permanently lose access to yourdata if you lose the passwords and the recovery key.

Set a Firmware Password

Set a password to stop access to theRecovery mode. Otherwise, any maliciousindividual can change the firmware settings to boot from a disc or device of theirchoosing. If you did not enable File Vault, then the attacker will have complete accessto all of the files on the system.

Apple Knowledge Base article HT204455provides full details.

Setting Up Time Machine Backups

Time Machine is simple to set up. Just take a suitably large external hard drive, plug itin to your Mac, and agree when prompted. The drive setup process will reformat the harddrive. The only settings that may need to change are the exclusions.

Choose System Preferences > Time Machine, and click Options. Add to the exclusionslist any folders that contain ISO disk images, virtual machines, or database files (suchas Entourage). If the external hard drive is short of space, exclude the Systemfolder.

The first step is to install a compiler. The easiest way to install one is with theXcode Command Line Tools package.

Once you have the compiler that is provided by Xcode, you can useHomebrew to install everything else that you need.

Getting Xcode

Apple now provide the Xcode suite as a free download from the App Store. To installXcode Command Line Tools, install Xcode from the App Store, then open a Terminal windowand enter the following command:

Setting Up Homebrew

Homebrew provides a package management system for macOS, enabling youto quickly install and update the tools and libraries that you need. Follow theinstructions on the site.

You should also amend your PATH, so that the versions of tools that are installed withHomebrew take precedence over others. To do this, edit the file .bashrc inyour home directory to include this line:

You need to close all terminal windows for this change to take effect.

To check that Homebrew is installed correctly, run this command in a terminal window:

To update the index of available packages, run this command in a terminal window:

Once you have set up Homebrew, use the brew install command to add command-line software to your Mac, and brew cask install to add graphical software. For example, this command installs the Slack app:

Installing the Git Version Control System

The Xcode Command Line Tools include a copy of Git, which isnow the standard for Open Source development, but this will be out of date.

To install a newer version of Git than Apple provide, use Homebrew. Enter this command in a terminal window:

If you do not use Homebrew, go to the Web site and follow thelink for Other Download Options to obtain a macOS disk image. Open your downloadedcopy of the disk image and run the enclosed installer in the usual way, then dismountthe disk image.

Always set your details before you create or clone repositories on a new system. Thisrequires two commands in a terminal window:

Macbook Pro Studio Setup

The global option means that the setting will apply to every repository that you workwith in the current user account.

To enable colors in the output, which can be very helpful, enter this command:

Text Editors

Installations of macOS include older command-line versions of bothEmacs and vim, as well asTextEdit, a desktop text editor. TextEdit is designed for light-weight word processing,and has no support for programming. Add the code editors or IDEs that you would prefer to use.

If you do not have a preferred editor, consider using a version of Visual Studio Code. Read the next section for more details. https://coolcfiles116.weebly.com/lyrical-1-8-2.html.

To work with a modern Vim editor, install Neovim.

Visual Studio Code

Visual Studio Code is a powerful desktop editor for programming, with built-in support for version control and debugging. The large range of extensions for Visual Studio Code enable it to work with every popular programming language and framework. It is available free of charge.

The Microsoft releases of Visual Studio Code are proprietary software with telemetry enabled by default. To avoid these issues, use the packages that are provided by the vscodium project instead.

Once you have installed Visual Studio Code or VSCodium, read this article for more information about using the editor.

Neovim

If you would like a modern Vim editor with a good default configuration, set up Neovim.

Setting The EDITOR Environment Variable

Whichever text editor you choose, remember to set the EDITOR environment variable inyour ~/.bashrc file, so that this editor is automatically invoked by command-linetools like your version control system. For example, put this line in your profile tomake Neovim (nvim) the favored text editor:

Setting Up A Directory Structure for Projects

To keep your projects tidy, I would recommend following theGo developer conventions. These guidelines may seemslightly fussy, but they pay off when you have many projects, some of which are ondifferent version control hosts.

First create a top-level directory with a short, generic name like code. By default Gouses a directory called go, but you can change that when you set up a Go installation.

In this directory, create an src sub-directory. For each repository host, create asubdirectory in src that matches your username. Check out projects in the directory.The final directory structure looks like this:

Creating SSH Keys

You will frequently use SSH to access Git repositories or remote UNIX systems. macOSincludes the standard OpenSSH suite of tools.

OpenSSH stores your SSH keys in a .ssh directory. To create this directory, run these commands in a terminal window:

To create an SSH key, run the ssh-keygen command in a terminal window. For example:

Use 4096-bit RSA keys for all systems. The older DSA standard only supports 1024-bitkeys, which are now too small to be considered secure.

JavaScript Development: Node.js

Homebrew provides separate packages for each version of Node.js.To ensure that you are using the version of Node.js that you expect, specify the versionwhen you install it. For example, enter this command in a Terminal window to install theNode.js 12, the current LTS release:

Add the bin/ directory for this Node.js installation to your PATH:

If you need yarn, enter this command in a Terminal window toinstall it:

Go Development

Use Homebrew to install Go:

This provides the standard command-line tools for Go.

The current version of Go includes support for dependency management with modules. Use modules for new projects. Some existing projects still use dep, or an older tool.

Setting a GOPATH

Current versions of Go do not require a GOPATH environment variable, but you should set it to ensure that third-party tools and Terminal auto-completion work correctly.

Set a GOPATH environment variable in your ~/.bashrc file:

Macbook Studio Setup

Then, add this to your PATH:

Close the Terminal and open it again for the changes to take effect.

Java Development: AdoptOpenJDK

Which Version of Java?

Many vendors provide a JDK. To avoid potential licensing and support issues, use the JDK that is provided by the AdoptOpenJDK project. The versions of Java on the OpenJDK Website are for testers, and the Oracle JDK is a proprietary product that requires license fees.

Use the LTS version of the OpenJDK, unless you need features that are in the latest releases.

Once you have installed a JDK, get the Apache Maven build tool. This is provided by the Maven project itself, and is not part of the OpenJDK.

Use jEnv if you need to run multiple JDKs, such as different versions of the same JDK.

Setting up Java with Homebrew

Run these commands in a terminal window:

This installs version 11 of the OpenJDK, from the AdoptOpenJDK project.

Run this command in a terminal window to install Maven:

Setting up jEnv

Run this command in a terminal window to install jEnv:

Next, add this to your PATH:

Add this to your ~/.bashrc file:

Macbook Home Studio Setup

Open a new terminal window, and run this command:

This enables jEnv to manage the JAVA_HOME environment variable.

To avoid inconsistent behaviour, close all the terminal windows that you currently have open. The jEnv utility will work correctly in new terminal windows.

Lastly, run this command to register your current JDK with jEnv:

To see a list of the available commands, type jenv in a terminal window:

Manual Set up of AdoptOpenJDK

To manually install a copy of the JDK:

  1. Download the version of the JDK that you need from AdoptOpenJDK
  2. Unzip the download
  3. Copy the JDK directory to /usr/local/lib
  4. Edit your ~/.bashrc file to set environment variables. For example, to use jdk-11.0.3+7 as the Java version:

To manually install a copy of Apache Maven:

  1. Download the latest version of Maven
  2. Unzip the download
  3. Copy the Maven directory to /usr/local/lib/
  4. Add /usr/local/lib/MAVEN-DIRECTORY to your PATH environment variable

Replace MAVEN-DIRECTORY with the name of the directory that Maven uses, such as apache-maven-3.6.0.

Maven is written in Java, which means that the project provides one package, which works on any operating system that has a supported version of Java.

Python Development: pipenv

Unfortunately, macOS includes a copy of Python 2, so you will need to install Python 3 yourself.

To maintain current and clean Python environments, you should also use pipenv. This builds on two features of Python: the virtual environments and the pip utility.

Enter this command to install Python 3 and pipenv using Homebrew:

Use pipenv to manage your Python projects. The pipenv tool itself will automatically work with the copy of Python 3 from Homebrew.

To use the Python 3 interpreter outside of projects that are managed by pipenv, specify python3 on the command-line and inyour scripts, rather than python:

If you need to run the pip utility, rather than setting up a development environment with pipenv, always use the command pip3:

The Python Guide tutorialshows you how to work with pipenv.

Rust Development: rustup

The official rustup utility enables you to install the tools for building softwarewith the Rust programming language. Click on the Install button on the front page of theRust Website, and follow the instructions.

By default, the installer adds the correct directory to your path. If this does notwork, add this to your PATH manually:

This process installs all of the tools into your home directory, and does not add anyfiles into system directories.

Ruby Development: RVM

All macOS systems include a copy of Ruby, but it is outdated. To maintain current andclean Ruby environments, use the RVM system.

RVM relies on Git, so you must have a working installation of Git before you can set upRVM.

By default, RVM downloads copies of Ruby that have been compiled for your operatingsystem. If there is no compiled version, RVM then falls back to downloading the sourcecode and then compiling it on your computer. Enter this command to ensure that therequirements for compiling Ruby are on your system, using Homebrew:

Finally, you can speed up installation of gem packages by disabling the generation oflocal documentation. To do this, create a file in your home directory with the name.gemrc and put this line in it:

Minikube sets up and manages Kubernetes on a single system, so that you can develop and test without needing a set of servers.

To install Minikube with Homebrew, run these commands in a terminal window:

By default, Minikube uses a virtual machine manager. If you do not need VirtualBox, install hyperkit, which provides a minimal virtual machine manager.

To install Helm with Homebrew, run this command in a terminal window:

To install Skaffold with Homebrew, run this command in a terminal window:

This article explains Minikube in more detail.

Consider using containers to run the databases that you need. If you prefer to install servicesdirectly on to your workstation, Homebrew provides packages for PostgreSQL, MariaDB and MySQL.

Installing PostgreSQL

To install PostgreSQL using Homebrew, enter this command in a terminal window:

This command installs the server, the command-line tools, and the client libraries thatare needed to compile adapters for programming languages.

Visual Studio Macbook Setup

Homebrew also provides some commands for managing your PostgreSQL installation. Forexample, to start the server, follow the instructions that are displayed after theinstallation process is completed. If you upgrade your copy of PostgreSQL, you shoulduse the postgresql-upgrade-database command that Homebrew gives you.

Installing MariaDB or MySQL

To install MariaDB using Homebrew, enter this command in a terminal window:

To install MySQL using Homebrew, enter this command in a terminal window:

These commands install the server, the command-line tools, and the client libraries thatare needed to compile adapters for programming languages. To start the server, followthe instructions that are displayed after the installation process is completed.

For compatibility, MariaDB uses the same names for command-line tools as MySQL.

Remember to set a password for the root accounts. First, login with the mysqlcommand-line utility:

The -q Option Disables Command History: By default, the command-line client storesthe full text of every command in a history file. If you know that you are going torun statements that include passwords or other sensitive data, use the -q option.

Recording

Then, add this to your PATH:

Close the Terminal and open it again for the changes to take effect.

Java Development: AdoptOpenJDK

Which Version of Java?

Many vendors provide a JDK. To avoid potential licensing and support issues, use the JDK that is provided by the AdoptOpenJDK project. The versions of Java on the OpenJDK Website are for testers, and the Oracle JDK is a proprietary product that requires license fees.

Use the LTS version of the OpenJDK, unless you need features that are in the latest releases.

Once you have installed a JDK, get the Apache Maven build tool. This is provided by the Maven project itself, and is not part of the OpenJDK.

Use jEnv if you need to run multiple JDKs, such as different versions of the same JDK.

Setting up Java with Homebrew

Run these commands in a terminal window:

This installs version 11 of the OpenJDK, from the AdoptOpenJDK project.

Run this command in a terminal window to install Maven:

Setting up jEnv

Run this command in a terminal window to install jEnv:

Next, add this to your PATH:

Add this to your ~/.bashrc file:

Macbook Home Studio Setup

Open a new terminal window, and run this command:

This enables jEnv to manage the JAVA_HOME environment variable.

To avoid inconsistent behaviour, close all the terminal windows that you currently have open. The jEnv utility will work correctly in new terminal windows.

Lastly, run this command to register your current JDK with jEnv:

To see a list of the available commands, type jenv in a terminal window:

Manual Set up of AdoptOpenJDK

To manually install a copy of the JDK:

  1. Download the version of the JDK that you need from AdoptOpenJDK
  2. Unzip the download
  3. Copy the JDK directory to /usr/local/lib
  4. Edit your ~/.bashrc file to set environment variables. For example, to use jdk-11.0.3+7 as the Java version:

To manually install a copy of Apache Maven:

  1. Download the latest version of Maven
  2. Unzip the download
  3. Copy the Maven directory to /usr/local/lib/
  4. Add /usr/local/lib/MAVEN-DIRECTORY to your PATH environment variable

Replace MAVEN-DIRECTORY with the name of the directory that Maven uses, such as apache-maven-3.6.0.

Maven is written in Java, which means that the project provides one package, which works on any operating system that has a supported version of Java.

Python Development: pipenv

Unfortunately, macOS includes a copy of Python 2, so you will need to install Python 3 yourself.

To maintain current and clean Python environments, you should also use pipenv. This builds on two features of Python: the virtual environments and the pip utility.

Enter this command to install Python 3 and pipenv using Homebrew:

Use pipenv to manage your Python projects. The pipenv tool itself will automatically work with the copy of Python 3 from Homebrew.

To use the Python 3 interpreter outside of projects that are managed by pipenv, specify python3 on the command-line and inyour scripts, rather than python:

If you need to run the pip utility, rather than setting up a development environment with pipenv, always use the command pip3:

The Python Guide tutorialshows you how to work with pipenv.

Rust Development: rustup

The official rustup utility enables you to install the tools for building softwarewith the Rust programming language. Click on the Install button on the front page of theRust Website, and follow the instructions.

By default, the installer adds the correct directory to your path. If this does notwork, add this to your PATH manually:

This process installs all of the tools into your home directory, and does not add anyfiles into system directories.

Ruby Development: RVM

All macOS systems include a copy of Ruby, but it is outdated. To maintain current andclean Ruby environments, use the RVM system.

RVM relies on Git, so you must have a working installation of Git before you can set upRVM.

By default, RVM downloads copies of Ruby that have been compiled for your operatingsystem. If there is no compiled version, RVM then falls back to downloading the sourcecode and then compiling it on your computer. Enter this command to ensure that therequirements for compiling Ruby are on your system, using Homebrew:

Finally, you can speed up installation of gem packages by disabling the generation oflocal documentation. To do this, create a file in your home directory with the name.gemrc and put this line in it:

Minikube sets up and manages Kubernetes on a single system, so that you can develop and test without needing a set of servers.

To install Minikube with Homebrew, run these commands in a terminal window:

By default, Minikube uses a virtual machine manager. If you do not need VirtualBox, install hyperkit, which provides a minimal virtual machine manager.

To install Helm with Homebrew, run this command in a terminal window:

To install Skaffold with Homebrew, run this command in a terminal window:

This article explains Minikube in more detail.

Consider using containers to run the databases that you need. If you prefer to install servicesdirectly on to your workstation, Homebrew provides packages for PostgreSQL, MariaDB and MySQL.

Installing PostgreSQL

To install PostgreSQL using Homebrew, enter this command in a terminal window:

This command installs the server, the command-line tools, and the client libraries thatare needed to compile adapters for programming languages.

Visual Studio Macbook Setup

Homebrew also provides some commands for managing your PostgreSQL installation. Forexample, to start the server, follow the instructions that are displayed after theinstallation process is completed. If you upgrade your copy of PostgreSQL, you shoulduse the postgresql-upgrade-database command that Homebrew gives you.

Installing MariaDB or MySQL

To install MariaDB using Homebrew, enter this command in a terminal window:

To install MySQL using Homebrew, enter this command in a terminal window:

These commands install the server, the command-line tools, and the client libraries thatare needed to compile adapters for programming languages. To start the server, followthe instructions that are displayed after the installation process is completed.

For compatibility, MariaDB uses the same names for command-line tools as MySQL.

Remember to set a password for the root accounts. First, login with the mysqlcommand-line utility:

The -q Option Disables Command History: By default, the command-line client storesthe full text of every command in a history file. If you know that you are going torun statements that include passwords or other sensitive data, use the -q option.

Run these statements to change the password for root access: Screenshot apple mac.

You now need a password to login to the installation as root. To login with root again,use this command:

Enter the password when prompted.

You should also remove the anonymous accounts and test database that MySQL automaticallyincludes:

If you intend to duplicate a production environment for testing, create a configurationfile on your Mac. Production installations of MySQL should be configured withappropriate SQL modes to enable data integrity safeguards. By default, MySQL permitsvarious types of invalid data to be entered.

Database Management Tools

  • Azure Data Studio for Microsoft SQL Server
  • pgAdmin for PostgreSQL
  • LibreOffice suite: brew cask install libreoffice
  • VirtualBox virtual machine management: brew cask install virtualbox
  • Docker container management: brew cask install docker

Apple offer overviews and task-orientated help on theirsupport Web site for new macOS users.

Every new user should probably readHow to switch to the Mac, by Rui Carmo.

The macOS Privacy and Security Guide by Dr Doh provides extensive information about those topics.





broken image