ubuntu

Update: I have update this tutorial with a latest release of Apache Solr for Drupal 7 and 8. Read here.

On this quick tutorial, I’ll show you the steps to have a quick default Apache Solr installation using Jetty on an Ubuntu Server 14.04 LTS, which is the latest Ubuntu release. These are the steps you need to set up an Apache Solr multicore on Ubuntu

Get default Java and Jetty, on a terminal window type: 

#apt-get install default-jdk jetty libjetty-extra libjetty-extra-java

dowload Apache Solr from archives: https://archive.apache.org/dist/lucene/solr/3.6.2/

#wget https://archive.apache.org/dist/…

Read more...
Sunday, October 12, 2014

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, we need to add the ppa to our system by issuing the following commands:

# sudo add-apt-repository ppa:thefrontiergroup/vsftpd sudo apt-get update

and then install the package:

# sudo apt-get install vsftpd

Read more...
Thursday, September 19, 2013

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 also work with Ubuntu 12.04/12.10

update your repositories
# apt-get update

add the public key with this command:
# wget http://repos.zend.com/zend.key -O- |apt-key add -

and finally, install the packages :
# apt-get install install zend-server-ce…

Read more...
Thursday, August 15, 2013

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

Thursday, January 17, 2013

VLC version that comes with a fresh Lucid install won't play *.mkv files extensions (blu-ray)

add this ppa to your system in order to keep your VLC updated:

#sudo add-apt-repository ppa:n-muench/vlc2

ppa page: https://launchpad.net/~n-muench/+archive/vlc2

Thursday, March 15, 2012

Sometimes you may find the need to shutdown a site for any reason an a specific server, basically the server that is listening to the web, so of course you will always want to keep that site(s) up and running while you perform whatever is needed on it, let's call it, 'external server', on a different environment, 'internal server'.
To do so you need to use an apache module called mod_proxy which enables a web server act as a router of traffic to another server, a tunnel.

- Enable mod_proxy and mod_proxy_http mod_proxy_html on external server
- create a virtual host on internal server pointing to internal server, ex:

<VirtualHost *:80>
    ServerName proxy.example.net
    ProxyRequests Off
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>

    ProxyPass / http://proxy.…

Read more...
Wednesday, September 28, 2011

Sometimes when updating or upgrading different packages on your Ubuntu specially kernel updates, Zend Server tends to break up and the whole packages system too, you usually get errors like "bad inconsistency" of package php-zend-server-ce-php-5.x and you are asked by the system to reinstall this package but that's also impossible due to the changes the update has performed.
In order to fix this issue try following the next steps:

    sudo /usr/local/zend/bin/zendctl.sh stop   => stop zend server service
    sudo rm -rfv /usr/local/zend/tmp/*            => remove zend server's cache and/or temp files
    sudo /usr/local/zend/bin/zendctl.sh start  => start the service again

and reinstall the zend-server-ce-php-5.x package using synaptic, or dpkg.
Hope this helps!

Thursday, May 5, 2011