LOGIN
Sign In or Register
Avatar
Not Registered Yet?

Join Now! It's FREE. Get full access and benefit from this site

Reset My password - Remind Me My username

Username
Password
Remember me
Rajesh Kumar

Rajesh Kumar

.

Total, Over 12 years of extensive experience in the Software Configuration Management domain having depth knowledge of DevOps, Continuous Integration and Delivery, Configuration Management, Build and Installer, Release Management and Application Management.

Website URL: http://www.RajeshKumar.xyz Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Tasksel – Easily/Quickly Install Group Softwares in Debian and Ubuntu
 
If you started out using an RPM-based distro before advancements like “yum” or “apt-rpm”, you’re loving the magic of “apt-get” on Ubuntu and Debian. But when it comes to installing large sets of software, which may have either dozens (if not hundreds) of packages, or those that require a good deal of integration, sometimes “apt-get” can feel like the old rpm -i guessing game. Fortunately, there’s a “tasksel” – think of it as “apt-get for apt-get”.
 
How To Install and Use Tasksel in Debian and Ubuntu
To install tasksel, simply run the command below:
 
$ sudo apt-get install tasksel
 
After installing Tasksel, it enables you to install one or more predefined group of packages. User need to run it from the command line with a few arguments, it provides a graphical user interface as well where one can select software to install.
 
The general syntax of running tasksel from the command line is:
 
$ sudo tasksel install task_name
$ sudo tasksel remove task_name
$ sudo tasksel command_line_options
$ sudo tasksel --list-tasks
$ sudo tasksel install openssh-server
 
To start the tasksel user interface, issue the command below:
 
$ sudo tasksel
 
Tasksel vs. Apt-Get
You may ask yourself why you’d want to use tasksel versus the traditional apt-get command to install software, especially when there’s an equivalent meta-package. It’s easiest to think of it like this:
 
On one hand, apt-get installs software as individual packages, even if those packages require others. In other words, it will install each package and respect dependencies, but otherwise assume all of them are separate.
In contrast, tasksel assumes you’re trying to install software towards a singular end-goal, such as a web server. It will take all the steps necessary to achieve that goal, including installing software as well as doing other configuration once the install is done. Getting a web server running is a good example… you might need to install apache, mysql, php, and a number of modules and add-on’s for each in order to get a proper LAMP stack running. Or you could just issue the following command:
 
$ sudo tasksel install lamp-server
 
Here are some other useful tasks available from tasksel:
Installed Ubuntu, but want to try out the latest KDE Software Collection? Just use this:
$ sudo tasksel install kubuntu-desktop
 
Have a computer you’d like to hook up to your home theater PC? It’s as easy as:
$ sudo tasksel install mythbuntu-frontend
 
Need a GUI for your server, but don’t want to waste precious resources on something like KDE or Unity?
$ sudo tasksel install lubuntu-core
 
Reference
http://www.tecmint.com/tasksel-install-group-software-lamp-mail-dns-in-debian-ubuntu/
https://www.maketecheasier.com/tasksel-easily-install-group-software-in-linux/
Starting Nagios Core
 
Init Script: The easiest way to start the Nagios Core daemon is by using the init script like so:
/etc/rc.d/init.d/nagios start
 
Manually: You can start the Nagios daemon manually with the -d command line option like so:
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
 
Restarting Nagios Core
 
Restarting/reloading is nececessary when you modify your configuration files and want those changes to take effect.
 
Init Script: The easiest way to restart the Nagios Core daemon is by using the init script like so:
/etc/rc.d/init.d/nagios reload
 
Web Interface: You can restart the Nagios Core through the web interface by clicking the "Process Info" navigation link and selecting "Restart the Nagios process":
 
Manually: You can restart the Nagios Core process by sending it a SIGHUP signal like so:
kill -HUP <nagios_pid>
 
Stopping Nagios Core
 
Init Script: The easiest way to stop the Nagios Core daemon is by using the init script like so:
/etc/rc.d/init.d/nagios stop
 
Web Interface: You can stop the Nagios Core through the web interface by clicking the "Process Info" navigation link and selecting "Shutdown the Nagios process":
 
Manually: You can stop the Nagios Core process by sending it a SIGTERM signal like so:
kill <nagios_pid>
 

How to start and stop Naxios XI Server?

 

How to stop Naxios XI Server?

service nagiosxi stop

service npcd stop

service ndo2db stop

service nagios stop

service postgresql stop

service mysqld stop

service httpd stop

 

How to stop Naxios XI Server?

service httpd start

service mysqld start

service postgresql start

service nagios start

service ndo2db start

service npcd start

service nagiosxi start

Step by step procedures to Install Nagios agent in Linux

 

> cd /tmp

> mkdir software

> cd software

> yum install wget

> wget https://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz

> tar -zxvf linux-nrpe-agent.tar.gz

> cd linux-nrpe-agent

> ./fullinstall

Step by step proceduress to Install Nagios XI Server in Centos 7
 
#Update your centos os
> yum install update 
> yum install wget
 
# to install network utility e.g. ping. (Optional)
> yum install net-tools 
> cd /tmp
> mkdir software
> cd /tmp/software
 
# Download the Nagios latest package
> wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.4.3.tar.gz 
 
> tar -zxvf xi-5.4.3.tar.gz
> cd /tmp/software/
> cd nagiosxi/
 
# Fire the script for intallation and wait for completion message.
> ./fullinstall
Page 1 of 53