David

Setting Up CIFS Shares in Centos & ubuntu

Guide to Cifs setup and Mounted on Boot. This breif guide will go over installing the required utils to get samba installed and running, as well as mounting a cifs share on boot in the fstab file. I will be using Centos as the host environment, for Ubuntu, just replace “yum install” with “apt-get install”. Installing samba & support libraries: You will need to grab and install the Samba client as well as the cifs-utils package.

Creating a Sudo user account in linux

Creating a Sudo user account in linux. This is a quick guide in how to create a suer with “Sudo” priviliges in centos. First step is to login to the machine and switch to the root user. su root Now we can create a new user and assign sudo wrights. (Username, being the new user. adduser username This will start the account creation process, and you should see similar output to below.

Remote Server Key login and Lockdown

Quick guide on Pushing SSH keys to servers Securing SSH. In order to complete this, you will need to have made sure you have a user account setup with admin/root privileges. See my other Guide “Admin account creation in Linux". For this guide I will be using the account called username. Generate your SSH Key On your Local system generate your SSH key, run the following: ssh-keygen -t rsa # Change '-t rsa' to your prefered Cryptographic Algorithm, or leave blank username@local:~$ ssh-keygen Generating public/private rsa key pair.

Getting this thing started

Blog Update - Jan 2020 Making a commitment to getting this blog/docs site up and running on the interwebs. Firstly fleshing it out, with all my backlog of guides/how-to’s regarding software/development and Home lab topics. Once its populated, it will be time to take this “To the mooon”.

Changing Jekyll Rouge Code Font Size

How to change Rouge Font size in Jekyll In order to change the font size of code highlighting in Jekyll, there are a few places to modify. The easiest place to change, is in the _syntax.scss file under /_sass folder in the root directory. In the div.highlighter-rouge, figure.highlight {} block, under .highlight{} simply change the font-size value. shown here: div.highlighter-rouge, figure.highlight { position: relative; margin-bottom: 1em; // Skipping lines for compactness &:before { //Skipping more lines } .