If you wish to use your server as a dhcp server then you need to make sure that bind9 and the dhcp server can talk to each other. You should already have bind installed and running as expected at this point. Next thing to do is install your dhcp server # apt install isc-dhcp-server Debian […]
DHCP and Bind
Vim plugins
The vim configuration file on a user basis is ~/.vimrc. If you don’t have this file then make it. I always like to start vim with numbering on so the first thing I put in this file is set number The global configuration file is /etc/vimrc. in here I like to uncomment the following […]
Javascript navigation and form data.
One of the things that I found myself doing over and over again was creating a function to post data back to the server so I created a tiny class that makes use of my jsfunction class to simplify the creation of post functions. #include “jsnav.h” using std::string; using std::vector; jsnav::jsnav(std::string fName) : jsfunction(build_function_name(fName)) { […]
Javascript in c++
The problem that I had with laying down javascript functions in c++ was very similar in nature to the problem one of html; i.e. having escape characters all over the place or producing virtually unreadable code. Thankfully the problem was much easier to solve with a class of less than 100 lines of code; And […]
Open VPN
Installation With point to point tunneling protocol VPN’s depreciated because of security issues we are now not even bothering to install pptp at all and are instead opting for openvpn. For the installation you are going to want 2 applications, openvpn and easy-rsa. #apt-get install openvpn easy-rsa Build and configure the certificate authority OpenVPN […]
Bacula
No good server would be complete without a system to back up your files and folders. For this purpose we use bacula. In this instance we already have postgresql installed so all we need to do is create a user #createuser bacula -DRSP -U postgres Once we have a user we can begin installing bacula […]
Samba Active Directory (With Bind9)
The configuration of samba in standard mode is pretty self explanatory, but unless you are running a pretty basic configuration you are likely to want Active Directory to manage longons for MS Windows workstations. NOTE: In this example we are going to use the following Server Name: pine Domain Name: uk And we will be […]
PHPPgadmin
phppgadmin is installed in /usr/share/phppgadmin. You will need to create a site file in /etc/apache2/sites-available and enable it in order to access phppgadmin. You will also have to set up dns accordingly. The file should look something like this <VirtualHost> *:80> ServerName pgadmin.caa.intrasec.net Redirect “/” https://pgadmin.caa.intrasec.net </VirtualHost> <IfModule mod_ssl.c> <VirtualHost _default_:443> Servername pgadmin.caa.intrasec.net ServerAdmin tim@jtek.co.uk […]
Apache 2
If you haven’t got apache installed already then just install it using apt-get install apache2. Once it is installed, make sure that it works by pointing a browser to the FQDN of your server. If all is well then it will bring up the debian apache2 default page. If it does not work and you […]
Roundcube
Installation #apt-get -y install roundcube-pgsql roundcube-plugins If you already have a postgresql server running with some default values then let the install wizard do its thing, it will ask you a few questions, install the database and install roundcube in /var/lib/roundcube If you want to do things manually for some reason then : […]
Recent Comments