开源软件名称(OpenSource Name):bkuhlmann/mac_os-config开源软件地址(OpenSource Url):https://github.com/bkuhlmann/mac_os-config开源编程语言(OpenSource Language):Shell 98.5%开源软件介绍(OpenSource Introduction):macOS ConfigurationShell scripts for customized macOS machine setup and configuration. This project provides a highly opinionated default configuration built upon the macOS project. Should the configuration provided by this project not be to your liking, feel free to fork and customize for your specific needs. Table of Contents
FeaturesDue to the amount of tooling used, the following features are broken down into subsections for easier navigation. App Store ApplicationsInstalls the following App Store applications: Non-App Store ApplicationsInstalls the following macOS applications which are not located in the App Store: Application ExtensionsInstalls the following extensions to existing applications: Ruby GemsSetupTo install, run: git clone https://github.com/bkuhlmann/mac_os-config.git
cd mac_os-config
git checkout 22.4.0 UsageThe following will walk you through the steps of installing/re-installing your machine. Pre-InstallEnsure you have the following in place for your Silicon machine:
Install
Post-InstallThe following are additional steps, not easily automated, that are worth completing after the install scripts have completed:
Keyboard ShortcutsSeveral applications provide global hotkey support. These are the associations I use (which are also
captured in the
NewsyslogNative to macOS, newsyslog can be used
to configure system-wide log rotation across multiple projects. It’s a good recommendation to set
this up so that disk space is carefully maintained. Here’s how to configure it for your system,
start by creating a configuration for your projects in the
These configurations ensure that logs are rotated every 5MB (5120KB). In order to test that these configurations are valid, run: sudo newsyslog -nvv If you don’t see any errors in the output, then your configuration settings are correct. The last thing to do is to add a launch configuration to ensure the log rotations happen at
regularly scheduled intervals. To do this create the following file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.newsyslog</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/newsyslog</string>
</array>
<key>LowPriorityIO</key>
<true/>
<key>Nice</key>
<integer>1</integer>
<key>StartCalendarInterval</key>
<dict>
<key>Minute</key>
<integer>30</integer>
</dict>
</dict>
</plist> That’s it. System-wide log rotation is setup for your projects. CustomizationWhile this project’s configuration is opinionated and tailored for my setup, you can easily fork
this project and customize it for your environment. Start by editing the files found in the TIP: The installer determines which applications/extensions to install as defined in the
DevelopmentTo contribute, run: git clone https://github.com/bkuhlmann/mac_os-config.git
cd mac_os-config CreditsEngineered by Brooke Kuhlmann. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论