Skip to main content
Run a script when the system starts up or reboots on Ubuntu.

1) Create script, on this example I'm starting the gluu-server service as the root user


$sudo nano /etc/init.d/MyScriptName

Copy/paste the following script, update accordingly:


#! /bin/sh
# /etc/init.d/MyScriptName
#

case "$1" in
start)
echo "Attempting to Start Gluu Server..."
sudo -H -b service gluu-server start
;;
stop)
echo "Attempting to Stop Gluu Server..."
sudo -H service gluu-server stop
;;
*)
echo "Usage: /etc/init.d/MyScriptName {start|stop}"
exit 1…
Read more
Monday, July 13, 2015
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
Thursday, September 19, 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

Read more
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

Read more
Thursday, March 15, 2012
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/*     …
Read more