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 249
     pkg_add package_name
245 250
     
246 251
 3) start the server
247
-RPM:
252
+RPM + gentoo:
248 253
     /etc/init.d/ser start
249 254
 debian:
250 255
     ser is started automatically after the install
... ...
@@ -297,10 +302,16 @@ proceed, you need to make sure MySQL is installed on your box.
297 302
     (rpm and deb provided, most of the binary tar.gz distributions and the 
298 303
      solaris package include it; if it is not present you'll have to rebuild
299 304
      from the source).
305
+	For gentoo please include 'mysql' to your USE variable in /etc/make.conf
306
+	or give it as variable to the emerge command.
300 307
 2) install the package
301 308
     rpm -i <package_name>
302 309
     or
303 310
     dpkg -i <package_name>
311
+	or
312
+	emerge ser
313
+	(if do not want to put 'mysql' into your USE variable you can type:
314
+	 USE="mysql" emerge ser)
304 315
 3) create MySQL tables
305 316
 	- if you have a previously installed SER on your system, use
306 317
     	/usr/sbin/ser_mysql.sh create
... ...
@@ -314,6 +325,7 @@ proceed, you need to make sure MySQL is installed on your box.
314 325
     authentication:
315 326
     - loadmodule "/usr/lib/ser/modules/mysql.so"
316 327
     - loadmodule "/usr/lib/ser/modules/auth.so"
328
+    - loadmodule "/usr/lib/ser/modules/auth_db.so"
317 329
     - modparam("usrloc", "db_mode", 2)
318 330
     - modparam("auth", "calculate_ha1", yes)
319 331
     - if (!www_authorize("iptel.org", "subscriber")) {