Promo – Buy One, Get One Free on Packt Pub

Check out Packt’s amazing Buy One, Get One Free offer http://bit.ly/1j26nPN

cara pindah paket simpati loop ke simpati active, simpati freedom ke simpati active, pindah ke simpati active, cara pindah paket simpati freedom ke simpati active, pindah paket simpati freedom ke simpati loop, cara pindah paket simpati active ke simpati loop, cara pindah dari simpati loop ke simpati active, cara pindah paket dari simpati loop ke simpati active, cara mengubah simpati loop ke simpati active, cara merubah menjadi simpati active

PACKT’S $5 EBOOK BONANZA IS BACK!

packt ebook Bonanza2

Following on from the success of last year’s festive offer, the publisher will be celebrating the holiday season with an even bigger $5 Bonanza.

From December 19th, customers will be able to get any eBook or Video from Packt for just $5. This sale covers every title in the 1700+ range and customers can grab as many as they like until January 3rd 2014 – more information is available at http://bit.ly/1jdCr2W

cara merubah simpati loop ke simpati active, cara pindah simpati loop ke simpati aCtive, cara pindah paket ke simpati active, cara pindah paket simpati active, pindah paket simpati active, pindah paket ke simpati active, cara pindah ke paket simpati active, cara merubah simpati freedom ke simpati loop, cara pindah simpati active, cara merubah simpati loop menjadi simpati active

Moodboster for System/Network Administrators

This time I will give you a secret drink recipe for the Network Admin, sysadmin and the other noc-turnal.
This drinks have the effect of boosting mood, so it can help with tasks that require concentration and focus.

Here’s the basic materials
1. instant coffee
2. Fresh milk without sugar
3. honey

Moodboster for sys/net admin
Moodboster for sys/net admin

First step, dissolve 1 teaspoon of coffee with 50ml milk. Stir evenly so that coffee and milk mixed together.

Second, add 1 teaspoon of honey. Stir evenly so the coffee, milk and honey get mixed evenly.

Then, add milk till the glass full, it’s about 200ml of milk  glasses. Stir well.

Delicious when using cold milk. But can also be served warm.

Here’s the end result. Good luck!

Moodboster for sys/net admin
Moodboster for sys/net admin

Webserver and SELinux

Finally got a chance to setup a webserver with selinux enabled. The most important thing is to set security context where the files located to be in httpd security context using ‘chcon’ command.

Here’s some example:

# chcon -v --type=httpd_sys_content_t /html
context of /html changed to user_u:object_r:httpd_sys_content_t
# chcon -v --type=httpd_sys_content_t /html/index.html
context of /html/index.html changed to user_u:object_r:httpd_sys_content_t
# ls -Z /html/index.html
-rw-r--r-- root root user_u:object_r:httpd_sys_content_t /html/index.html
# ls -Z | grep html
drwxr-xr-x root root user_u:object_r:httpd_sys_content_t html

SELinux also by default denied httpd process to send an email. You can override this by using ‘setsebool’ command. Here’s some example using getsebool and setsebool.

# getsebool -a | grep httpd_can_sendmail
httpd_can_sendmail --> off
# setsebool -P httpd_can_sendmail on
# getsebool -a | grep httpd_can_sendmail
httpd_can_sendmail --> on

That’s it.

Thank you
Budiwijaya

 

chcon -t for web server, Linux Budi, webserver with selinux

Varnish – tips trick #1

Here’s varnish tips trick number 1

How to check varnish rule? Create a file (ie: check-varnish.sh) with this content:

#!/bin/bash
varnishd -C -f /etc/varnish/default.vcl

How to check top domain on multi domain varnish configuration? Create a file (ie: check-top-domain.sh) with this content:

#!/bin/bash
varnishtop -i RxHeader -C -I ^Host

reverse proxy trick, varnishing tips and tricks, varnish vcl trick, varnish reverse proxy multiple domain, varnish reverse proxy configuration multi domain, varnish as proxy ubuntu, uc trick reverse proxy, ubuntu getty ttys0, trick reverse proxy proxy list, tips budi en