Category: Uncategorized
-
RabbitMQ start with FreeBSD
1. Install erlang from ports2. grab latest binary tar.gz package from their website download session (file name should be something like rabbitmq-server-generic-unix-X.Y.Z.tar.gz) – unpack it somewhere3. start server from the directory where you unpack it sbin/rabbitmq-server4. when you need to stop it run sbin/rabbitmqctl stop It is also possible to compile it directly from source,…
-
.htaccess based authentication with apache
Put this in .htaccess file AuthUserFile path_goes_hereAuthGroupFile /dev/nullAuthName EnterPasswordAuthType Basicrequire valid-user File with usernames and passwords can be generated with htpasswd path username utility from command line, or use the following line to display hashed pairs in console htpasswd -n username