Press "Enter" to skip to content

Posts tagged as “debian”

Introduction to systemd : Basic Usage and Concepts

Shahriar 0

Hi everyone In this post I am going to explain some essential systemd commands and concepts. As systemd popularity grew much more and changed the linux ecosystem drastically, every sysadmin, DevOps or every casual linux user should know the basics of this init system (It’s really a load of other things too!) and be able to use systemctl, journalctl, etc in order to leverage its power. For example, by using systemd unit files you can completely get rid of using…

Useful Configs for NGINX

Shahriar 2

After posting the first of my linux SysAdmin quick config sample series titled “Useful Configs for squid” (which you can read here). I decided to write another post, this time about the powerful and popular web/cache server NGINX! I spent quite some time reading through nginx official docs and other blogs/websites while testing each configuration directive in different scenarios. Some of the options presented in this post do not have good or any documentation. I hope you find them useful!…

Simple OpenLDAP + phpLDAPadmin setup

Shahriar 0

Hello everyone, In this blog post I’m going to show you how to setup a simple OpenLDAP server  with phpldapadmin on apache. I’m posting this because I didn’t find any up to date content on how to do this. Installing OpenLDAP and exploring it with phpLDAPadmin helps you learn LDAP structure and use cases. Also you can redirect authentication of other devices on your network to this server. These steps are run in a fresh debian wheezy (7) installation: [asciinema…

Cisco IOS and StrongSWAN IPSEC VPN

Shahriar 0

In this blog post we will cover IPSEC tunnel between Linux StrongSWAN and Cisco IOS. The strongSWAN config file can copied exactly as is to another server with the IP of Cisco Router and the tunnel will be connected between two linux routers. That is you do not need to change right and left in config files. It will be automatically detected from interface IP address (if available of course) Cisco IOS configuration is very similar to previous post. Here are…

Useful Configs for Squid3 Cache

Shahriar 0

Hi everyone! After searching the web so many times and testing different configurations of Squid, I have found these minimal working configs which you can use to achieve the features you want from Squid3 Cache (which is really robust and powerful btw) Read more for config…