-
Archives
- January 2023
- August 2022
- July 2022
- June 2022
- January 2022
- September 2020
- February 2018
- December 2017
- May 2017
- April 2017
- February 2017
- December 2016
- November 2016
- May 2016
- April 2016
- June 2015
- May 2015
- November 2014
- May 2014
- April 2014
- February 2014
- December 2013
- October 2013
- August 2013
- June 2013
- May 2013
- March 2013
- February 2013
- January 2013
- May 2012
- August 2011
- July 2011
- June 2011
- May 2011
- December 2010
- November 2010
- June 2010
- April 2010
- November 2009
- October 2009
- May 2009
- February 2009
- December 2008
-
Meta
Tag Archives: linux
Ubuntu Linux Email Notification on Hard Disk S.M.A.R.T Errors
This is a short guide on setting up sendmail command on Ubuntu to work with smartmontools to monitor SMART statuses of drives and send email notifications on any failures. 1. Setup sendmail to relay to an external SMTP server (Gmail, … Continue reading
Strongswan PSK IPsec IKEv2 VPN on Ubuntu 14.04 with Blackberry
This is a short guide on configuring Strongswan on Ubuntu 14.04 with pre-shared keys (PSK) for a Blackberry 10 device to connect with. Setting this up requires in-depth knowledge of networking and routing. Install and configuring Strongswan: sudo apt-get install … Continue reading
Installing Grub2 on Both GPT HD in Software RAID1 on Ubuntu 14.04
I installed Ubuntu 14.04 on 2x 3TB mdadm raid 1 and wanted both drives to be bootable in case one fails. This took a rather long time to figure out but this is how you do it. Below was tested … Continue reading
PXE/Network ISO Boot with Ubuntu on Beagleboard and Tomato WRT54G
This is a short guide on configuring Ubuntu linux to provide network boot services to a local network. It works like this: DHCP responds with dhcp-boot option that tells the client to fetch the boot image from a certain computer. … Continue reading
1:1 NAT with iptables and KVM
Use libvirt to add a network with NAT forwarding to an interface. It will add most of the iptables rules for you. It should looks something like below. “iptables -L”: Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT … Continue reading
Installing Squid 3.1 on CentOS 5.6 with SELinux
Since there are no official packages of Squid 3.1 for CentOS or RHEL, the only ways to install are compiling from source or via 3rd party rpm. My method may not be proper so if there are any glaring mistakes, … Continue reading
Using TC to Limit Uplink Bandwidth in Linux
Short guide on using TC to force users to obey a certain upload speed in linux. #First add a ‘root’ for eth1 tc qdisc add dev eth1 root handle 1: htb default 30 #Second add a class (bucket) with bandwidth … Continue reading
Installing Tinyproxy
Short guide on installing Tinyproxy in CentOS on an OpenVZ VPS. [root@shizuka ~]# yum install tinyproxy At this point, you need to edit the conf file and add an “Allow x.x.x.x/xx” line to let users access the proxy. [root@shizuka ~]# … Continue reading
Resizing Logical Volume & Swap on Redhat/CentOS VM
My CentOS vm was near the capacity of its allocated VHD. I used VHD Resizer from VMToolKit to expand the file container. Once it is expanded, the inner layers must expanded as well. This is a collection of info I … Continue reading