Skip to content

Commit 2842df8

Browse files
committed
Ubuntu installer v.01
1 parent dc562aa commit 2842df8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+4604
-0
lines changed

install/ubuntu/apache2-pma.conf

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# phpMyAdmin default Apache configuration
2+
3+
Alias /phpmyadmin /usr/share/phpmyadmin
4+
5+
<Directory /usr/share/phpmyadmin>
6+
Options FollowSymLinks
7+
DirectoryIndex index.php
8+
9+
<IfModule mod_php5.c>
10+
AddType application/x-httpd-php .php
11+
12+
php_flag magic_quotes_gpc Off
13+
php_flag track_vars On
14+
php_flag register_globals Off
15+
php_admin_flag allow_url_fopen Off
16+
php_value include_path .
17+
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
18+
php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext
19+
</IfModule>
20+
21+
</Directory>
22+
23+
# Authorize for setup
24+
<Directory /usr/share/phpmyadmin/setup>
25+
<IfModule mod_authn_file.c>
26+
AuthType Basic
27+
AuthName "phpMyAdmin Setup"
28+
AuthUserFile /etc/phpmyadmin/htpasswd.setup
29+
</IfModule>
30+
Require valid-user
31+
</Directory>
32+
33+
# Disallow web access to directories that don't need it
34+
<Directory /usr/share/phpmyadmin/libraries>
35+
Order Deny,Allow
36+
Deny from All
37+
</Directory>
38+
<Directory /usr/share/phpmyadmin/setup/lib>
39+
Order Deny,Allow
40+
Deny from All
41+
</Directory>
42+

install/ubuntu/apache2-status.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Listen 127.0.0.1:8081
2+
<Location /server-status>
3+
SetHandler server-status
4+
Order deny,allow
5+
Deny from all
6+
Allow from 127.0.0.1
7+
Allow from all
8+
</Location>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
2+
Alias /roundcube /var/lib/roundcube
3+
Alias /webmail /var/lib/roundcube
4+
5+
# Access to tinymce files
6+
<Directory "/usr/share/tinymce/www/">
7+
Options Indexes MultiViews FollowSymLinks
8+
AllowOverride None
9+
Order allow,deny
10+
allow from all
11+
</Directory>
12+
13+
<Directory /var/lib/roundcube/>
14+
Options +FollowSymLinks
15+
# This is needed to parse /var/lib/roundcube/.htaccess. See its
16+
# content before setting AllowOverride to None.
17+
AllowOverride All
18+
order allow,deny
19+
allow from all
20+
</Directory>
21+
22+
# Protecting basic directories:
23+
<Directory /var/lib/roundcube/config>
24+
Options -FollowSymLinks
25+
AllowOverride None
26+
</Directory>
27+
28+
<Directory /var/lib/roundcube/temp>
29+
Options -FollowSymLinks
30+
AllowOverride None
31+
Order allow,deny
32+
Deny from all
33+
</Directory>
34+
35+
<Directory /var/lib/roundcube/logs>
36+
Options -FollowSymLinks
37+
AllowOverride None
38+
Order allow,deny
39+
Deny from all
40+
</Directory>

install/ubuntu/apache2.conf

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# It is split into several files forming the configuration hierarchy outlined
2+
# below, all located in the /etc/apache2/ directory:
3+
#
4+
# /etc/apache2/
5+
# |-- apache2.conf
6+
# | `-- ports.conf
7+
# |-- mods-enabled
8+
# | |-- *.load
9+
# | `-- *.conf
10+
# |-- conf.d
11+
# | `-- *
12+
13+
# Global configuration
14+
LockFile ${APACHE_LOCK_DIR}/accept.lock
15+
PidFile ${APACHE_PID_FILE}
16+
Timeout 30
17+
KeepAlive Off
18+
MaxKeepAliveRequests 100
19+
KeepAliveTimeout 10
20+
21+
<IfModule mpm_prefork_module>
22+
StartServers 8
23+
MinSpareServers 5
24+
MaxSpareServers 20
25+
ServerLimit 256
26+
MaxClients 200
27+
MaxRequestsPerChild 4000
28+
</IfModule>
29+
30+
<IfModule mpm_worker_module>
31+
StartServers 2
32+
MinSpareThreads 25
33+
MaxSpareThreads 75
34+
ThreadLimit 64
35+
ThreadsPerChild 25
36+
MaxClients 200
37+
MaxRequestsPerChild 4000
38+
</IfModule>
39+
40+
<IfModule mpm_event_module>
41+
StartServers 2
42+
MinSpareThreads 25
43+
MaxSpareThreads 75
44+
ThreadLimit 64
45+
ThreadsPerChild 25
46+
MaxClients 200
47+
MaxRequestsPerChild 4000
48+
</IfModule>
49+
50+
# These need to be set in /etc/apache2/envvars
51+
User ${APACHE_RUN_USER}
52+
Group ${APACHE_RUN_GROUP}
53+
#User www-data
54+
#Group www-data
55+
56+
AccessFileName .htaccess
57+
58+
<Files ~ "^\.ht">
59+
Order allow,deny
60+
Deny from all
61+
Satisfy all
62+
</Files>
63+
64+
DefaultType None
65+
HostnameLookups Off
66+
67+
ErrorLog ${APACHE_LOG_DIR}/error.log
68+
LogLevel warn
69+
70+
# Include module configuration:
71+
Include mods-enabled/*.load
72+
Include mods-enabled/*.conf
73+
74+
# Include list of ports to listen on and which to use for name based vhosts
75+
Include ports.conf
76+
77+
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
78+
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
79+
LogFormat "%h %l %u %t \"%r\" %>s %O" common
80+
LogFormat "%{Referer}i -> %U" referer
81+
LogFormat "%{User-agent}i" agent
82+
LogFormat "%b" bytes
83+
84+
Include conf.d/
85+
86+
# Include the virtual host configurations:
87+
#Include sites-enabled/

install/ubuntu/apache2.log

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/var/log/apache2/*.log /var/log/apache2/domains/*log {
2+
weekly
3+
missingok
4+
rotate 52
5+
compress
6+
delaycompress
7+
notifempty
8+
create 640 root adm
9+
sharedscripts
10+
postrotate
11+
/etc/init.d/apache2 reload > /dev/null || true
12+
[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
13+
endscript
14+
prerotate
15+
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
16+
run-parts /etc/logrotate.d/httpd-prerotate; \
17+
fi; \
18+
endscript
19+
}

install/ubuntu/apache2.readme.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# _| _| _|_|_|_| _|_|_| _|_|_|_|_| _|_|
3+
# _| _| _| _| _| _| _|
4+
# _| _| _|_|_| _|_| _| _|_|_|_|
5+
# _| _| _| _| _| _| _|
6+
# _| _|_|_|_| _|_|_| _| _| _|
7+
#
8+
#
9+
# Server is manager by Vesta Control Panel.
10+
# See /etc/apache2/conf.d/vesta.conf to get a full list of running vhosts.
11+
#

install/ubuntu/certificate.crt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
-----BEGIN CERTIFICATE-----
2+
MIIDqjCCApICCQCBAQdAxoNnAjANBgkqhkiG9w0BAQUFADCBljELMAkGA1UEBhMC
3+
VVMxFjAUBgNVBAgMDU1hc3NhY2h1c2V0dHMxEzARBgNVBAcMClN3YW1wc2NvdHQx
4+
EDAOBgNVBAoMB1Zlc3RhQ1AxCzAJBgNVBAsMAklUMRowGAYDVQQDDBFwYW5lbC52
5+
ZXN0YWNwLmNvbTEfMB0GCSqGSIb3DQEJARYQaW5mb0B2ZXN0YWNwLmNvbTAeFw0x
6+
MzA5MjMwNzA0NDVaFw0xNDA5MjMwNzA0NDVaMIGWMQswCQYDVQQGEwJVUzEWMBQG
7+
A1UECAwNTWFzc2FjaHVzZXR0czETMBEGA1UEBwwKU3dhbXBzY290dDEQMA4GA1UE
8+
CgwHVmVzdGFDUDELMAkGA1UECwwCSVQxGjAYBgNVBAMMEXBhbmVsLnZlc3RhY3Au
9+
Y29tMR8wHQYJKoZIhvcNAQkBFhBpbmZvQHZlc3RhY3AuY29tMIIBIjANBgkqhkiG
10+
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvu84meigHrwPmzEbFpKe/o8FTKwO5w1VL0HU
11+
ILVW5EBGT76VEBqpWC+x0QrChHit14FV7m+hZRvhhkulXrknChTTNA500EVNZ5Wb
12+
UpDWezZDivTKAHzzq0aUwKB230Tz+k3j+duBcbzwFwirnDXb5dE5RqzBOhiIvDw9
13+
mjP66UyH8RxFF+pTAPlcF18zWak7KnaDreyGknzy7m+Zqs07uLnb0wTgcwIcqREP
14+
eqgw0E8xrEdjz1N9HIvxi+glfnjNgHja3cCYhe9ZCpDDr9ERXrEcULrqRuch6Zfv
15+
QKoscG4dankbq0V4DfpMBYMTvFvFLLp/uWvwLjunzfu37XmBLQIDAQABMA0GCSqG
16+
SIb3DQEBBQUAA4IBAQBl+GF4Ii+7cW0tWVTsDh0Kw+rjc9bEA0eF4p3LBLEsFRkP
17+
Yeqp2t0g8RTAAiq3OyUWYISzOX8xu0i56/3jUFazABBjz0P0w2A0BfRZS5TAEwxJ
18+
TS9zAgobBuLtTh3FDJJIRXLJOKLJZVUmi6D+8QIQVOox0925tMIxGc9CxLK05bIc
19+
HUYdHsn1gDwmTWem/XED559eWV/vGnvf3Ea0EHU76kTQaLPkul2y8BTbbLaHSw96
20+
1xFc8x9gqxWTT70YmBpZIApmSzvOGVXqTduMY/CeEbmigo1/1i2YMVjePFEDYnmE
21+
/f6rNQrtM9kgtE+glWdA7zHlaigKl3SVof1ETStB
22+
-----END CERTIFICATE-----

install/ubuntu/certificate.key

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
-----BEGIN RSA PRIVATE KEY-----
2+
MIIEowIBAAKCAQEAvu84meigHrwPmzEbFpKe/o8FTKwO5w1VL0HUILVW5EBGT76V
3+
EBqpWC+x0QrChHit14FV7m+hZRvhhkulXrknChTTNA500EVNZ5WbUpDWezZDivTK
4+
AHzzq0aUwKB230Tz+k3j+duBcbzwFwirnDXb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0lZaF/0OBbpeeaS/uAIV4SUod/LAZpVgc7++F
21+
2aB35TfHJNma6ShFJd3wrwKBgBH444DtjXRTVjuKgKodYeUahCBxQ7Wfl7aRxd2W
22+
66027MuJGb78wQbuhUFsRimE6CwLZSxu+A9SaBNx3OyO2Ilyk1PyOBZ12dqY3FAk
23+
eiPFH7hUpQGvIF3JvMW0A81QVIsj8V++aYrljuoYsxiaze128+pqKrBr8GQyDiyB
24+
5V2NAoGBAIPWovM20cbx6LpEuFN5Pmkl500F6sTc8F3DQVRe3JhwVhqHQXv7tUE1
25+
VHMqpMybUQin8q/RXvJ0vr2sQEe2fVC2a0FWJTqww1eMwu1V9ppUJAfXfaYWY+XJ
26+
4d3myajakr0Eh3ia+IrSBcMRJ2sD3sL5KQC6jbD0R8odex4syiu2
27+
-----END RSA PRIVATE KEY-----

install/ubuntu/clamd.conf

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
#Automatically Generated by clamav-base postinst
2+
#To reconfigure clamd run #dpkg-reconfigure clamav-base
3+
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
4+
LocalSocket /var/run/clamav/clamd.ctl
5+
FixStaleSocket true
6+
LocalSocketGroup clamav
7+
LocalSocketMode 666
8+
# TemporaryDirectory is not set to its default /tmp here to make overriding
9+
# the default with environment variables TMPDIR/TMP/TEMP possible
10+
User clamav
11+
AllowSupplementaryGroups true
12+
ScanMail true
13+
ScanArchive true
14+
ArchiveBlockEncrypted false
15+
MaxDirectoryRecursion 15
16+
FollowDirectorySymlinks false
17+
FollowFileSymlinks false
18+
ReadTimeout 180
19+
MaxThreads 12
20+
MaxConnectionQueueLength 15
21+
LogSyslog false
22+
LogFacility LOG_LOCAL6
23+
LogClean false
24+
LogVerbose true
25+
PidFile /var/run/clamav/clamd.pid
26+
DatabaseDirectory /var/lib/clamav
27+
SelfCheck 3600
28+
Foreground false
29+
Debug false
30+
ScanPE true
31+
ScanOLE2 true
32+
ScanHTML true
33+
DetectBrokenExecutables false
34+
ExitOnOOM false
35+
LeaveTemporaryFiles false
36+
AlgorithmicDetection true
37+
ScanELF true
38+
IdleTimeout 30
39+
PhishingSignatures true
40+
PhishingScanURLs true
41+
PhishingAlwaysBlockSSLMismatch false
42+
PhishingAlwaysBlockCloak false
43+
DetectPUA false
44+
ScanPartialMessages false
45+
HeuristicScanPrecedence false
46+
StructuredDataDetection false
47+
CommandReadTimeout 5
48+
SendBufTimeout 200
49+
MaxQueue 100
50+
ExtendedDetectionInfo true
51+
OLE2BlockMacros false
52+
StreamMaxLength 25M
53+
LogFile /var/log/clamav/clamav.log
54+
LogTime true
55+
LogFileUnlock false
56+
LogFileMaxSize 0
57+
Bytecode true
58+
BytecodeSecurity TrustSigned
59+
BytecodeTimeout 60000
60+
OfficialDatabaseOnly false
61+
CrossFilesystems true

install/ubuntu/dnsbl.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bl.spamcop.net
2+
zen.spamhaus.org

0 commit comments

Comments
 (0)