Once the libraries are upgraded, all policy stores must be migrated before any commands can be executed that modify or use the store, for example semodule 8 or semanage 8. Note the use of --priority and --priority option that is available after migration for semodule 8. This command has a number of new options, with the most significant being:. For example:. Michael Hampton k 39 39 gold badges silver badges bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast what if you could invest in your favorite developer? Who owns this outage? Building intelligent escalation chains for modern SRE.
Featured on Meta. However, it is important enough that we have given menuselect its own section. In addition to specifying which modules to install, menuselect also allows you to set flags that can aid in debugging issues see Chapter 2, Asterisk Architecture , set optimization flags, choose different sound prompt files and formats, and do various other nifty things. However, the following example will give you an idea of how menuselect works, and is recommend for any installation.
By default Asterisk only installs the core sound prompt files, and only in GSM format. Also, the three OpSound music on hold files available for download are only selected in. We can do this with the menuselect system by running make menuselect in the Asterisk source directory. There are two interfaces available for menuselect : curses and newt. If the libnewt libraries are installed, you will get the blue and red interface shown in Figure 3. Otherwise, by default menuselect will use the curses black and white interface shown in Figure 3.
The solution is to use the newt-based menuselect system. To get the newt-based menuselect working, you need to have the libnewt development libraries installed:. You can do this with the following commands:. Run the following commands to start menuselect :. You will be presented with a screen such as that in Figure 3. You can use the arrow keys on your keyboard to move up and down. The right arrow key will take you into a submenu, and the left arrow key will take you back.
You can use the space bar or Enter key to select and deselect modules. Pressing the q key will quit without saving, while the x key will save your selections and then quit. Whenever you install a dependency, you will always need to rerun configure before you run menuselect , so that the new dependency will be properly located. The dependant module will at that point be available in menuselect. If the module selection still contains XXX , either the configure script is still unable to find the dependency or not all dependencies have been satisfied.
You will be presented with a list of available options. These options represent the core sound files in various languages and formats. The reason we have multiple formats for the same files is that Asterisk can play back the appropriate format depending on which codec is negotiated by an endpoint. This can lower the CPU load on a system significantly.
After selecting the appropriate sound files, press the left arrow key to go back to the main menu. Then scroll down two lines to the Extra Sound Packages menu and press the right arrow key or Enter. You will notice that by default there are no packages selected. As with the core sound files, select the appropriate language and format to be installed.
You then need to install your new prompts by downloading them from the Asterisk downloads site. This is done simply by running make install again:. Your Asterisk server will need to have a working Internet connection in order to retrieve the files.
Administrators often build tools when performing installations on several machines, and Asterisk is no exception. As actions take place,they will leave a trail in the log file. To change the mode from enforcing to permissive type:. These changes only apply to the current session.
They turn back to default after a reboot. To make the changes permanent, edit the configuration file using a text editor, as discribed above. Introduction SELinux is a security mechanism built into the Linux kernel. Was this article helpful?
0コメント