How to setup a Samba share on a CentOS 7.3 server
Anytime you want to share some files over the network, NFS comes to mind. But what happens if you want Windows servers to be able to access those files as well? That's when you need Samba.
Anytime you want to share some files over the network, NFS comes to mind. But what happens if you want Windows servers to be able to access those files as well? That's when you need Samba.
Interwebs,
I've built RPM packages before, my love for FPM after all cannot be overstated. However recently I needed to build the latest version of OpenSSH portable (at the time of writing the version was 7.5) for CentOS 7. That turned out to be a little more complicated than …
A friend of mine introduced me to transfer.sh more than a year ago. transfer.sh is a simple and free file transfer service that plays along with Linux very well.
Here's some notes on how I use it:
For this example, we'll download the Mozilla Firefox Source code. Then …
In those examples, I'm using 2x VPS on the same private network, both running CentOS 7.3.
On the VPS acting as the NFS server:
ip addr add 10.42.226.1/24 dev eth1
On the VPS acting as the NFS …
Almost all modern systems come with more than 1 core. Why not get a significant performance gain from any application that uses gzip and bzip2 simply by switching to their multi-core cousins?
Easy! Use the …
Greetings interwebs,
Folks who have worked with me before (or who have been reading my blog - yeah I know, I know) know that redir is one of my most favorite tools.
Unfortunately CentOS 7 (including EPEL) does not come with redir. What's a sysadmin to do when one of his …
For practice, I went ahead and setup a Ruby on Rails app - Helpy - on CentOS 7.3. This is how I did it:
CentOS 7 comes with 2.0.0p648 which is kinda old by now. Download a more modern RPM from here: https …
Upgrading the kernel always gives me trouble on CentOS 7.x so here's some notes on how I did it:
Current kernel:
uname -a
Linux kernelupgrade 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50 …
Here's my quick notes on setting up a ZFS pool with 5 drives in it.
Each one will be 2GB:
truncate -s 2G zfs01.img
truncate -s 2G zfs02.img
truncate -s 2G zfs03.img
truncate -s 2G zfs04.img
truncate -s 2G zfs05.img …
Hello internet,
ZFS is an advanced filesystem originally developed by Sun. It has a ton of advantages, including a built in volume manager, compression live snapshots etc. It's been ported to FreeBSD and Linux.
cat …