Install Linux: Difference between revisions

From MyLVS
Jump to navigation Jump to search
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 3: Line 3:


==Install==
==Install==
Software selection:
{| style="width: 60%;"
*Web server
|style="width:20%; vertical-align: top;"|
*SSh server
Sample for Debian 8:
*Standard system utilities
*Default installation
<br>
**Choose package '''Web server'''
[[Image:00-00-00-Debian.png|450px|Debian Jesie]]
**Choose package '''SSh server'''
<br><br>


|style="width:33%; vertical-align: top;"|
[[image:00-00-00-Debian.png|450px|left]]
|}
=Packages=
==MySQL==
apt-get install mysql-server-5.5
==Perl Core==
core 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


{| style="width: 100%;"
|style="width:33%; vertical-align: top;"|
'''[[image:16px-Mp_howto.png|16px|left]] Status'''
* http://lcc.hitchhiker.com
* http://info.temyra.net  login required (info.temyra / info.temyra.net)
* http://lccstatus.intern Intern <br>
* http://lccstatus.hitchhiker.com Extern<br>
* http://cim.intern Critical Incident Management Intern <br>
* http://cim.hitchhiker.com Critical Incident Management Extern<br>
* http://releasenotes.temyra.net Releasenotes Extern<br>
* http://releasenotes.intern Releasenotes Intern<br>
* '''List PCC''' http://wiki.intern/index.php/Special:HHPCC
* '''List FAPI Users''' http://wiki.intern/index.php/Special:HHFAPI
* Show recent updates http://updates.intern


|style="width:33%; vertical-align: top;"|
'''[[image:00-00-00-Debian.png|450px|left]] Support'''
* http://progman.intern<br>
* http://ibecode.intern<br>


=SUDO=
Sudo is required to run commands from apache
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


|}
Note: The above commands represents all possible myLVS functions even if the scripts are not setup at this time.

Latest revision as of 17:11, 14 June 2015


Install

Sample for Debian 8:

  • Default installation
    • Choose package Web server
    • Choose package SSh server

Packages

MySQL

apt-get install mysql-server-5.5

Perl Core

core 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

Sudo is required to run commands from apache

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

Note: The above commands represents all possible myLVS functions even if the scripts are not setup at this time.