MultiTail – Monitor Multiple Files Simultaneously in a Single Linux Terminal

Whether it’s a server administrator or a programmer some time we need to refer multiple logfiles for effectively troubleshooting tasks. To achieve this we have to open, tail or less a each logfile in a different shell. However, we can use traditional tail command like tail -f /var/log/messages or tail -f /var/log/secure in a single line. But if we want to see multiple files in a real-time we need to install a specific tool called MultiTail.

What is MultiTail?

MultiTail is an open source ncurses utility that can be used to display multiple logfiles to standard output in a single window or a single shell that shows last few lines of logfiles in a real-time like tail command which split console into more subwindows (much like screen command). It also supports color highlighting, filtering, adding and deleting windows and much more.

Features

  1. Multiple input sources.
  2. Color display using Regular Expression in the case of important informations.
  3. Line filtering.
  4. Interactive Menus for deleting and adding shells.

Here is an example screen grab of MultiTail in action.

Install MultiTail in Linux

MultiTail View

Installation of MultiTail in Linux

To get MultiTail on Red Hat based distributions, you must turn on EPEL repository and then run the following command on the terminal to install it.

On RHEL/CentOS/Fedora
# yum install -y multitail
On Debian/Ubuntu/Linux Mint
$ sudo apt-get update
$ sudo apt-get install multitail

Usage of MultiTail

By default MultiTail does the same thing as ‘tail -f‘, i.e. view files in a real time. To view/monitor two different files in one window, the basic syntax is:

1. How To View 2 Files in Single Window

root@tecmint:~# multitail /var/log/apache2/error.log /var/log/apache2/error.log.1

View Two Files in Linux

View Two Files in Linux

To scroll through the files, hit ‘b‘ and select the file you want from the list.

File Selection

File Selection

Once, you select the file, it will show you last 100 lines of that selected file, to scroll through use the cursor keys. You can also use ‘gg‘/’G‘ to move to the top/bottom of the scroll window. If you want to view more lines, hit ‘q’ to exit and hit ‘m‘ to enter a new value for the number of lines to view.

View File

View File

2. How To View 2 Files in 2 Columns

The following command will display two different files in 2 columns.

[root@tecmint ~]# multitail -s 2 /var/log/mysqld.log /var/log/xferlog

View Files in 2 Columns

View Files in 2 Columns

3. How To View Multiple Files in Multiple Columns

Display 3 files in three columns.

[root@localhost ~]# multitail -s 3 /var/log/mysqld.log /var/log/xferlog /var/log/yum.log

View Files in 3 Columns

View Files in 3 Columns

4. Merge/View Multiple Files in Multiple Columns

Displays 5 logfiles while merging 2 files in one column and keep 2 files in two columns with only one in the left column.

[root@localhost ~]# multitail -s 2 -sn 1,3  /var/log/mysqld.log -I /var/log/xferlog /var/log/monitorix /var/log/ajenti.log /var/log/yum.log

Multiple View Files

Multiple View Files

5. How to View File and Execute a Command

Shows 1 file while ‘-l‘ option allows command to execute in a window.

[root@localhost ~]# multitail /var/log/iptables.log -l "ping server.nixcraft.in"

Run Command and View File

Run Command and View File

6. How to Merge/View Two Files in Different Color

Merge 2 logfiles in one window, but give different color to each logfile so that you can easily understand what lines are for what logfile.

[root@localhost ~]# multitail -ci green /var/log/yum.log -ci yellow -I /var/log/mysqld.log

View Files in Color

View Files in Color

Conclusion

We’ve only covered few basic usage of multitail command. For a complete list of options and keys you can look at the man page of multitail or you may press ‘h‘ key for help while the program runs.

Source

Download Python Linux 3.7.3

Python is an open source, portable, free, customizable, effective and modern programming language that offers a wide range of attractive functionality and allows application developers to create software projects that are fully compatible with all mainstream operating systems.

Command-line options

Default command-line options include optimization of the generated bytecode, optimize generated bytecode and remove doc-strings, usage of non-UNIX forms of #!cmd by skipping the first line of the source, protection from DoS (Denial of Service) attacks by making hash() values of various types be unpredictable, using pseudo-random salt.

In addition, the program will also allows you to add various division options, such as -Qnew, Qwarn, Qold and Qwarnall, issue warnings about incompatible tab usage, run the program in verbose mode, get warnings about Python 3.x incompatibilities, as well as to debug output from parser and ignore PYTHON* environment variables.

Getting started with Python

The Python programming language is often compared with the Java, Perl, Scheme or Tcl programming/scripting languages. It is compatible with all GNU/Linux distributions, as well as with the Microsoft Windows, Mac OS X, Solaris, BSD, and several other UNIX-like operating systems. Currently, it is compatible with both 32-bit (x86) and 64-bit (x86_64) architectures.

Installing Python on your system is quite an easy tasks, as all you have to do is to access the default package manager of your GNU/Linux system and search for the ‘python’ package. Install it and then interact with it via a Linux terminal emulator.

Hardcore Linux/UNIX users who want to optimize Python for their hardware architecture, can do so by download the latest version of the project from Softpedia, save the source tarball (tar.xz file) on their computer, unpack it, open a terminal emulator and navigate to the location of the extracted archive files with the ‘cd’ command.

Use the ‘./configure’ command to make certain optimizations and then execute the ‘make’ command to compile Python. Lastly, install Python system wide by running the ‘make install’ command as root or with sudo.

Source

Online Music Streaming with Winamp Player and Mixxx DJ console using “SHOUTcast Radio Server” in Linux

The previous tutorial concerning SHOUTcast server, just covered the basic server setup on CentOS 7 Linux distribution, without any live media streaming.

This guide is not addressed for advanced Linux users and will guide you through the process of how you can use one of the most popular music player on Windows platforms, Winamp, to broadcast audio media online from remote points with the help of SHOUTcast DSP plugin and, also, how you can use the Mixxx DJ console, the most advanced music mixing DJing program in Linux, to put your mixed music on-air over Internet.

Streaming Media in Linux

Requirements:

  1. Install SHOUTCast Radio Server on Linux
  2. Install Linux Mint 17 (Qiana)

While Mixxx is available on all major Linux distributions, this guide will only cover Mixxx installation and configuration on Linux Mint 17, which is the best-suited platform for beginners who only need a free open source platform, with just few simple clicks or commands distance to install and configure all the pre-build debian packages for Mixxx player to stream their mixes over Internet.

Important: As I said, the following instructions are practically tested on Linux Mint 17, but the same instructions can also works on all other major Linux distributions, the only difference is Mixxx installation part, that too you can get it by doing yum or apt.

Step 1: Install and Configure Mixxx to Stream Audio Files to SHOUTcast Server

1. If you’re not an advanced Linux user and the command line sounds scary, you can install Mixxx program from a Graphical User Interface, by opening Linux Mint Software Manager.

Click on Linux Mint Menu, go to Software Manager, search for Mixxx software and install it on your system, as presented in the screenshots below.

Software Manager

Software Manager

Search Mixxx Software

Search Mixxx Software

Install Mixxx Software in Linux

Install Mixxx Software

2. As an alternative to minimize time, you can use the command line to install Mixxx. Open an Terminal and type the following command to install Mixxx software.

$ sudo apt-get install mixxx

Installing Mixxx Package

Installing Mixxx Package

3. After Mixxx is installed on your system, you need to configure in order to be able to live broadcast audio to SHOUTcast server. Open Mixxx and add a
folder that contains audio samples in order to test configuration. Load your music samples to Mixxx consoles, then go to Options menu -> Preferences.

Mixxx Console

Mixxx Console

4. On Preferences menu navigate to bottom on Live Broadcasting and use the following settings (check the screenshot below as an example).

  1. Check Enable live broadcasting box.
  2. Choose Shoutcast Server connection
  3. Enter your SHOUTcast server IP Address or DNS name on Host filed.
  4. Enter your SHOUTcast server Port number (by default is 8000 if not changed ).
  5. Enter admin on Login fileld (default user for SHOUTcast server).
  1. On Password filed Enter your streampassword_1 configured in SHOUTcast server (sc_server.conf file ).
  2. Check Public stream box and enter your radio station information.
  3. If you steam MP3 choose this format on Encoding.

Live Broadcasting in Linux

Live Broadcasting

5. After you finish hit on OK button to apply settings and a new pop-up should appear if the connection to SHOTcast server was successfully established.

Verify Mixxx Settings

Verify Mixxx Settings

That’s all! Hit the Play button from Mixxx console and your audio should be now transmitted to the server which it will broadcast live on your networks or Internet.

6. If you want to test the server functionality, open a browser and type your SHOUTcast server IP Address or domain name with its port number on URL http://192.168.1.80:8000 and the live stream should be available for download by clicking on Listen.

Live Media Streaming in Linux

Live Media Streaming

7. After the server’s stream playlist file was downloaded, use your favourite music player to open it and listen you radio station songs (in my case I use Audacious player on Linux and even on Windows to listen to Internet radio stations).

Streaming Radio Station in Linux

Streaming Radio Stations

Also, try not to listen the radio station from the same host that you are streaming to server, but use a different computer to enter to SHOUTcast Steam webpage and download the playlist file.

Step 2: Configure Winamp on Windows to Stream Audio to SHOUTcast Server

8. Winamp can be transformed into a powerful media streaming player with the help of SHOUTcast DSP Plug-in. First go to Nullsoft download page and grab the last version of SHOUTcast DSP.

Download SHOUTcast DSP Plugin

Download SHOUTcast DSP Plugin

9. After you install this plugin, open Winamp player and move to Options -> Preferences. On Preferences menu navigate to Plug-ins, select on DSP/Effect, choose SHOUTcast Source DSP and hit on Configure active plug-in.

Active SHOUTcast DSP Plugin

Active SHOUTcast DSP Plugin

10. A new window named SHOUTcast Source should appear. Now it’s time to configure Winamp to broadcast audio media to SHOUTcast server on Linux. On the upper tabs click on Output and choose Output 1. Then move to bottom tabs, hit on Login menu and enter your SHOUTcast server IP Address or domain name, Port number.

Choose 1 for Stream ID and enter admin user for DJ/User ID followed by streampassword_1 configured on server (sc_serv.conf file) and Connect using Automatic mode.

Broadcast Audio in Linux

Online Broadcast Audio

11. Next, move to second bottom tab named Directory, check Make this stream public box, enter a Name for your radio station and a public URL address.

If you already have a website page for visitors (you can also put your SHOUTcast server IP address and Port on URL filed). – Optional step.

Online Audio Streaming in Linux

Online Audio Streaming

12. To configure the last setting, hit the Encoder tab, choose your favourite media Encoder Type (usually MP3), leave the default values for Encoder Settings and hit on Connect button.

If you want the DSP Plug-in to automatically start and connect to SHOUTcast server after you start Winamp player, also check Auto Connect box.

Encoder Configuration

Encoder Configuration

13. If the settings are correct, you will get a message on Status displaying the quantity of data sent to SHOUTcast server. Open a Putty and connect to remote SSH terminal connection to SHOUTcast server you should see some detailed information about the connection status.

Confirm Encoder Configuration

Confirm Encoder Configuration

14. You can also check your radio stream status and information by visiting SHOUTcast server IP Address on port 8000 from a different computer and download the server media playlist in order to listen music with your favourite audio player.

Check Radio Stream Status

Check Radio Stream Status

Streaming Online Radio Station

Streaming Online Radio Station

15. If you have an active Internet connection and you checked Make this stream public on DSP plug-in Directorytab configured in Winamp. Your radio station Name with its attached URL will be automatically hashed and displayed on http://www.shoutcast.comofficial page. which you can visit by clicking on Steam Name from SHOUTcast server web interface.

Shoutcast Station Listing

Shoutcast Station Listing

Step 3: Perform SHOUTcast Administrative Tasks

16. To manage your radio station stream go to SHOUTcast web interface at http://server_IP:8000, click on Admin Login hyperlink, enter your server stream credentials configured on sc_serv.conf file from Linux and you will be able to perform administrative tasks, such as viewing your Listeners, display Song History, Ban clients and more.

Manage Shoutcast Station

Manage Shoutcast Station

Shoutcast Stream Information

Shoutcast Stream Information

17. For more advanced SHOUTcast server settings, go to the same address as described above, hit on Server Login hyperlink, enter your server credentials
configured in the same sc_serv.conf file and the server web interface should appear.

On this page you can consult server Logs, get amount of Bandwidth Used, manage your Radio Steams or other settings.

Shoutcast Server Settings

Shoutcast Server Settings

That’s all you need to configure a simple Radio server to broadcast audio files over networks or Internet using a Linux server and media audio players from Linux or Windows. For more advanced settings please visit official SHOUTcast wiki page at

SHOUTcast Getting Started Guide

Source

Create Your Own Video Sharing Website using ‘CumulusClips Script’ in Linux

CumulusClips is an open source video sharing (content management) platform, that provides one of the best video sharing features similar to Youtube. With the help of CumulusClips, you an start your own video sharing website or add video sections on your existing website, where users can register, upload videos, comment on videos, rate videos, embed videos and much more.

Install CumulusClips in Linux

Install CumulusClips in Linux

CumulusClips Features

  1. Easy uploading of videos (mpg, avi, divx and more) from user computer with upload progress bar.
  2. Add, Delete and Edit Videos from the Dashboard.
  3. Allow or disable comments on videos and as well as video embedding.
  4. Easy user registration with unique url for their profile page and fully profile customization.
  5. Approve or Reject user uploaded videos via Dashboard.
  6. Built-in theme/plugin and translation ready.
  7. Easily create, delete and run Ads.
  8. Support for future automatic updates.
CumulusClips Demo

Please have a quick look at the demo page deployed by the developer at the following location.

  1. http://demo.cumulusclips.org/

Server Requirements

CumulusClips application only runs in Unix/Linux operating systems. Following are the requirements to run CumulusClips on Linux platform.

  1. Apache Web Server with mod_rewrite and FFMpeg enabled.
  2. MySQL 5.0+ and FTP
  3. PHP 5.2+ with GD, curl, simplexml and zip modules.
PHP Settings

Following are the PHP requirements.

  1. upload_max_filesize = 110M
  2. post_max_size = 110M
  3. max_execution_time = 1500
  4. open_basedir = no value
  5. safe_mode = Off
  6. register _globals = Off
Testing Environment
  1. Operating System – CentOS 6.5 & Ubuntu 13.04
  2. Apache – 2.2.15
  3. PHP – 5.5.3
  4. MySQL – 5.1.71
  5. CumulusClips – 1.3.2

Installing CumulusClips in RHEL/CentOS/Fedora and Debian/Ubuntu/Linux Mint

Installing CumulusClips script is a very simple and involves few easy straightforward steps. Before you can start with the install process, make sure that your server meets the requirements for running CumulusClips script.

Step:1 Install Required Packages

Let’s first, install required packages that needed to run CumulusClips video sharing application on the system, using the following easy steps.

On RedHat, CentOS and Fedora
# yum install httpd mysql mysql-server 
# yum install php php-mysql php-xml pcre php-common php-curl php-gd

Once, the required packages are installed, start the Apache and MySQL service.

# service httpd start
# service mysqld start

Next, install FFMPEG package by enabling third party RPMForge Repository under your Linux distributions.

# yum install ffmpeg
On Debian, Ubuntu and Linux Mint

On Debian based system, you can easily install required packages using following commands.

$ sudo apt-get install apache2 mysql-server mysql-client
$ sudo apt-get install php5 libapache2-mod-auth-mysql libmysqlclient15-dev php5-mysql curl libcurl3 libcurl3-dev php5-curl 
$ sudo apt-get install ffmpeg
$ sudo service apache2 start
$ sudo service mysql start

Step 2: Create Database and User

Next, create a database and database user to run CumulusClips. Use the following commands to create a database and a user.

# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5340 to server version: 3.23.54

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> CREATE DATABASE cumulusclips;
Query OK, 1 row affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON cumulusclips.* TO "cumulus"@"localhost" IDENTIFIED BY "password";
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)

mysql> quit

Note: The above, database name, username, and password will required later at the installation wizard.

Step 3: Configure PHP Settings

Open ‘php.ini‘ configuration file and make the following changes as suggested.

# vi /etc/php.ini			[on RedHat based Systems]
$ sudo nano /etc/php5/apache2/php.ini	[on Debian based Systems]

Search and modify values as suggested in the following.

upload_max_filesize = 110M
post_max_size = 110M
max_execution_time = 1500
open_basedir = no value
safe_mode = Off
register _globals = Off

Save and close the file after making changes. Next restart Apache Web Server.

# service httpd restart			[on RedHat based Systems]
$ sudo service apache2 restart		[on Debian based Systems]

Step 4: Install and Configure FTP

Now, install FTP server (i.e. vsftpd) on your Linux OS, using the following command.

# yum install vsftpd			[on RedHat based Systems]
$ sudo apt-get install vsftpd		[on Debian based Systems]

Once Vsftpd installed, you can adjust the configuration as shown below. Open up the configuration file.

# vi /etc/vsftpd/vsftpd.conf		[on RedHat based Systems]
$ sudo nano /etc/vsftpd.conf		[on Debian based Systems]

Change the ‘anonymous_enable‘ to NO.

anonymous_enable=NO

After that, remove ‘#‘ at the beginning of line ‘local_enable‘ option, changing it to YES.

local_enable=YES

Please remove the ‘#‘ at the start of these lines to enable all the local users to chroot to their home directories and will not have access to any other part of server.

chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list

Finally restart the vsftpd service.

# service vsfptd restart		[on RedHat based Systems]
$ sudo service vsftpd restart		[on Debian based Systems]

Step 5: Download & Install CumulusClips

To begin, you must first grab your free copy of CumulusClips script at http://cumulusclips/download/, or you may use following wget command to download it as shown below.

# cd /var/www/html/			[on RedHat based Systems]
# cd /var/www/				[on Debian based Systems]
# wget http://cumulusclips.org/cumulusclips.tar.gz
# tar -xvf cumulusclips.tar.gz
# cd cumulusclips

Now grant the ‘777‘ (read, write and execute) permission on the following directories. Make sure these directories are writable by Web Server and PHP.

# chmod -R 777 cc-core/logs
# chmod -R 777 cc-content/uploads/flv
# chmod -R 777 cc-content/uploads/mobile
# chmod -R 777 cc-content/uploads/temp
# chmod -R 777 cc-content/uploads/thumbs
# chmod -R 777 cc-content/uploads/avatars

Next, grant the ownership to cumulusclips for web server to be writeable.

# chown -R apache:apache /var/www/html/cumulusclips		[on RedHat based Systems]
# chown -R www-data:www-data /var/www/cumulusclips		[on Debian based Systems]
Step 6: CumulusClips Installation Wizard

Once everything is ready, you can have access to your CumulusClips installation wizard at the (http://your-domain.com/cumulusclips/cc-install/), using your web browser.

Welcome to CumulusClips

Welcome to CumulusClips

The installation wizard will verify the files are writable by the web server. If not, you will be asked to enter FTP credentials to perform future updates and other file system changes.

Enter FTP Credentials

Enter FTP Credentials

Enter the database details like database name, user and password, that we’ve created in Step #2 above.

Enter Database Settings

Enter Database Settings

Enter, about your site configuration like, Base URL, Sitename, Admin Account, Password and Email.

Enter Site Details

Enter Site Details

CumulsCliops Admin Panel

CumulusClips Admin Dashboard

CumulusClips Admin Dashboard

View Front page of a Website.

CumulusClips Front View

CumulusClips Front View

Start uploading your own videos.

Upload Own Videos

Upload Own Videos

See list of Approved Videos.

User Approved Videos

User Approved Videos

General Settings

General Settings

General Settings

Start playing videos

Play Videos

Play Videos

Playing a Video

Playing a Video

That’s it! Now, you can start uploading videos, customizing and branding of your newly installed CumulusClips Video Sharing website.

Source

How to Install TeamViewer on RHEL/CentOS/Fedora and Debian/Ubuntu

Teamviewer is a cross-platform, powerful and secure remote access and control software that can connect to multiple devices simultaneously. It is an all-in-one solution for remote support which can be used for desktop sharing, online meetings and file transfer between devices connected over the Internet.

It works on notable operating systems such as Linux, Windows, Mac OS, Chrome OS and mobile operating systems such as iOS, Android, Windows Universal Platform, and BlackBerry.

Recently, the latest stable version of TeamViewer 13 was released with new features and many improvements.

Features of TeamViewer

Following are some of the new features are added in TeamViewer 13 which are highlighted below:

  1. It is cross-platform, it can connect from PC to PC, mobile to PC, PC to mobile, and even mobile to mobile connections on the major operating systems mentioned above.
  2. Highly compatible with multiple platforms, from modern to relatively old operating systems.
  3. Requires no configurations.
  4. Easy to install and understand.
  5. Available in over 30 international languages.
  6. Offers high performance with smart connection setup and routing, efficient bandwidth usage, fast data transmissions plus many more for reliable user experience.
  7. Provides high security with latest technology.
  8. It is free for testing purposes and personal use.
  9. Needs no installation, users can now user TeamViewer without necessarily installing it.
  10. Supports custom QuickSupport, QuickJoin, and Host modules named with a user’s corporate identity with custom configurations.
  11. Permits permanent access to unattended devices with support of TeamViewer Host module.
  12. Supports integration with a user’s applications through APIs.
  13. Also supports integration into mobile applications in iOS/Android.

How do I Install Teamviewer 13 on RedHat, CentOS, Fedora

You may download package for rpm based Linux distributions at Teamviewer download page or you can use following wget command to download and install it as shown.

------------- On 64-bit Systems ------------- 
# wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm
# yum install teamviewer.x86_64.rpm

------------- On 32-bit Systems -------------
# wget https://download.teamviewer.com/download/linux/teamviewer.i686.rpm
# yum install teamviewer.i686.rpm

If you get missing public key error, you can download public key and import it using the following command.

# wget https://download.teamviewer.com/download/TeamViewer_Linux_PubKey.asc
# rpm --import TeamViewer_Linux_PubKey.asc

After importing the public key, please run the “yum install” command again to install the Teamviewer rpm.

# yum install teamviewer.x86_64.rpm

To start Teamviewer application, run the following command from the terminal.

# teamviewer

Teamviewer application running on my CentOS 7 system.

TeamViewer 13 Running on CentOS 7

TeamViewer 13 Running on CentOS 7

How do I Install Teamviewer 13 on Debian, Ubuntu and Linux Mint

You may download package for .deb based Linux distributions at Teamviewer download page or you can use following wget command to download and install it as shown.

------------- On 64-bit Systems ------------- 
$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
$ sudo dpkg -i teamviewer_amd64.deb

------------- On 32-bit Systems -------------
$ wget https://download.teamviewer.com/download/linux/teamviewer_i386.deb
$ sudo dpkg -i teamviewer_i386.deb

If you get missing dependencies error, please use the following command to install those dependencies.

$ sudo apt-get install -f

Once installation is done, you can start Teamviewer from the terminal or go to Ubuntu Dash Home and type teamviewer and click on icon to run application.

$ teamviewer

TeamViewer Running on Ubuntu 16.04

TeamViewer Running on Ubuntu 16.04

To start on Linux Mint, Go to Menu >> Internet >> Teamviewer and click on Accept License Agreement to run application.

TeamViewer Running on Linux Mint 17

TeamViewer Running on Linux Mint 17

Source

Installing SHOUTCast Radio Server (Online Media Streaming) on Linux

SHOUTcast is a proprietary software used to stream media over Internet, especially used in music live streaming by the radio stations in Internet, and is developed by Nullsoft with versions for all major platforms, including Linux.

Install Shoutcast in CentOS

Install Shoutcast in Linux

This tutorial will guide you on how you can install The SHOUTcast Distributed Network Audio Server (DNAS 2.0) in CentOS 7, with the help of which you can use media players, like Winamp or Mixxx to connect to streaming server and broadcast your audio playlists to Internet listeners.

Requirements

  1. CentOS 7 Installation Guide

Although this tutorial only covers SHOUTcast server installation on a CentOS 7 machine, the same procedure can be applied on other Linux distributions such as RHELFedoraUbuntuDebianLinux Mint, etc. with the remark that you must adapt firewall commands to suit your Linux distribution.

Step 1: Download and Install SHOUTcast Server

1. Before proceeding with the installation of SHOUTcast server, create a local user from which you will run the server, because running the DNAS server
from root account can impose serious security issues to your system.

So, login on your system with root account, create a new user, called radio, after you’re done logout from root account and, then, login with your newly created user. Here are the following required commands that needs to be executed on the terminal.

# su -
# adduser radio
# passwd radio
# exit
# su - radio
$ pwd 

Add New User in Linux

Add New User radio

2. Once logged in on your system with the radio account, create two directories named download and server, then switch to download folder.

$ mkdir download
$ mkdir server
# cd download

3. Next, grab the last version of SHOUTcast server archive for Linux, depending on your system architecture, by visiting official Nullsot Download page at.

  1. http://download.nullsoft.com/shoutcast/tools

Alternatively, use following wget utility to download the archive from command line.

----------- For 32-bit -----------

$ wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_09_09_2014.tar.gz
----------- For 64-bit -----------

$ wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64_09_09_2014.tar.gz

Download Shoutcast Server

Download Shoutcast Server

4. After the download completes, extract the sc_serv2_linux_architecture_date.tar.gz archive, list the directory to locate sc_serv executable binary file and copy it to installation directory, located in server folder, then move to SHOUTcast installation path, by issuing the following commands.

$ tar xfz sc_serv2_linux_x64_09_09_2014.tar.gz
$ ls
$ cp  sc_serv  ../server/
$ cd  ../server/
$ ls

Extract Shoutcast Archive

Extract Shoutcast Archive

5. Now that you are located in server installation path, create two directories named control and logs and you’re done with the actual installation process. List your directory content to verify if everything is in place.

$ mkdir control
$ mkdir logs
$ ls

Confirm Shoutcast Files

Confirm Shoutcast Files

Step 2: Create SHOUTcast Configuration File

6. In order to run and operate the server you need to create a configuration file for SHOUTcast. Open your favorite text editor and create a new file, named sc_serv.conf.

Make sure that this file is created in the same path as your sc_serv e executable binary files are created. Using pwd command should show you this absolute path – /home/radio/server).

$ nano sc_serv.conf

Add the following statements to sc_serv.conf file (example configuration).

adminpassword=password
password=password1
requirestreamconfigs=1
streamadminpassword_1=password2
streamid_1=1
streampassword_1=password3
streampath_1=http://radio-server.lan:8000
logfile=logs/sc_serv.log
w3clog=logs/sc_w3c.log
banfile=control/sc_serv.ban
ripfile=control/sc_serv.rip

Configure Shoutcast Server

Configure Shoutcast Server

Some important settings that you should be aware on this file are password statements, which you must be changed accordingly:

  1. adminpassword – Admin password required to perform remote administration via the web interface to the server.
  2. streampassword_1 – Password required by remote media player to connect and stream media content to server.

Alternatively, if you want to create a configuration file for SHOUTcast server you can go to download directory and run builder.sh or setup.sh scripts, which will let you configure the server from a web interface that can be accessed from the following address.

http://localhost:8000
OR
http://ipaddress:8000

Once the configuration is created you can copy it to server installation directory.

7. To start the server execute sc_serv file from your current working directory, which must be the serverdirectory, put it on background with & bash operator and direct your browser to http://localhost:8000 URL. Also use netstat command to see if the server is running and on what port numbers it listens.

$ chmod +x sc_serv
$ ./sc_serv &
$ netstat -tulpn | grep sc_serv

Start Shoutcast Server

Start Shoutcast Server

Confirm Shoutcast Running

Confirm Shoutcast Running

Step 3: Open Firewall Connections

8. Now SHOUTcast server is up and running but it can’t be accessed yet from outside world due to CentOS Firewall restrictions. To open the server to external connections login with root account and add the rule that will open port 8000 TCP.

After the rule has been added reload the Firewall to apply changes and logout from your root account.

$ su -
# firewall-cmd --add-port=8000/tcp --permanent
# firewall-cmd --reload
# exit

Open Shoutcast Port

Open Shoutcast Port

9. Then open a browser from a remote machine and type your server IP Address on port 8000 on URL filed – http://192.168.1.80:8000 – and the SHOUTcast web interface should appear like in the screenshot below, with no live streams available.

Shoutcast Web Interface

Shoutcast Web Interface

Step 4: Manage SHOUTcast Server and Create Daemon script

10. The command used to manage SHOUTcast radio server is the binary file itself, which must be run from its installation path location in order to be
able to read configuration file. To run the server as a daemon use daemon command option.

You can also instruct the server to read its configurations from a different location by indicating where the configuration file resides, but be advised
that using this option requires the creation of logs and control directories, which can be confusing in practice and can lead to server inability to start.

$ pwd  ## Assure that you are in the right installation directory - /home/radio/server

$ ./sc_serv   ## Start the server in foreground – Hit Ctrl + c to stop

$ ./sc_serv daemon  ## Start the server as a daemon

$ Ps aux | grep sc_serv   ## Get Server PID

$ killall sc_serv  ## Stop server daemon

Shoutcast Start Script

Shoutcast Start Script

11. If you need a simplified command to start or stop SHOUTcast radio server, login as root again and create the following executable script on /usr/local/bin/ path as in the example below.

$ su -
# nano /usr/local/bin/radio

Now add the following excerpt to radio file.

#!/bin/bash
case $1 in
                start)
cd /home/radio/server/
./sc_serv &
              ;;
                stop)
killall sc_serv
                ;;
               start_daemon)
cd /home/radio/server/
./sc_serv daemon
               ;;
                *)
echo "Usage radio start|stop"
                ;;
esac

Shoutcast Binary Start Script

Shoutcast Binary Start Script

12. After the file was created, make it executable, exit root account and a new command shout be available for your SHOUTcast radio server management.

# chmod +x /usr/local/bin/radio
# exit

13. To manage the server from now on, use radio command with the following switches.

$ radio start_daemon		## Starts SHOUTcast server as a daemon

$ radio start                   ## Starts SHOUTcast server in foreground

$ radio stop                    ## Stops SHOUTcast server

Start Stop Shoutcast

Start Stop Shoutcast

14. If you want to automatically start the server after reboot, but only on user login (in this case the server was installed on the local user named radio) issue the following command from radio account home path, then logout and login again to verify the functionality, as presented in the screenshot below.

$ whoami  
$ echo “radio start_daemon” >> ~/.bashrc

Start Shoutcast at Reboot

Start Shoutcast at Reboot

That’s it! Now, SHOUTcast server is ready to receive sound or playlists from remote media players such as Winamp from Windows and Mixxx from Linux and broadcast all of the received audio content over Internet.

http://www.shoutcast.com/

Source

I-Nex – An Advanced Tool to Collect System/Hardware Information in Linux

It’s very daunting task to extract complete hardware information available on your system. I came across of this tool and found to be the best to get system information like CPU-Z in windows. We TecMint team would like to thank you I-Nex team for wonderful tool wherein we can collect information without typing complex commands at the command line.

Read Also10 Commands to Collect Linux System and Hardware Information

There are total 10 Tabs to gather system components details viz. CPU, GPU, Mobo, Audio, Drives, System, Kernel, Memory, Network and USB Input and hostname as well.

Besides that we can also generate advanced report and take screen print of each tab. I-Nex tool displays the details in organized manner and also present real time CPU and Memory utilization.

I-Nex Features

  1. CPU Info
  2. GPU Info
  3. Motherboard details
  4. Memory details
  5. Kernel version details
  6. Linux OS distro info
  7. Report generate
  8. It has option to take screenshot of each tab from application itself.
  9. System hostname

Installation of I-Nex in Ubuntu Derivatives

We need to add Gambas3 PPA to install I-Nex in Ubuntu. “Gambas” is a recursive acronym for “Gambas Almost Means Basic“. Use the below commands to add both PPAs and install I-Nex in Ubuntu derivatives.

$ sudo add-apt-repository ppa:i-nex-development-team/stable
$ sudo add-apt-repository ppa:nemh/gambas3
$ sudo apt-get update
$ sudo apt-get install i-nex

Some of I-Nex Screenshots.

Start I-Nex

Start I-Nex

Starting I-Nex Tool

CPU Information

Get Linux CPU Information

CPU Information

Linux OS Information

Linux System OS Information

Linux System OS Information

Kernel Information

Linux Kernel Information

Linux Kernel Information

Memory Information

Linux Memory Information

Linux Memory Information

Generate report

Custom Generate Report

Custom Report Selection

Taking Screenshot

Install I-Nex in Linux

I-Next Screenshot

Remove I-Nex from Ubuntu Derivatives

If in-case, you not liked the tool and want to remove it completely from the system, issue following commands.

$ sudo add-apt-repository --remove ppa:i-nex-development-team/stable
$ sudo add-apt-repository --remove ppa:nemh/gambas3
$ sudo apt-get update
$ sudo apt-get purge i-nex

Conclusion

There may be bundle of applications (CPU-GHardinfo etc.) available to collect system component details but on my personal opinion i liked I-Nex tool interesting because of simplicity, efficiency and easy-to-use interface.

Reference Links

Homepage I-Nex

Please share your views with us on below comment box if you are using any other such application.

Source

Setup Your Own “Speedtest Mini Server” to Test Internet Bandwidth Speed

Overwhelmed with the response we got on the previous article on how to test the bandwidth speed using command line tool speedtest-cli.py, this tutorial aims at providing you with the knowledge of setting your own speedtest mini server in 10 minutes.

  1. Check Your Internet Speed from Command Line Using ‘Speedtest-CLI’ Tool

Speedtest.net mini is a speed testing application which is used for hosting speed test server (Mini) on your own site/server. Another application from NetGuage serves the same purpose which primarily is designed for Corporate sites.

Speedtest.net Mini is available for free and it’s compatible with all major web servers. It measure ping by sending HTTP request to selected server and measures the time till it get response. For checking upload and download speed, it uploads and downloads small binary files from web server to client and vice-versa for upload.

Note: Speedtest Mini server may not be used for commercial use, nor on any commercial sites.

Install Speedtest Mini Server on Linux

Download speedtest Mini Server from the link below. You need to Login before you can download. If you don’t have an account, register first.

  1. http://www.speedtest.net/mini.php

Once downloaded mini.zip file, you need to unzip the archive file.

# Unzip mini.zip

Now you need to determine on which server you want to host the application. You can choose any of the following as your hosting server – PHP, ASP, ASP.NET and JSP. Here we will be using PHP and Apache as Server to host.

Let’s install Apache, PHP and all needed PHP modules using the following commands.

On Debian/Ubuntu/Mint
# apt-get install apache2
# apt-get install php5 php5-mysql php5-mcrypt php5-gd libapache2-mod-php5
On RedHat/CentOS/Fedora
# yum install httpd
# yum install php php-mysql php-pdo php-gd php-mbstring

After installing Apache and PHP with all required modules, restart the Apache service as shown below.

# service apache2 restart		[On Debian/Ubuntu/Mint]
# service httpd restart			[On RedHat/CentOS/Fedora]
# systemct1 restart httpd		[On RHEL/CentOS 7.x and Fedora 21]

Next, create a phpinfo.php file under Apache default directory, that we will use to check if PHP is rendering correctly or not.

# echo "<?php phpinfo(); ?>" > /var/www/phpinfo.php         [On Debian/Ubuntu/Mint]
# echo "<?php phpinfo(); ?>" > /var/www/html/phpinfo.php [On RedHat/CentOS/Fedora]

Note: The default Apache root directory may be /var/www/ or /var/www/html/, please check the path before moving forward…

Now we will be uploading the extracted folder mini to the Apache default directory location.

# cp -R /[location to extracted folder]/mini /var/www/       [On Debian/Ubuntu/Mint]
# cp -R /[location to extracted folder]/mini /var/www/html   [On RedHat/CentOS/Fedora]

We need to rename a file hence Long list the contents of directory that was uploaded to the Apache directory /var/www/ or /var/www/html.

# ls -l /var/www/mini

OR

# ls -l /var/www/html/mini

Contents of Mini Server

Contents of Mini Server

Now rename index-php.html to index.html only and leave other files untouched.

# cd /var/www/
OR
# cd /var/www/html/

# mv mini/index-php.html mini/index.html

Rename Index File

Rename Index File

Note: If you’re using any other platform as your host, you need to rename respective file as shown below.

  1. Rename index-aspx.html to index.html, if you are using ASP.NET as your host.
  2. Rename index-jsp.html to index.html, if you are using JSP as your host.
  3. Rename index-asp.html to index.html, if you are using ASP as your host.
  4. Rename index-php.html to index.html, if you are using PHP as your host.

Now point your web browser to your local server IP address, which typically in my case is:

http://192.168.0.4/mini

Speedtest Mini Server Testing

Speedtest Mini Server Testing

Click Begin test and it start testing the speed Locally.

Test Internet Speed Locally

Test Internet Speed Locally

Now If you want to run the mini server over internet you need to forward your port in the firewall as well as in the router. You may like to refer to the below article to get a brief of how-to on the above topic.

  1. Create Your Own Web Server to Host Website

If everything goes fine you can check your bandwidth speed using mini server. But if the mini server and machine to be tested are on the same network you might need a proxy server like (kproxy.com), to test.

Test Internet Speed on Same Network

Test Internet Speed on Same Network

Also you can check the speed of Internet connection on headless server or Linux command Line using speedtest-cli tool.

# speedtest_cli.py --mini http://127.0.0.1/mini

Check Internet Speed Using Speetest-Cli

Check Internet Speed Using Speetest-Cli

Note: If you are on different network, you are supposed to use public ip address in web browser as well as command-line.

Furthermore, SYSAdmins can schedule the speedtest to run periodically in production, after setting up mini server.

Conclusion

The setup is too easy and took me less than 10 minutes of time. You may setup your own speedtest server to check the connection speed of your own production server, it is fun.

That’s all for Now. I’ll be coming up with another interesting article very soon. Till then stay tuned and connected to Tecmint. Don’t forget to provide us with your valuable feedback in the comments below. Like and share us and help us get spread.

Source

Install SuiteCRM (Customer Relationship Management) in Linux

CRM (Customer Relationship Management) refers to assortment of practices, policies and technologies that companies use to handle and review interaction with current and potential customers; with the major aim of boosting business relationships with customers, customer retention and driving sales growth.

SuiteCRM is a free and open source, fully-featured and highly-extensible CRM system that runs on any operating system with PHP installed. It is a fork of the well known open source SugarCRM Community Edition.

Do try out SuiteCRM Demo using credentials below to sign in:

Username: will 
Password: will

SuiteCRM Features:

  • Cross-platform: runs on Linux, Windows, Mac OSX and any system that runs PHP.
  • Efficient, powerful, and flexible workflow module.
  • Supports automation of repetitive tasks.
  • Supports quick and easy modeling of sales pipeline.
  • Enables creation of beautifully templated Quotations.
  • Allows managing of pricing strategies.
  • Supports customer self-service via an easy to setup and use website.
  • Instant notification of customer issues plus so much more.

Requirements:

  • Debian/Ubuntu or CentOS system installed with LAMP Stack.
  • PHP (JSON, XML Parsing, MB Strings, ZIP Handling, IMAP, cURL) modules.
  • ZLIB Compression library.
  • Sprite support.

In this article, we will explain how to install and configure SuiteCRM in CentOS/RHEL 7 and Debian/Ubuntu based systems.

Step 1: Installing LAMP Stack Environment

1. First update the system software packages to the latest version.

$ sudo apt update        [On Debian/Ubuntu]
$ sudo yum update        [On CentOS/RHEL] 

2. Once software packages updated, now you can install LAMP (Linux, Apache, MySQL & PHP) stack with all the required PHP modules as shown.

-------------- On Debian/Ubuntu -------------- 
$ sudo apt install apache2 apache2-utils libapache2-mod-php php php-common php-curl php-xml php-json php-mysql php-mbstring php-zip php-imap libpcre3 libpcre3-dev zlib1g zlib1g-dev mariadb-server

-------------- On CentOS/RHEL/Fedora -------------- 
# yum install httpd php php-common php-curl php-xml php-json php-mysql php-mbstring php-zip php-imap pcre pcre-devel zlib-devel mariadb-server

3. Once LAMP stack has been installed, start the Apache and MariaDB service and enable it to start automatically at system boot.

-------------- On Debian/Ubuntu -------------- 
$ sudo systemctl start apache mysql
$ sudo systemctl enable apache mariadb

-------------- On CentOS/RHEL/Fedora -------------- 
# systemctl start httpd mysql
# systemctl enable httpd mariadb

4. Now secure and harden database server installation by running the script below.

$ sudo mysql_secure_installation
OR
# mysql_secure_installation

After running the security script above, you will be asked to enter the root password, simply press [Enter]without providing it:

Enter current password for root (enter for none):

Again, you will also be asked to answer the questions below, simply type y to all the questions to set a root password, remove anonymous users, turn off remote root login, remove the test database and reload privilege tables:

Set root password? [Y/n] y Remove anonymous users? [Y/n] y Disallow root login remotely? [Y/n] y Remove test database and access to it? [Y/n] y Reload privilege tables now? [Y/n] y

5. Now you need to configure PHP to allow files of at least 6MB to be uploaded. Open your PHP configuration file (/etc/php.ini or /etc/php5/apache2/php.ini) with your choice of editor, search for the upload_max_filesize and set it like so.

upload_max_filesize = 6M

Save the file and close it, then restart the HTTP server.

$ sudo systemctl restart apache   [On Debian/Ubuntu]
# systemctl restart httpd         [On CentOS/RHEL]   

Step 2: Create SuiteCRM Database

6. In this step, you can create a database which will store data for suiteCRM. Run the command below to access the MariaDB shell (remember to use your own values for the database name, user and password).

$ mysql -u root -p
MariaDB [(none)]> CREATE DATABASE suitecrm_db;
MariaDB [(none)]> CREATE USER 'crmadmin'@'localhost' IDENTIFIED BY 'crmsys@dmin$12';
MariaDB [(none)]> GRANT ALL PRIVILEGES ON suitecrm_db.* TO 'crmadmin'@'localhost';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> exit;

Step 3: Install and Setup SuiteCRM

7. First install Git to fetch and clone the latest version of SuiteCRM from its Github repository under Apache root directory (/var/www/html/) with appropriate permissions on the SuiteCRM folder.

$ sudo apt -y install git      [On Debian/Ubuntu]
$ sudo yum -y install git      [On CentOS/RHEL]

$ cd /var/www/html
$ git clone https://github.com/salesagility/SuiteCRM.git
$ sudo mv SuiteCRM suitecrm
$ sudo chown -R www-data:www-data suitecrm   [On Debian/Ubuntu]
$ sudo chown -R apache:apache suitecrm       [On CentOS/RHEL]
$ sudo chmod -R 755 suitecrm
$ ls -ld suitecrm

8. Now open your web browser and type the URL below to access the SuiteCRM web installer wizard.

http://SERVER_IP/suitecrm/install.php
OR
http://localhost/suitecrm/install.php

You will see the welcome page, which includes the SuiteCRM License Agreement. Read the license and check “I Accept”, and set the installation language. Click Next to continue.

SuiteCRM Web Installer

SuiteCRM Web Installer

9. You will see the pre-installation requirements page below. If everything is fine as shown in the screenshot below, click Next to proceed.

SuiteCRM System Environment Check

SuiteCRM System Environment Check

11. Next, provide the SuiteCRM database settings (database name, host, username and password).

SuiteCRM Database Settings

SuiteCRM Database Settings

In the same page, enter the site configurations (site name, admin username, password and email address).

You can as well configure more options:

  • Demo data (choose yes if you want to populate site with demo data).
  • Scenario selection – such as sales, marketing etc.
  • SMTP server specification – choose your Email provider, SMTP server, port, user authentication details.
  • Branding details – Organization name and logo.
  • System locale settings – date format, time format, timezone, currency, currency symbol and ISO 4217 Currency Code.
  • Site security settings.

Once you are done, click Next to start the actual installation process where the installer will create database tables and default settings.

SuiteCRM Site Configuration

SuiteCRM Site Configuration

12. Once the installation is complete, you are ready to login. Provide the admin username and password, then click on “Log In”.

SuiteCRM Login Interface

SuiteCRM Login Interface

SuiteCRM Dashboard

SuiteCRM Dashboard

SuiteCRM Homepage: https://suitecrm.com/

Enjoy! For any queries or thoughts that you want to share, please hit us up via the comment section below.

Source

Install NVIDIA Drivers in RHEL/CentOS/Fedora and Debian/Ubuntu/Linux Mint

During an interview, in Finland Linus Torvalds the man behind the exceptional idea of Linux and git source code management, gave his ‘Middle Finger Salute‘ to NVIDIA in frustration with the support provided by the company for the Linux platform.

Torvalds is depressed with the fact that NVIDIA is not supporting Linux, enough. It gets even more worse with the truth that NVIDIA is getting hot with every passing day in Android based mobile handset market which literally means that NVIDIA is not supporting Linux.

Install NVIDIA Drivers in Linux

Install NVIDIA Drivers in Linux

The outburst of anger and frustration was the result of the question asked by a Linux user. The question was ‘Optimus‘ feature of NVIDIA which lets the user to switch On/Off Graphics Processing Unit (GPU) to save power came late for Linux, as compared to other Operating Systems. NVIDIA was very much clear when asked about this, and clearly stated that NVIDIA is not going to support Linux to the point, Windows and Mac would get.

This issue of NVIDIA is not new and the users have been complaining for years regarding this. The Advanced Micro Devices (AMD) has tried to fill this with its own open source driver. NVIDIA refused to release Open Source driver saying that it can not make critical informations publicly available.

On the other hand, the act of Linus Torvalds of showing middle finger on camera was criticized, some said that it does not suit an intellectual like him, other said it was not professional at all, while some said that even Torvalds is a human and it was just an outburst.

Most of the today’s distro comes with an open source NVIDIA alternative called ‘Nouveau‘. Nouveau render graphics perfectly, however it lacks 3D support. Hence to Install Proprietary NVIDIA driver. Nouveau must be stopped from starting automatically, which we will be calling as blacklisting throughout the article.

Installation of NVIDIA Drivers in RHEL/CentOS and Fedora

First, install needed “Development” packages using YUM command as shown.

# yum groupinstall "Development Tools"
# yum install kernel-devel kernel-headers dkms

Before installing NVIDIA drivers, you need to know your driver product type by using following command.

# lspci -nn | grep VGA
Sample Output
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108GL [Quadro 600] [10de:0df8] (rev a1)

Once you know your driver name, then go to NVIDIA official website and download required drivers for your system. Download drivers using following link.

  1. http://www.nvidia.com/Download/index.aspx
Disable Nouveau Driver

open “/etc/modprobe.d/blacklist.conf” in your favourite editor and add “blacklist nouveau”, ofcourse without double-quotes.

blacklist nouveau

Next create a new “initramfs” file and taking backup of existing.

# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak  
# dracut -v /boot/initramfs-$(uname -r).img $(uname -r)

Reboot the machine. Login into command mode using Alt+F4 / ALT+F5 as root.

# reboot

Once you in command line mode, next go to the folder where you’ve downloaded NVIDIA driver and run the script as show. If any dependency, you need to Yum the required packages.

./NVIDIA-Linux*.run

Once installation is complete, generate xorg.conf file using following command.

# X -configure

Copy xorg.conf.new as /etc/X11/xorg.conf.

# cp /root/xorg.conf.new /etc/X11/xorg.conf

Now switch to X Window as root user by typing.

# init 5

Launch NVIDIA configuration window and set the Resolution, manually, and at last click on ‘Save to X Configuration File‘ and quit. For reference, follow the screen shot added below.

Installation of NVIDIA Drivers Debian/Ubuntu/Linux Mint

First, check the information about your supported Graphics Card by issuing following command.

# lspci -nn | grep VGA
Sample Output
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108GL [Quadro 600] [10de:0df8] (rev a1)

Next add a repository under “/etc/apt/sources.list” file at the bottom. Save and close it.

deb http://ftp.debian.org/debian/ wheezy main contrib non-free
Disable Nouveau Driver

Open “/etc/modprobe.d/blacklist.conf” file and add the following line. Save and close the file.

blacklist nouveau

Next, do a system update and then install NVIDIA drivers and required Kernel packages using “apt-get” command.

# apt-get update
# apt-get install nvidia-kernel-dkms nvidia-glx nvidia-xconfig nvidia-settings 
# apt-get install nvidia-vdpau-driver vdpau-va-driver

Stop the X service (gdm3).

# service gdm3 stop

Generate new xorg.conf file using following command.

# X -configure

Copy xorg.conf.new as /etc/X11/xorg.conf.

# cp /root/xorg.conf.new /etc/X11/xorg.conf

Now switch to X Window as root user by typing.

# startx

Open NVIDIA configuration wizard and set the Resolution, manually, and at last click on ‘Save to X Configuration File‘ and quit.

Install NVIDIA Driver in Linux

NVIDIA Driver Settings

Congrats! Your installation and configuration of NVIDIA Graphics Driver is complete.

That’s all for now, If you gets stuck at a place during installation and could not fix it yourself, you can always ask for guidance in comment section. Do a favor for us by sharing the article.

Source

WP2Social Auto Publish Powered By : XYZScripts.com