(vps): Noexec and /tmp troubleshooting

Chrooted /tmp directory There is also a new method that ensures that no processes currently accessing /tmp are interrupted in any way. This also ensures that your /tmp that allows execution is never accessible to currently running processes. This limits your exposure to possible exploits. First, create a chrooted environment… Continue reading

Kohana 3.2 tutorial : 2 – Setting up and basic Redirect controller

1. Edit bootstrap.php under “application”: —————————— date_default_timezone_set(‘America/Los_Angeles’); Kohana::init(array( ‘base_url’ => ‘/’, ‘index_file’ => ”, )); ——————– 2. Change the default route to a redirect controller (so we can deal with redirections for misplaced content/old content): Route::set(‘default’, ‘(<request>)’, array( ‘request’ => ‘(.*)’, )) ->defaults(array( ‘controller’ => ‘redirect’, ‘action’ => ‘index’, ));… Continue reading

Kohana 3.2 tutorial : 1 – Installation

1. Go to kohana’s website   http://kohanaframework.org/   2. Download latest stable   $ wget http://dev.kohanaframework.org/attachments/download/1670/kohana-3.2.0.zip –11:08:44– http://dev.kohanaframework.org/attachments/download/1670/kohana-3.2.0.zip => `kohana-3.2.0.zip’ Resolving dev.kohanaframework.org… 173.245.60.22, 173.245.61.87 Connecting to dev.kohanaframework.org[173.245.60.22]:80… connected. HTTP request sent, awaiting response… 200 OK Length: 1,043,281 [application/zip] 100%[==============================================================================================================================================================>] 1,043,281 1.53M/s 11:08:45 (1.53 MB/s) – `kohana-3.2.0.zip’ saved [1043281/1043281] 3. Uncompress… Continue reading