≡ Menu

sudo command

Ubuntu Linux: Edit and Open Files That Require Administrator Privileges

There are certain files in Ubuntu Linux (or Unix-like systems) that only root user access or edit. How can I edit and/or open files that requires admin (root) access on a Ubuntu Linux?
[click to continue…]

How To Add, Delete, and Grant Sudo Privileges to Users on a FreeBSD Server

I'm setting up a new FreeBSD server. I do not want to use a default root user who has full system access. How can I setup and grant sudo privileges to users on a FreeBSD VPS or server?
[click to continue…]

OS X Mountain Lion 10.8 Set Apache and PHP Web-Server

I am using Apple OS X Mountain Lion 10.8.4 on my Macbook pro. For my school project I need to write an app in PHP 5 and Apache. However, I am unable to find the Web Sharing option from the Sharing panel in System Preferences. How do I install Apache and PHP5 in OS X version 10.8.4? How do I enable HTTPD and test my web app?
[click to continue…]

Nginx: SPDY SSL Installation and Configuration On a Debian / Ubuntu Linux

Google Chrome/Chromium, Firefox and Opera browser support SPDY networking protocol. It enables faster browsing on supported sites. SPDY is similar to HTTP, with particular goals to reduce web page load latency and improve web security. SPDY achieves reduced latency through compression, multiplexing, and prioritization. How do I enable nginx SPDY support running on Debian or Ubuntu Linux server?
[click to continue…]

RHEL / Fedora /CentOS Linux: Set RPM Build Environment

How do I set an rpm build environment on CentOS / RHEL / Red Hat Enterprise Linux version 6.x? How can I set rpm build environment on latest version of Fedora Linux?
[click to continue…]

Ubuntu Linux: Install Latest Oracle Java 7

I am a network admin who recently made the switch from MS-Windows to Ubuntu Linux. I need to use Java and Firefox web browser plugin to run java applet. I am unable to access many devices such as Firewall appliance, LBS/VPX, and network equipments due to Ubuntu's incompatible openjdk and icedtea plugin. I also searched software center but unable to find Oracle Java 7. How do I install Oracle Java 7 and get rid of this incompatibility problems on Ubuntu Linux amd64 v12.04 LTS or v13.04+?
[click to continue…]

Debian / Ubuntu: Set Port Knocking With Knockd and Iptables

My iptables based firewall allows only port TCP 80 and 443. I also need tcp port # 22, but I do not have static IP at my home. How do I open and close TCP port #22 on demand under Debian or Ubuntu Linux based server systems? How do I install a port-knock server called knockd and configure it with iptables to open tcp port #22 or any other ports?

[click to continue…]

Debian Linux Install Eclipse Java / C / C++ IDE

How do I install Java and C/C++ integrated development environment called Eclipse under Debian GNU/Linux squeeze v6.xx?
[click to continue…]

Debian Linux Squeeze 6.0: Install Python v2.6/2.5 Argparse Module

I would like to use argparse module for Python 2.6 under Debian Linux. However, the code is not working. How do I install and use argparse Python module under Debian Linux 6.x for Python version 2.5 or 2.6?
[click to continue…]

FreeBSD: Install sudo Command To Execute A Command As The Root

I have recently started to managing FreeBSD server along with Ubuntu Linux. However, sudo command, always shows me the following error:

zsh: command not found: sudo

How do I solve this problem and use sudo under FreeBSD 9.x system?
[click to continue…]