Categories for Computer Science

Find an article
Nov 10

Configuring a Centos 7 LAMP Server

Published by in · Leave your thoughts
Warning! There was an error loading some of the images for this post.

Recently I had to deploy a number of new Centos 7 virtual private servers using VMware vSphere. This guide describes how to configure a LAMP setup on a new Centos 7 box. Network configuration This part of the guide is more for my own reference, however if you need to manually configure the network settings on your new VPS then... Read Arcticle

Sep 1

Install GitLab on Centos 5

Published by in with 4 Comments
Warning! There was an error loading some of the images for this post.

This article will guide you through how to install GitLab on Centos 5 from source as they do not officially provide any documentation on this.

Jul 4

Sendmail ignores /etc/hosts

Published by in · Leave your thoughts
Warning! There was an error loading some of the images for this post.

I came across an issue following a new firewall installation whereby Sendmail was unable to access the mail server on the internal network. Due to having no control over the DNS my initial solution was to add the internal IP to the /etc/hosts file however Sendmail didn't seem to take much attention to it. After a little research it turned out that by default SendMail uses DNS for name resolution, not the /etc/hosts file. This post outlines how to resolve this issue.

Jun 11

Simple Dropbox daily backups

Published by in with 1 Comment
Warning! There was an error loading some of the images for this post.

One of the most annoying things about administering a system is when it fails and you have no backup. A simple but effective method of mitigating this risk is to backup to a remote storage facility. Services such as Dropbox / Google Drive ensure that your data is safe and secure. In this tutorial I cover how to set-up a... Read Arcticle

Jun 3

How to dump nginx sites-enabled configuration

Published by in · Leave your thoughts
Warning! There was an error loading some of the images for this post.

I was recently a fool and accidentally deleted my nginx sites-enabled configurations. After endless mopping, I stumbled across this. If you add the below to file such as “find_nginx_config.sh”: # Set pid of nginx master process here pid=8192 # generate gdb commands from the process's memory mappings using awk cat /proc/$pid/maps | awk '$6 !~ "^/" {split ($1,addrs,"-"); print "dump memory... Read Arcticle

Apr 25

How to setup your own git repo with HTTP access [DEBIAN]

Published by in with 2 Comments
Warning! There was an error loading some of the images for this post.

Sometimes you find yourself thinking: “I don’t really want to host this code on someone else’s servers.” Especially if you’re particularly fond of your own privacy, and like the flexibility and control of running your own services. One day a project came up that I didn’t really want to host on GitHub, likewise I had ran out of private repositories... Read Arcticle

Jul 29

How to install dropbear and change the SSH port [CENTOS]

Published by in · Leave your thoughts
Warning! There was an error loading some of the images for this post.

So I recently purchased a new server, with the aim to run Virtualizor and OpenVZ on it which happened to mean installing Centos instead of my usual Debian. The experience was definitely an interesting one, but here’s what happened: Add the dropbear repo: rpm -Uvh http://ftp-stud.hs-esslingen.de/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Install dropbear: yum install dropbear I was initially baffled as how to configure Dropbear... Read Arcticle