The other one is to edit the /etc/apache2/envvars file and change apache's user to asterisk. There are two approaches to solve the permissions problem, one is to add the asterisk group to the user www-data default in apache. I am installing these also, sounds and prompts in spanishĪpt-get install asterisk-prompt-es asterisk-sounds-extra There is no reason to install zaptel if you are using kernel 2.6 or above as it will provide the timing device unless of course you are using zaptel hardware. Memory_limit = 100M Maximum amount of memory a script may consume (16MB)Īpt-get install asterisk asterisk-mysql asterisk-mp3 php-db php5-gd php-pear sox curl max_input_nesting_level = 64 Maximum input variable nesting level Magic quotes for incoming GET/POST/Cookie data. Other Php.ini settings you should change to make FreePBX happy. In Intrepid Ibex this is not needed:įor the localization to work properly you may have to edit /etc/php5/apache2/php.ini and modify as follow (leny/sid):Īdding the last line forces the default charset for php pages (override apache charset) to be utf8. You may need to set up apache appropriately, at the least be sure php5 is enabled. If you want to be sure about MySQL and PHP do thisĪpt-get install php5-mysql libapache2-mod-php5 mysql-server Log in the server and access the super user account by issuing For example, you can open /var/log/auth.log in yellow color and /var/log/kern.log in red color with the following command.Installing freePBX on Ubuntu Server Intrepid You can also set different color for different opened files with Multi-tail. View Multiple Files with Different Colors
Once you’re done reading this file, you can press ‘q’ to go back to the main window of Multi-tail. Now you can press and arrow keys to navigate the file. You can press and arrow keys to move the selector and press to select the file you want.Īs you can see from the screenshot below, I selected the first file /var/log/auth.log and it’s displayed in a separate section. If you don’t want to select any file, just press and to cancel the selection menu. I have 2 files opened, the first one /var/log/auth.log is numbered 00 and the second one /var/log/kern.log is numbered 01. You can press ‘b’ to open a list of the opened files as shown in the screenshot below. $ multitail -s 3 /path /to /file_a /path /to /file_b /path /to /file_cĪs you can see from the screenshot below, the file /var/log/auth.log is opened in the left side and the file /var/log/kern.log is opened in the right side of the terminal.
Multi-tail is available in the official package repository of Ubuntu 17.10 Artful Aardvark.įirst update the package repository cache of your Ubuntu operating system with the following command:
In this article, I will show you how to install and use Multi-tail on Ubuntu 17.10 Artful Aardvark. It is a very useful tool for Linux System Administrators. With Multi-tail you can open different file with different colors. You can also follow multiple files for changes at once. It also displays every opened file in a single terminal window nicely. The only difference is that with Multi-tail, you can read multiple files (usually log files) at once. That is, if a file is followed, the last few lines are shown in the terminal, and if any changes to the file occurs, that is shown in the terminal instantly. Tail is a program in Linux which is used to read a few lines from the end of a large file.