Archives — Page 3

Check out some of our older articles below. We've been publishing articles for a very long time, so there's sure to be something here for everybody.


I/O Redirection
May 2, 2015, 3:53 a.m. by Nitin Venkatesh

I/O redirection can come in very handy at times when you're working on the command-line. You can redirect the source of an input to a command and the destination of the output it produces to be files, or other commands themselves. Enough talk, let's get down to business! First of all, the things we need to know are the streams, ...


Hard links vs soft links in Linux
April 30, 2015, 9:02 p.m. by Nitin Venkatesh

There are two types of links in the Linux world that you'll come across - hard links and soft links. Hard links are the source files in a different location (think, a wormhole bending space and time and being at two places at once), whereas soft links(or symbolic links) act as pointers to the original file. Live Action Zone Let's ...


Visual Studio Code Comes to Linux
April 29, 2015, 5:02 p.m. by Nathan Osman

If this article would have been written a few years ago, nobody would have believed it. After all, this is the same company that once called Linux a "cancer". Today, Microsoft has taken a huge leap in cross-platform development by releasing a preview of Visual Studio Code. And it runs on Linux. Downloading Visual Studio Code The preview is now ...


Finding ModSecurity version info
March 7, 2015, 8:06 p.m. by Nitin Venkatesh

If like me, you installed ModSecurity on Ubuntu or a Debian machine with something like $ sudo apt-get install libapache2-mod-security2 , we might end up clueless trying to find the mod_security.c file (as suggested in a few places) because the LoadModule in the Apache config uses a .so file. But whether you're using Ubuntu, Debian or CentOS, there is an ...


Vivaldi - Ghost Of Opera's Past
Jan. 28, 2015, 10:55 a.m. by Roland Taylor

A new browser is among us, in the form of Vivaldi, and it's all about bring the old to the new. This is a good thing. I didn't think I'd be saying this about a closed-source, yet-another-browser - browser, but a few minutes in, I'm already impressed. If, like me, you've been: On the interwebs for long enough A power ...


Setting up chroot jails for your vsftpd users
Jan. 23, 2015, midnight by Nitin Venkatesh

chroot jails keep your users locked in a directory and not let them wander about the filesystem to places they have no business poking their noses into. Alrighty, let's implement this in our vsftpd server so that you don't have your FTP users peeking at the passwd and shadow files. We assume you've already created your FTP user and have ...


Setting up vsftpd on Ubuntu
Jan. 16, 2015, midnight by Nitin Venkatesh

I wanted to upload files directly into the Wordpress from my bash script and did not want to sit around tinkering with PHP to achieve it. So what I ended up doing is setting up FTP, making life much more simpler. Installating vsftpd vsftpd is a FTP server program. Install it on your remote machine with, $ sudo apt-get install ...


Using GlusterFS on Ubuntu Server
Jan. 1, 2015, 3:06 p.m. by Nathan Osman

One of the difficulties faced by fault-tolerant web applications is distributed file storage. Indeed, this is one of the many challenges we face here at 2buntu. We allow our editors to upload images to accompany their articles and these images must be available on each server used for serving the website. Keeping files synchronized across multiple servers can be tricky. ...


Adding SSL Certificates from OWASP ZAP - A Visual Walkthrough
Dec. 14, 2014, 8 a.m. by Nitin Venkatesh

So, you've setup OWASP ZAP and are routing your browser's traffic through it and are ready to do some digging, but everytime you hit a site, you get an annoying SSL Security Exception error and when you view the certificate, it is the OWASP ZAP Certificate. OWASP ZAP has a beautiful dynamic SSL Certificate generation feature that takes care of ...


Wordpress comments RSS feed for posts by a single author
Nov. 23, 2014, 6:31 a.m. by Nitin Venkatesh

Wordpress offers a plethora of RSS feeds right out of the box. It's pretty well-documented at the Wordpress.org Codex - Wordpress Feeds page. One thing that was missing from the documentation, and for which I was actually looking for when combing through it in the first place, is the hidden feature of retrieving all comments made on posts by a ...


Multiseat in Ubuntu 14.10
Nov. 16, 2014, 8 a.m. by Nathan Osman

I have really been looking forward to getting this tutorial published. This article will describe something that will be sure to make every Windows and Mac user very jealous. When we are done, we will have converted one computer into two computers. How? Read on. Requirements In order to make this work, there are a couple of requirements: You must ...


Accessing your Virtualbox Guest from your Host OS
Nov. 8, 2014, noon by Nitin Venkatesh

We all use VirtualBox to setup our playgrounds and experiment(wreck) everything without ever having to bear the repercussions. Sometimes, we want to access this guest machine from our host, but we fail. For example, I have an Ubuntu guest (nitin-VirtualBox) running inside my Ubuntu host(trusty) and I want to access the Apache Web Server running on my guest. Running an ...


Newer → ← Older