Ticket #2275: FreeBSD_INSTALL.patch
| File FreeBSD_INSTALL.patch, 4.7 KB (added by BeNe, 2 years ago) |
|---|
-
omega-1.0.5/docs/FreeBSD/INSTALL
1 ispCP ω (OMEGA) HowTo Install for FreeBSD 8.0-RELEASE 1 ispCP ω (OMEGA) HowTo Install for FreeBSD 8.0-RELEASE-p2 2 2 ================================================================================ 3 For other Linuxdistributions please check the other INSTALL files.3 For other *BSD distributions please check the other INSTALL files. 4 4 ================================================================================ 5 5 6 6 Table of Content … … 57 57 # tar xjvf ispcp-omega-1.0.5.tar.bz2 58 58 59 59 2. Install the required modules with portmaster 60 # portsnap fetch extract 60 61 # cd /usr/ports/ports-mgmt/portmaster 61 62 # make install clean 62 63 # rehash … … 65 66 66 67 apache 2.2.14_5 Options 67 68 68 x threads 69 x mysql 69 x THREADS 70 70 x IPV6 71 x BDB72 71 x AUTH_BASIC 73 x AUTH_DIGEST74 72 x AUTHN_FILE 75 x AUTHN_DBD76 x AUTHN_DBM77 x AUTHN_ANON78 73 x AUTHN_DEFAULT 79 x AUTHN_ALIAS80 74 x AUTHZ_HOST 81 75 x AUTHZ_GROUPFILE 82 x AUTHZ_USER83 x AUTHZ_DBM84 76 x AUTHZ_OWNER 85 77 x AUTHZ_DEFAULT 86 x CACHE87 x DISK_CACHE88 x FILE_CACHE89 78 x ACTIONS 90 79 x ALIAS 91 x ASIS92 80 x AUTOINDEX 93 x CERN_LDAP94 x DBD95 81 x DEFLATE 96 82 x DIR 97 x DUMPIO98 83 x ENV 99 84 x EXPIRES 100 x HEADERS101 85 x INFO 102 86 x LOG_CONFIG 103 87 x LOGIO … … 106 90 x NEGOTIATION 107 91 x REWRITE 108 92 x SETENVIF 109 x SPELING110 93 x STATUS 111 x UNIQUE_ID112 x USERDIR113 x USERTRACK114 94 x VHOST_ALIAS 115 x FILTER 95 x PROXY 96 x PROXY_CONNECT 97 x PATCH_PROXY_CONNECT 98 x PROXY_HTTP 116 99 x VERSION 117 x PROXY118 100 x SSL 119 101 x SUEXEC 102 x CGID 120 103 121 proftpd 1.3.2 dOptions104 proftpd 1.3.2e Options 122 105 123 106 x CTRLS 124 107 x IFSESSION … … 132 115 x WRAP 133 116 x MYSQL 134 117 135 postfix 2. 6.5,1 Options118 postfix 2.7.0,1 Options 136 119 137 120 x PCRE 121 x SASL2 122 x TLS 123 x MYSQL 124 x CDB 125 x VDA 138 126 139 127 p5-Net-DNS 0.66 Options 140 128 141 129 x IPV6 142 130 143 131 courier-imap 4.7.0,2 Options 132 133 x IPV6 134 x AUTH_USERDB 135 136 cyrus-sasl 2.1.23 Options 137 138 x BDB 139 x MYSQL 140 x AUTHDAEMOND 141 x LOGIN 142 x PLAIN 143 x CRAM 144 x DIGEST 144 145 145 146 x IPV6 146 147 x AUTH_MYQL … … 148 149 149 150 courier-authlib 0.63.0 Options 150 151 151 x AUTH_MYQL152 152 x AUTH_USERDB 153 153 154 154 perl 5.10.1 Options … … 161 161 162 162 x CLI 163 163 x CGI 164 x APACHE165 164 x SUHOSIN 166 165 x IPV6 167 166 x FASTCGI … … 186 185 x MCRYPT 187 186 x MHASH 188 187 x MYSQL 188 x MYSQLI 189 x PCRE 189 190 x PDO 190 191 x PDO_SQLITE 191 192 x POSIX … … 202 203 x XMLRPC 203 204 x XMLWRITER 204 205 x ZIP 206 x ZLIB 205 207 206 PHP5-MBString Options208 PHP5-MBString 5.2.12 Options 207 209 208 210 x REGEX 209 211 210 PHP5-DBA Options212 PHP5-DBA 5.12 Options 211 213 212 214 x CDB 213 x DB4214 215 x INIFILE 215 216 x FLATFILE 216 217 217 PHP5-SQL-lite Options218 PHP5-SQL-lite 5.2.12 Options 218 219 219 220 x UTF8 220 221 221 PHP5-PCRE Options222 PHP5-PCRE 5.2.12 Options 222 223 223 224 x BUNDLED_PCRE 224 225 … … 232 233 x OPENSSL 233 234 x PROXY 234 235 235 php5-gd 5.2.12Options236 ca_root_nss 3.12.4 Options 236 237 238 x ETCSYMLINK 239 240 php5-gd 5.2.12 Options 241 237 242 x T1LIB 238 243 x TRUETYPE 239 244 … … 241 246 242 247 x CRYPTO 243 248 244 rkhunter 1.3.6 Options249 rkhunter 1.3.6 Options 245 250 246 251 x LSOF 247 252 … … 256 261 x IDN 257 262 258 263 3. Configure the system. 259 # cpan upgrade260 # cpan DBI DBD::mysql MIME::Entity MIME::Parser MimeInfo::Magic File::MimeInfo::Magic Crypt::CBC Crypt::Blowfish Crypt::PasswdMD5 Crypt::DES Crypt::SSLeay Term::ReadPassword HTML::Entities HTML::Parser Term::ReadKey HTML::Tagset YAML Compress::Zlib URI261 264 # rehash 262 265 263 266 Edit /etc/rc.conf and add … … 317 320 LoadModule fcgid_module libexec/apache22/mod_fcgid.so 318 321 Include etc/apache22/extra/fcgid_ispcp.conf 319 322 320 Add a '#' to the php5_module:321 # LoadModule php5_module libexec/apache22/libphp5.so322 323 323 12. Set FastCGI permissions 324 # /usr/local/etc/rc.d/apache22 restart 324 325 # chown -R www:www /var/run/fastcgi 325 326 # chmod -R 777 /var/run/fastcgi 327 # /usr/local/etc/rc.d/apache22 start 326 328 327 13. Correct Proftpd Config 328 # vi /usr/local/etc/proftpd.conf 329 Comment out the AuthOrder for mod_sql and mod_ratios 330 331 #AuthOrder mod_sql.c 332 #<IfModule mod_ratio.c> 333 # Ratios on 334 #</IfModule> 335 336 14. Correct the Master PHP.ini 329 13. Correct the Master PHP.ini 337 330 # vi /usr/local/www/data/fcgi/master/php5/php.ini 338 331 Change the open_base_dir to this: 339 332 open_basedir = "/usr/local/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/var/run/dmesg.boot:/proc/:/bin/df:/bin/:/sbin/:/usr/bin/:/usr/sbin/:/usr/local/bin/:/usr/local/sbin/:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/" 340 333 341 1 5. Log into ispCP and change:334 14. Log into ispCP and change: 342 335 "Settings"->"Server Ports" "POSTGREY Port" to 10023. 343 336 344 1 6. Change smtpd.conf337 15. Change smtpd.conf 345 338 File /usr/local/etc/sasl2/smtpd.conf must look like: 346 339 pwcheck_method: auxprop 347 340 auxprop_plugin: sasldb
