Friday, July 4, 2014

Fix GPG Error Ubuntu

Sometimes you can find like this on terminal when updating repository
W: There is no public key available for the following key IDs:
3B4FE6ACC0B21F32
If you found it, fix with this
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
And then try "apt-get update" again

Install Dropbear And Change Dropbear Port On Ubuntu

Make sure that your Ubuntu is up to date
sudo apt-get update && sudo apt-get upgrade -y
To install Dropbear, run this on terminal
sudo apt-get install dropbear
 To start and change dropbear port, make sure nano was installed and do this

Sunday, June 29, 2014

Change Boot Splash Ubuntu To Kubuntu

If you are boring on your boot splash and want to change into Kubuntu boot splash, you can do it by
sudo apt-get install plymouth-theme-kubuntu-logo
To change back to Ubuntu boot splash, do this
update-alternatives --config default.plymouth
and then choose by inserting the number of boot splash you want....

Sunday, April 27, 2014

Make Colorful Folder Icon in Nautilus

Folder Color is a Nautilus extension that allows you to easily change the folder icon color to some predefined colors such as blue, pink, black, yellow, violet, orange, green, grey or red. With a small tweak, the extension also works with Nemo file manager.



Saturday, April 26, 2014

Install and Configure Apache Tomcat in Netbeans Ubuntu

  • If Tomcat is not installed yet, install it first
sudo apt-get install tomcat7
  •  And then configure like this
cd /usr/share/tomcat7
sudo mkdir common
cd common
sudo ln -s ../lib lib
cd ..
sudo mkdir conf
cd conf
sudo ln -s /etc/tomcat7/server.xml server.xml
sudo chmod o+rx /usr/share/tomcat7/conf
  • Open service tab on upper left beside project tab
  • Right click servers, add server
  • Choose Apache Tomcat
  • Browse server location in /usr/share/tomcat7
  • Enter username and password you want, for example I add "admin" for the username and password
  • Open terminal and execute
sudo nano /etc/tomcat7/tomcat-users.xml
  •  Add this on the top of </tomcat-users> 
<role rolename="admin-gui"/>
<user username="admin" password="admin" roles="admin-gui"/>
  • Press Ctrl + O and the enter
  • Type this in terminal 
sudo service tomcat7 restart
  •  Access your apache tomcat from browser in http://localhost:8080 
  • The root web directory located in /usr/share/tomcat7-root/default_root

Install Adobe Reader Ubuntu

  • Get installer here
  • Open the deb with gdebi or software center or dpkg

Friday, April 25, 2014

Source For Adding File System into Linux