Raspberry Pi: installing a LAMP server

Let's put the Raspberry Pi to good use:   1. Install Mysql sudo pacman -S mysql 2. Start your server # systemctl start mysqld 3. Secure your mysql installation # /usr/bin/mysql_secure_installation ——————- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL       SERVERS IN PRODUCTION USE!  PLEASE… Continue reading

Brighter LAMP: phpmyadmin installation

Install mcrypy for phpmyadmin dependencies:   # apt-get install php5-mcrypt   Now you need to restart apache for the changes to take effect   # /etc/init.d/apache2 restart   Now, on to the installation: # apt-get install phpmyadmin   Choose Apache2 when you're prompted     Answer yes to Configure database… Continue reading

Setting up a Debian box for development: making a LAMP: php5

Now P for PHP 5:   # apt-get install php5 php-pear php5-suhosin   # nano /etc/php5/apache2/php.ini   max_execution_time = 30 memory_limit = 64M error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR display_errors = Off log_errors = On error_log = /var/log/php.log register_globals = Off   Add mysql support. # apt-get install php5-mysql      

Setting up a Debian box for development: making a LAMP: mysql

Let's make a lamp   First M for Mysql: # apt-get install mysql-server The script will ask you to define the password for the root mysql user: Secure your mysql installation: # mysql_secure_installation   NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL       SERVERS IN PRODUCTION… Continue reading

Setting up a Debian box for development: making a LAMP: apache2

Add a user for the web stuff # adduser httpd Choose a simple (but secure) password. # apt-get install apache2 Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed:   apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3   libaprutil1-ldap Suggested packages:… Continue reading

Setting up a Debian box for development: linux installation

This will be a work in progress series of posts to help people get into the amazing world of developing applications on the web. Will also give me opportunity to fine tune my knowledge.   This will be the L in LAMP, here we go:   1. Download a Debian… Continue reading