After installing lubuntu

Installing packages

Untuk desktop

$ sudo apt-get install lubuntu-restricted-extras libdvd-pkg gnome-screenshot gksu leafpad default-jre wine winetricks playonlinux samba ufw

Untuk webserver

$ sudo apt-get install apache2 php libapache2-mod-php mysql-server php-mysql phpmyadmin yaz filezilla

$ sudo leafpad /etc/apache2/apache2.conf add: Include /etc/phpmyadmin/apache.conf

$ sudo service apache2 restart

$ sudo chown group:username /var/www/html

$ leafpad /var/www/html/index.php edit:

$servername = "localhost";
$username = "root";
$password = "123456";

// Create connection
$conn = new mysqli($servername, $username, $password);

// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
echo "Connected successfully";


Test in browser: http://localhost/index.php

Untuk programming

$sudo apt-get install codeblock androidstudio monodevelop virtualbox

Enable Firewall

$ sudo ufw enable

$ sudo ufw status verbose

$ sudo ufw allow Samba

$ gksu leafpad /etc/default/ufw  modify: IPT_MODULES=”nf_conntrack_ftp nf_nat_ftp nf_conntrack_irc nf_nat_irc nf_conntrack_netbios_ns”

$ sudo ufw reload


Enable SSH (windows: xming dan putty)

$ sudo apt-get install openssh-server

$ sudo ufw allow 22


Optimize SWAP

$ gksu leafpad /etc/sysctl.conf



Cek OpenGL

$ glxinfo |grep direct

Install samba

Add myusername to the samba

$ sudo smbpasswd -a myusername

Export the drive I needed (no guest user)

$ gksu leafpad /etc/samba/smb.conf

to add the following export (no real option needed here)

path = /home/myusername/sharingfolder
writeable = yes

save and Restart samba

$ sudo service smbd restart

VNC Server