Browse code

Added gentoo installation Added missing auth_db module to the mysql part

Nils Ohlmeier authored on 24/05/2003 21:39:59
Showing 1 changed files
... ...
@@ -228,12 +228,17 @@ after you are finished with C).
228 228
 If you don't use an rpm or debian based distro, try our tar.gz'ed binaries
229 229
  (ser-$(version)_$(os)_$(arch).tar.gz, e.g: ser-0.8.8_linux_i386.tar.gz).
230 230
 If you use Solaris 8 you can try our solaris package.
231
+If you use Gentoo Linux you do not have to download a package.
231 232
 
232 233
 2) install the package
233 234
 RPM:
234 235
     rpm -i <package_name>
235 236
 debian:
236 237
     dpkg -i <package_name>
238
+gentoo:
239
+    emerge ser
240
+	(or if use only stable packets:
241
+	 ACCEPT_KEYWORDS="~x86" emerge ser)
237 242
 tar.gz:
238 243
     cd /; tar zxvf <package_name>_os_arch.tar.gz
239 244
     (it will install in /usr/local/, and the configuration file in
... ...
@@ -244,7 +249,7 @@ Solaris:
244 244
     pkg_add package_name
245 245
     
246 246
 3) start the server
247
-RPM:
247
+RPM + gentoo:
248 248
     /etc/init.d/ser start
249 249
 debian:
250 250
     ser is started automatically after the install
... ...
@@ -297,10 +302,16 @@ proceed, you need to make sure MySQL is installed on your box.
297 297
     (rpm and deb provided, most of the binary tar.gz distributions and the 
298 298
      solaris package include it; if it is not present you'll have to rebuild
299 299
      from the source).
300
+	For gentoo please include 'mysql' to your USE variable in /etc/make.conf
301
+	or give it as variable to the emerge command.
300 302
 2) install the package
301 303
     rpm -i <package_name>
302 304
     or
303 305
     dpkg -i <package_name>
306
+	or
307
+	emerge ser
308
+	(if do not want to put 'mysql' into your USE variable you can type:
309
+	 USE="mysql" emerge ser)
304 310
 3) create MySQL tables
305 311
 	- if you have a previously installed SER on your system, use
306 312
     	/usr/sbin/ser_mysql.sh create
... ...
@@ -314,6 +325,7 @@ proceed, you need to make sure MySQL is installed on your box.
314 314
     authentication:
315 315
     - loadmodule "/usr/lib/ser/modules/mysql.so"
316 316
     - loadmodule "/usr/lib/ser/modules/auth.so"
317
+    - loadmodule "/usr/lib/ser/modules/auth_db.so"
317 318
     - modparam("usrloc", "db_mode", 2)
318 319
     - modparam("auth", "calculate_ha1", yes)
319 320
     - if (!www_authorize("iptel.org", "subscriber")) {