Webmin Installation on Ubuntu Server

Hi all,

here I describe the installation process of webmin on ubuntu server:

http://www.webmin.com/index.html

Logon to your server with your user. Download the latest version of Webmin:

wget http://sourceforge.net/projects/webadmin/files/webmin/1.610/webmin_1.610_all.deb

Before you can install webmin, you have to meet the requirements:

sudo apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl apt-show-versions libapt-pkg-perl

After you have installed the necessary packages you can install webmin:

sudo dpkg -i webmin_1.610_all.deb

After the installation the webmin interface is available at port 10000:

https://192.168.178.28:10000/

WebMin
WebMin

 

 

 

Using Wifi on Ubuntu Server with auto connect on boot

Hi all,

during the setup of my small server, I had the need to use only Wifi network connection instead of the „standard“ LAN connection.

Using Wifi was possible during installation, but after the first boot after the installation process I was not able to connect to the internet from the server or connect to the server from another workstation. In other words: network connection was not working.

After several tries with installation of GUI (apt-get install xubuntu-desktop) and several Network manager ( network-manager, wicd –> very good tool) I found the solution. It seems that network manager are only working for a user. That means the user has to login to use that tools. But a server should connect directly on boot / startup. To get rid of that problem, I used the /etc/network/interfaces config file. I set the wlan0 connection to type „auto“ and I set the parameters for the WIFI ssid and password:

/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto wlan0
iface wlan0 inet dhcp
wpa-ssid <MyWifiName>
wpa-psk <MyWPA_Password>
# This is an autoconfigured IPv6 interface
iface eth0 inet6 auto

You can try your settings with the ifup wlan0 and ifdown wlan0 commands.
ifup starts the wlan0 interface, ifdown stops it. You need to be root for those commands.

After your settings are correct, you can restart your server. The server should now automatically connect to your Wifi network on startup. You can also check the logs in:

/var/log/upstart

See also: http://askubuntu.com/questions/143988/how-do-i-bring-up-my-wireless-network-at-boot/144043#144043

 

Setup simple Example of a restlet server

Download Restlet Framework from: http://www.restlet.org/ (I took the zip-Archive for Java SE Edition)

It contains different Jar-Files. The most important one is org.restlet.jar. This is required to run the simple Server Example: http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/319-restlet.html

Referenced library for the restlet server example

After you have this reference, you can start the server and open the URL:

http://localhost:8182

There is a FireFox-plugin called RestClient (https://addons.mozilla.org/en-US/firefox/addon/restclient/?src=search) that also allows you to send http-Request and receive HTTP-Responses. The big advantage of the restclient is the possibility to view the HTTP header data (in the request and the response).

RestClient AddOn for FireFox