Tutorials


Apache HTTP Server as a Basic Forward/Reverse Proxy
Sept. 14, 2016, 9:35 a.m. by Nitin Venkatesh

Forward vs Reverse Proxies - Intro Source: Quora.com Forward Proxy A forward proxy brokerages the request of the client and forwards the request to the destination of the client's choice contingent on the configuration of the forward proxy. Most common uses are to Bypass firewall restrictions. Cache static resources and save bandwidth. Control what resources clients can access. Reverse Proxy ...


Installing LAMP + ModSecurity + ModSecurity CRS on Ubuntu 16.04
June 26, 2016, 9:56 p.m. by Nitin Venkatesh

LAMP stack refers to Linux, Apache, MySQL and PHP . With this bundle you can create web applications / services with Linux serving as the OS, Apache as the Web-Server, MySQL as the database server and PHP as the server-side programming language. So what is ModSecurity? ModSecurity is an open-source Web Application Firewall (WAF). It sits before your Web Server ...


Move the Unity Launcher to the bottom...
April 21, 2016, 8:48 p.m. by Joshua Bell

One of the bigger features in 16.04 (in my opinion) but less obvious is the ability to move the Unity Launcher to the bottom of the screen. This makes the Unity Launcher feel a little more traditional and in my opinion a lot easier to cope with. (Honestly I have never been a huge fan of unity.) This can easily ...


Ubuntu 16.04 LTS has hit the market..
April 21, 2016, 5:03 p.m. by Joshua Bell

So Ubuntu 16.04 LTS (Long Term Support) has hit the market today, so I thought this would be a time to remind everyone their upgrade options. LTS is the version you should be on if you are running a production machine (ie: work device) and you count on it for day to day use and depend on reliability and don't ...


Using terminal to get weather updates...
April 14, 2016, 1:41 p.m. by Joshua Bell

Over at http://www.webupd8.org/ they have shown us how to get a 3-day weather forecast, moon phases and some other features. Using the terminal and curl. Essentially it boils down to making sure you have curl installed. sudo apt-get install curl And running a simple command line: sudo curl wttr.in If it complains about not being able to find your location ...


Bash on Windows 10
April 7, 2016, 7:39 p.m. by Joshua Bell

We usually cover Linux around here...but this is Ubuntu related news so now that Hell has officially frozen over with the release of Windows 10 Pro Insider Preview Build 14316.rs1_release.160402-2217 (I didn't make that up) Ubuntu is officially on Windows (kind of). Why? I am not exactly sure but I thought I would go ahead and give it a whirl... ...


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


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


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


← Older