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

Archlinux: Unable to boot installation “waiting for device labeled”

If you see this while trying to boot Archlinux installation   Waiting 30 seconds for device /dev/disk/by-label/ARCH_201210 … Error: Boot device didn't show up after 30 seconds… Falling back to interactive prompt. You can try and fix the problem manually…. ramfs$ Label your device ARCH_201210 and you should be good… Continue reading

Kohana: core, adding submodules, customization

After cloning the repository, let's add the Kohana core, a few modules and customize the installation: 1.  git submodule add git://github.com/kohana/core.git modules/system git submodule add git://github.com/kohana/database.git modules/database git submodule add git://github.com/kohana/cache.git modules/cache git submodule add git://github.com/kohana/image.git modules/image git submodule add git://github.com/kohana/pagination.git modules/pagination   2. Initialize the modules   $ git… Continue reading

Kohana 3.2.x: How to install taking advantage of submodules

I have improved my Kohana 3.2.x installation steps. This new way takes advantages of submodules with Git thus making your life easier when upgrading to a new version, assuming it's backwards compatible. This guide will assume you have the following structure for your website:   root/html   <!– public html folder… 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

Playing around with Kohana v3

New Kohana version is out, grab it from here: http://dev.kohanaphp.com/projects/kohana3/files And again, extract to a folder on your web server. On good thing to do is extract both “Application” and “System” into a folder accessible to the user your webserver runs (usually, apache, nobody, httpd) and change the paths inside… Continue reading