The idea of this blog post is to show how to install and configure a secure FTP access to your server and provide support for your users.
I'm configuring it so all you users can have their /home/{username} directory available as their FTP folder(s) which I think is one of the most secure ways of configuring an FTP service. After following this tutorial you can create a "ftp" user in your system without ssh access (you can google that ;) ) and use it as you generic ftp user. First of all we need to download the FTP server, in this case I'm going to be using VSFTPD, in order to download it,… Read more
I'm configuring it so all you users can have their /home/{username} directory available as their FTP folder(s) which I think is one of the most secure ways of configuring an FTP service. After following this tutorial you can create a "ftp" user in your system without ssh access (you can google that ;) ) and use it as you generic ftp user. First of all we need to download the FTP server, in this case I'm going to be using VSFTPD, in order to download it,… Read more
Zend Server 6 is the latest Application Server for PHP development supported and distributed by Zend, it's an awesome piece of software the lets you deploy and manage your PHP apps in no time.
There are tons of new features on this version compared to what we had previously on ZS 5. Totally recommended!
Below i'm describing how to install it on Ubuntu Server 13.04:
login on your server as root:
1) edit the /etc/apt/sources.list file and add the following entry:
deb http://repos.zend.com/zend-server/6.1/deb_ssl1.0 server non-free
*Note: this repo will… Read more
There are tons of new features on this version compared to what we had previously on ZS 5. Totally recommended!
Below i'm describing how to install it on Ubuntu Server 13.04:
login on your server as root:
1) edit the /etc/apt/sources.list file and add the following entry:
deb http://repos.zend.com/zend-server/6.1/deb_ssl1.0 server non-free
*Note: this repo will… Read more
Installation of Zend Server on Ubuntu 12.04 has a new repo that fixes known issues with Ubuntu 12.04.
The new source:
deb http://repos.zend.com/zend-server/5.6.0_ubuntu1204/deb server non-free
add it to you sources.list file
more info about the issue:
http://forums.zend.com/viewtopic.php?f=78&t=65618
Read more
The new source:
deb http://repos.zend.com/zend-server/5.6.0_ubuntu1204/deb server non-free
add it to you sources.list file
more info about the issue:
http://forums.zend.com/viewtopic.php?f=78&t=65618
Read more
Interesting tutorial on how to use the jQuery UI Dialog library that comes bundled with D7.Take a look at this tutorial
Read more
This is a PHP function I wrote that helps simulating a drupal get form for Views Exposed Filters, it returns the exposed form array so you can theme it or alter it:
function _get_exposed_form($view, $display_id){
$view = views_get_view($view);
$view->set_display($display_id);
$view->init_handlers();
$form_state = array(
'view' => $view,
'display' => $view->display_handler->display,
'exposed_form_plugin' => $view->display_handler->get_plugin('exposed_form'),
'method' => 'get',
'rerender' => TRUE,
'no_redirect' =… Read more
function _get_exposed_form($view, $display_id){
$view = views_get_view($view);
$view->set_display($display_id);
$view->init_handlers();
$form_state = array(
'view' => $view,
'display' => $view->display_handler->display,
'exposed_form_plugin' => $view->display_handler->get_plugin('exposed_form'),
'method' => 'get',
'rerender' => TRUE,
'no_redirect' =… Read more