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.


Enabling/Disabling modules and sites in Apache
Oct. 3, 2015, 8:57 p.m. by Nitin Venkatesh

The usual configuration in the Apache Web Server stems from a single point - httpd.conf, the main configuration file. There might be other configuration files but they are mostly referred to from this central config file with the Include directive. For example, you might find lines like, Include conf.d/ in the core configuration file. It is also not uncommon to ...


Fixing errors while installing Metasploit Framework on Ubuntu
June 24, 2015, 8:11 a.m. by Nitin Venkatesh

I followed the excellent instructions by darkoperator to install the Metasploit Framework on Ubuntu. However, I had a tiny hiccup when it came to doing the bundle install. (The bundle install step is in the section marked Installing Metasploit Framework in the instructions guide). I got the following error: Errno::EACCES: Permission denied @ rb_sysopen - metasploit-framework-4.11.0.pre.dev.gem An error occurred while ...


WARNING: Sourceforge has gone ROGUE!
May 28, 2015, 12:49 p.m. by Roland Taylor

This is not a joke. First it was GIMP For Windows, now as others are reporting, Sourceforge has turned evil and is now distributing adware and malware with open source software. If you use Sourceforge for any downloads, stop. If you've got Sourceforge links, take them down. Again, this is not a joke. It's one thing for a company to ...


Intro to sqlmap
May 23, 2015, 10:49 p.m. by Nitin Venkatesh

Quoting its official page, "sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of database servers." sqlmap is a super complex tool with lots and lots of options and switches that you can bend and use to suit your needs. Today, we'll look at taking some beginner ...


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. ...


Newer → ← Older