FAQ: Debian&Ubuntu

  1. How to install enable apache mod_rewrite on ubuntu?

    sudo a2enmod rewrite
    To get installed Apache modules: apache2ctl -t -D DUMP_MODULES

  2. Install PHP 5.4 on Ubuntu 10.04/11.10/12.04

  3. Install LAMP

    sudo apt-get install lamp-server^
    Ubuntu 12.04 LTS (Apache2, BIND, Dovecot, ISPConfig 3)
    Install LAMP and phpMyAdmin on Ubuntu 11.10 

  4. Where is httpd.conf for setting up apache ?

    /etc/apache2/apache2.conf
    On Ubuntu the main Apache configuration file is actually apache2.conf. Apache2.conf contains the default configuration for Apache on Ubuntu. Apache2.conf includes httpd.conf for “user configurations”.
    httpd.conf is usually the main configuration file for the Apache web server. This is the case on Red Hat Enterprise Linux (RHEL), CentOS and Mac OS X

    Where is Httpd.conf’s Location on Ubuntu?
    HTTPD – Apache2 Web Server

  5. Zip a Folder in Linux

    To zip a folder:         zip -9 -r <zip file> <folder name>
    To zip a single file:   zip -9 <zip file> <filename>
    Use “-9” for best compression.

This entry was posted in Debian&Ubuntu. Bookmark the permalink.