Install Linux: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
=SUDO= | |||
apt-get install sudo | apt-get install sudo | ||
*visudo -f /etc/sudoers | |||
www-data ALL=NOPASSWD: /sbin/ipvsadm | |||
www-data ALL=NOPASSWD: /usr/bin/nmap | |||
www-data ALL=NOPASSWD: /var/wwwl/mylvs/repl.sh | |||
www-data ALL=NOPASSWD: /usr/local/nagios/libexec/check_nrpe | |||
www-data ALL=NOPASSWD: /var/www/mylvs/script/mkbackup.sh | |||
www-data ALL=NOPASSWD: /var/www/mylvs/script/mkbackupcomment.sh | |||
www-data ALL=NOPASSWD: /usr/bin/mysqldump | |||
www-data ALL=NOPASSWD: /usr/bin/mysql |
Revision as of 22:40, 13 June 2015
Install
Sample for Debian 8:
|
Packages
MySQL
apt-get install mysql-server-5.5
Perl Core
List of required perl modules
apt-get install libnet-snmp-perl libxml-simple-perl
Apache Perl CGI
apt-get install libapache2-mod-fcgid libcgi-fast-perl apt-get install libcgi-pm-perl libcgi-session-perl apt-get install libfcgi-perl libfcgi0ldbl
Enable CGI
a2enmod cgi
Apache additional
apt-get install libnet-snmp-perl libxml-simple-perl
SUDO
apt-get install sudo
- visudo -f /etc/sudoers
www-data ALL=NOPASSWD: /sbin/ipvsadm www-data ALL=NOPASSWD: /usr/bin/nmap www-data ALL=NOPASSWD: /var/wwwl/mylvs/repl.sh www-data ALL=NOPASSWD: /usr/local/nagios/libexec/check_nrpe www-data ALL=NOPASSWD: /var/www/mylvs/script/mkbackup.sh www-data ALL=NOPASSWD: /var/www/mylvs/script/mkbackupcomment.sh www-data ALL=NOPASSWD: /usr/bin/mysqldump www-data ALL=NOPASSWD: /usr/bin/mysql