Archive | March 2016

You are browsing the site archives by date.

Steps to Install Linux, Apache, MySQL, PHP (LAMP) on Ubuntu

This guide provide detailed information about LAMP  known as opensource software’s (Linux Apache MySQL and PHP. 1. Check Host name by executing:   # to check host name of your system and fqdn: $ hostname $ hostname -f 2. first update ubuntu by executing below commands for latest releases and updates: $ sudo apt-get update $ sudo […]

Disable Enable USB (Windows Users)

1)  Registory Changes: To Disable USB: reg add HKLM\SYSTEM\CurrentControlSet\Services\UsbStor /v “Start” /t REG_DWORD /d “4” /f To enable USB: reg add HKLM\SYSTEM\CurrentControlSet\Services\UsbStor /v “Start” /t REG_DWORD /d “3” /f 2) Files Permission (Admin Access) Usbstor.pnf Usbstor.inf Deny: To deny usb for particular user please enter user name using admin right for below command: cacls %windir%\Inf\Usbstor.pnf […]

Protect php.ini file via a Browser

To prevent people to viewing your php.ini file via a  browser:  # vi /etc/php.ini <Files php.ini> Order allow,deny Deny from all </Files>

Step by Step guide Line for File Compression Tools For Linux

If you want to compress files and directories or want to decompress them on Linux machine you can use different methods which you like. Compression always used to reduce the space of directory or file Also while you have to transfer file from one place to another you can use different types of algorithms and […]

Steps to Setup Cron Job

Installations: Ubuntu: $udo apt-get update $sudo apt-get install cron Path: /etc/cr Files: /etc/cron.daily, /etc/cron.hourly, /etc/cron.monthly or /etc/cron.weekly. To edit Cron Job: $ crontab -e     #looks like  Installing crontab Output Like Below: crontab -e no crontab for root – using an empty one Select an editor.  To change later, run ‘select-editor’. 1. /bin/ed 2. […]