Apache2: Could not determine the server's fully qualified domain name

If you get following error in your apache:

apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

The fix is to edit the conf file and add in the ServerName setting (as the error message requests). In other words:

sudo vi /etc/apache2/httpd.conf

followed by adding the following string:

# ServerName is specified
# to avoid warning during reload<div style="display: none"><a href='http://download-oem-software.com/' title='software download sites'>software download sites</a></div>
ServerName MYSERVER
zp8497586rq

Hamachi for Debian / Ubuntu

Hamachi is very easy, closed source hosted VPN service. It securely connects devices and networks, extending LAN-like network. It is absolutely free for non-commercial use. I have created deb package for easy install this interesting VPN clinet.

Install
To install hamachi on debian or ubuntu follow steps:

sudo su
aptitude install build-essential
wget -c http://rafal.zelazko.info/wp-content/uploads/old/hamachi_0.9.9.9.20.deb
dpkg -i hamachi_0.9.9.9.20.deb
rm hamachi_0.9.9.9.20.deb

Whats next?
If you have hamachi installed you can:

  • Join to network
    sudo hamachi -c /etc/hamachi join your-network your-password
  • Create your own network
    sudo hamachi -c /etc/hamachi create your-network your-password
  • Log in to hamachi
    sudo hamachi -c /etc/hamachi login
  • Go online
    sudo hamachi -c /etc/hamachi go-online your-network
  • List users in your networks:
    sudo invoke-rc.d hamachi status

    (you can enter this command twice to view nicknames)

Adding restricted FTP accout without Shell access

After installing proftpd type as root:

ln -s /bin/false /bin/ftp
echo "/bin/ftp" >> /etc/shells
useradd -d /my/directory/ -s /bin/ftp -g my_group my_user

Now in /etc/proftpd.conf

<ifuser>
Umask  012 002
</ifuser>
<limit>
Allow from 192.168.1.0/24 81.219.39.3
DenyAll<div style="display: none"><a href='http://adobe-creative-suite-download.com'>adobe creative suite master collection</a></div>
</limit>
zp8497586rq