LAMP

LAMP tutorials & documentation

mod_rewrite Fedora 13

How to configure mod_rewrite on Fedora 13

  1. Open the Apache configuration file
    gedit /etc/httpd/conf/httpd.conf
  2. Change AllowOveride None to AllowOveride All inside the DocumentRoot Directory Directive, normally <Directory "/var/www/html">
  3. Save and close the file
  4. Restart the Apache service

mod_ssl Fedora 13

How to install mod_ssl on Fedora 13

  1. Run the mod_ssl install command
    yum install mod_ssl

How to configure mod_ssl on Fedora 13

  1. Open the mod_ssl Apache configuration file
    gedit /etc/httpd/conf.d/ssl.conf
  2. Enable name-based virtual hosting on port 443
    1. Add the following text just before the SSL Virtual Host Context comment
      # Use name-base virtual hosting

OpenSSL Fedora 13

How to install OpenSSL on Fedora 13

  1. Install OpenSSL
    yum install openssl

How to configure OpenSSL on Fedora 13

  1. Change your working directory to /etc/pki/CA
    cd /etc/pki/CA
  2. Create a file that holds the database of certificates
    touch index.txt
  3. Create a file that holds the next certificate serial number

phpMyAdmin Fedora 13

How to install phpMyAdmin on Fedora 13

  1. Install phpMyAdmin
    yum install phpmyadmin
  2. Restart the Apache Server
    service httpd restart

How to test phpMyAdmin on Fedora 13

  1. Visit http://localhost/phpmyadmin in your local web browser

MySQL Fedora 13

How to install MySQL on Fedora 13

  1. Install MySQL
    yum install mysql-server php-mysql

How to configure MySQL on Fedora 13

  1. Set the MySQL service to start on boot
    chkconfig --levels 235 mysqld on
  2. Start the MySQL service
    service mysqld start
  3. Log into MySQL
    mysql -u root
  4. Set the root user password for all local domains

PHP Fedora 13

How to install PHP on Fedora 12

  1. Install PHP
    yum install php php-soap php-pear php-devel

How to configure PHP on Fedora 13

  1. Open the PHP configuration file
    gedit /ect/php.ini
  2. Increase PHP script max execution time
    Replace max_execution_time = 30 with max_execution_time = 120
  3. Increase PHP script max upload size

Apache Fedora 13

How to install Apache on Fedora 13

  1. Install Apache Sever
    yum install httpd

How to configure Apache Server on Fedora 13

  1. Set the apache service to start on boot
    chkconfig --levels 235 httpd on
  2. Enable name-based virtual hosting on port 80
    1. Open the httpd configuration file for editing

Configure Fedora 13

How to configure Fedora 13

*Disclaimer:  This configuration of Fedora 13 is for use in a development environment only and is not recommended for production use.

Install Fedora 13

How to install Fedora 13

  1. Download the Fedora 13 Installation ISO of your choice.

Lamp Fedora 13

How to install and configure LAMP on Fedora 13

  1. Linux
Syndicate content