Unix Commands For Mac

2020年10月10日
Download: http://gg.gg/mjt8h


If you own a Mac and are a programmer, software engineer, web developer or designer, network or systems engineer, or simply interested in learning more about your system, you’re really missing out if you don’t learn the UNIX command line. It is simply one of the most powerful technical skills you can have available in your arsenal. If you’re working in Terminal on your Mac, you need to know the most important UNIX commands: those that work with directories, those that work with files, and miscellaneous but commonly used commands. Folders are called directories in UNIX. Commands that refer to filenames, as most do, assume that you’re talking about files in the.
Home > Articles > Apple > Operating Systems␡
* Installing Packages Page 1 of 6Next >Deploying small but critical updates and making minor changes to every computer across a network can be a daunting task. In the fourth installment of his series on Apple Remote Desktop, Ryan Faas shows you how to harness Remote Desktop to make installing anything from new fonts, to rolling out a complete list of Mac OS X and application updates, to making simple or complex configuration changes across every Mac in your network almost effortless.Like this article? We recommend Apple Training Series: Mac OS X v10.4 System Administration Reference, Volume 2
Like this article? We recommendLike this article? We recommend Apple Training Series: Mac OS X v10.4 System Administration Reference, Volume 2

By Ryan Faas
So far in this series detailing the features and uses of Apple Remote Desktop 3, we have talked about how to plan a Remote Desktop installation within a network; how to interact with users; how to observe and control remote computers; how to perform basic tasks (shutting down computers, emptying the Trash, and logging out users) without needing to actually take control of a computer; how to search the local volumes of remote computers for files; and how to use Remote Desktop’s rich reporting capabilities. This article looks at another incredible facet of Apple Remote Desktop: its function as a powerful deployment tool for applications, updates, files, and system settings.
If you’ve read my previous articles about deploying new computers in a network, you’ll know that I’m a big fan of using disk image–based deployment techniques such as Apple Software Restore and NetInstall. These are very efficient ways to deploy a number of new computers or a number of major updates to existing computers. These tools are also effective for providing a wide variety of unique system configurations for individual departments because you can easily store a handful of images either on a server or external hard drive for use when needed.
However, the problem with disk image deployments is that they are really good only for complete system deployments. When you only want to apply a handful of software updates throughout your network or install a single new application for one department, replacing the entire hard drive contents on each computer would be like fixing a leaky sink by replacing the entire kitchen. Remote Desktop provides excellent options for these smaller rollouts and can be a dream tool for systems administrators everywhere with its variety of deployment tools, some of which can even be helpful for teachers or managers needing to provide files to students or staff members.Installing Packages
Most Mac OS X applications and software updates (be they updates released by Apple or third parties) use package or metapackage files for installation. These files, which have the .pkg or .mpkg file extensions, are processed by the Mac OS X Installer utility. The use of a standard package format has many advantages for Mac OS X. One of them is to provide a record of all packages installed on a computer by copying the individual packages to the /Library/Receipts folder of its startup drive. Another is that when you download updates using Apple’s Software Update, you can Control-click (or right-click if you’re using a two-button mouse) each update and choose the option to save the package for later use on other computers after it is installed.
For users of Apple Remote Desktop, there is another advantage—Apple Remote Desktop can deploy packages to remote computers very easily. By selecting computers in a computer list and selecting Install Packages from the Manage menu, you can specify any number of packages to be copied to be installed on those computers. This makes deploying updates of all sorts a quick and easy process. Likewise, you can install any application that uses the package format using the same technique. This is much easier than trying to ensure that users are downloading updates when Software Update alerts them, and it enables you to easily distribute updates of third-party applications.
In Apple Remote Desktop 3, the Install Packages command has actually sprouted some new and very useful features. The most impressive of them comes from the use of task servers in a network. If you elect to run the install task using a task server, you can configure the install to include computers that are not currently available (such as a portable Macs that might be off the network or computers that are shut down). You also now have the option of encrypting the packages as they are copied to the task server and target computers. Finally, you have the ability to control how much network bandwidth is used for the deployment of the selected packages (which can prevent the deployment from creating an overall network slowdown).
Using the Install Packages command is very simple. First, select the target computers in a computer list (or other Remote Desktop list, such as a report) and then select Install Packages from the Manage menu. The Install Packages dialog box (shown in Figure 1) includes a listbox for the packages to install as well as a series of options for how the install should proceed. At the bottom of the dialog box is the standard listbox identifying the target computers (you can drag additional computers to this listbox) and buttons to perform the install and to save or schedule the task for later use.
You can add the packages that you want to deploy by dragging them into the Packages listbox or by clicking the plus sign button to locate them using a File Open dialog box. You can also drag them within the listbox to determine the order in which they will be installed (this might be relevant if you were installing an application using the package from its install CD and then installing an update to it that you downloaded from the manufacturer’s website). You can remove packages from the list by selecting them and then clicking the minus sign button.
The first option that you have for package deployment is how Remote Desktop will react to packages that require a restart after installation. You can specify that the computer not be restarted, that the computer will restart but offer users the option of saving any work before restarting, or to force an immediate restart. The choice you make really depends on whether you expect the computer to be used particularly heavily at the time of deployment and whether it is likely to be restarted in the near future if you don’t require a restart. If you intend to force an immediate restart on a computer in use, you should probably send a message to the user of that computer prior to starting the deployment so that they can finish any work in progress. Also, be aware that if you are installing multiple packages, Remote Desktop will not restart the computer until all packages have been installed.
The next option is whether to run the task from the computer you are working on or from a designated task server. The Run This Task From option includes ’this application’ (the computer you are using) or the task server that is designated in the Remote Desktop preferences (see Part 1 of this series for more information on designating task servers). If you choose this application, the deployment will run only while you have Remote Desktop open and will not be queued for workstations currently offline. If you choose a remote task server, the command will be issued to that task server, and the packages will be copied to it before being copied to any available target computers. The task will then remain queued on the task server until the remaining computers become available and the packages are installed on them.
The next option lets you determine how Remote Desktop handles a problem when installing the packages. The checkbox lets you designate whether the installation should be stopped on all computers if there is a problem or whether it should proceed on those computers where no problem is encountered.
This is followed by the option to encrypt the packages as they are copied over the network. This option is available independent of the Encrypt All Network Traffic option in the Remote Desktop preferences. However, like that option it will require that target computers have Remote Login enabled.
The final option is to limit the amount of bandwidth used when copying packages. If you are deploying packages of a large size (either individually or combined), you may experience a decrease in network performance as these files are copied to all the target computers. This is particularly true if you are deploying to a large number of computers, if all the computers are on one network segment, or if there are slow network links between the task server and the target computers. Remember, the task server will be performing a unicast copy—meaning that it is sending each package to each computer separately. Nelson intra 2100 manual. You can select to limit the network usage and specify the maximum bandwidth in KBps that can be used.Related Resources
*Book $55.99
*eBook (Watermarked) $55.99
*Web Edition $55.99All Unix Commands With Examples
To use any of these key combinations, press and hold the keys immediately after pressing the power button to turn on your Mac, or after your Mac begins to restart. Keep holding until the described behavior occurs.
*Command (⌘)-R: Start up from the built-in macOS Recovery system. Or use Option-Command-R or Shift-Option-Command-R to start up from macOS Recovery over the Internet. macOS Recovery installs different versions of macOS, depending on the key combination you use while starting up. If your Mac is using a firmware password, you’re prompted to enter the password.

*Option (⌥) or Alt: Start up to Startup Manager, which allows you to choose other available startup disks or volumes. If your Mac is using a firmware password, you’re prompted to enter the password.

*Option-Command-P-R:Reset NVRAM or PRAM. If your Mac is using a firmware password, it ignores this key combination or starts up from macOS Recovery.
*Shift (⇧): Start up in safe mode. Disabled when using a firmware password.
*D: Start up to the Apple Diagnostics utility. Or use Option-Dto start up to this utility over the Internet. Disabled when using a firmware password.
*N: Start up from a NetBoot server, if your Mac supports network startup volumes. To use the default boot image on the server, hold down Option-N instead. Disabled when using a firmware password.
*Command-S: Start up in single-user mode. Disabled in macOS Mojave or later, or when using a firmware password.
*T: Start up in target disk mode. Disabled when using a firmware password.
*Command-V: Start up in verbose mode. Disabled when using a firmware password.
*Eject (⏏) or F12 or mouse button or trackpad button: Eject removable media, such as an optical disc. Disabled when using a firmware password.If a key combination doesn’t work
If a key combination doesn’t work at startup, one of these these solutions might help:
*Be sure to press and hold all keys in the combination together, not one at a time.
*Shut down your Mac. Then press the power button to turn on your Mac. Then press and hold the keys as your Mac starts up.
*Wait a few seconds before pressing the keys, to give your Mac more time to recognize the keyboard as it starts up. Some keyboards have a light that flashes briefly at startup, indicating that the keyboard is recognized and ready for use.
*If you’re using a wireless keyboard, plug it into your Mac, if possible. Or use your built-in keyboard or a wired keyboard. If you’re using a keyboard made for a PC, such as a keyboard with a Windows logo, try a keyboard made for Mac.
*If you’re using Boot Camp to start up from Microsoft Windows, set Startup Disk preferences to start up from macOS instead. Then shut down or restart and try again.
Remember that some key combinations are disabled when your Mac is using a firmware password.Unix News CommandLearn moreUnix Commands For Mac
*Learn what to do if your Mac doesn’t turn on.
*Learn about Mac keyboard shortcuts that you can use after your Mac has started up.



Download: http://gg.gg/mjt8h

コメント

最新の日記 一覧

<<  2025年6月  >>
1234567
891011121314
15161718192021
22232425262728
293012345

お気に入り日記の更新

テーマ別日記一覧

まだテーマがありません

この日記について

日記内を検索