Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

11 Mar 2014

Ubuntu - Deluge

Just found that there is a way to run Deluge on the web.
Follow the instruction in "Web UI Setup" section to install packages.
http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient#WebUISetup
You can also set up initScript for deluge-daemon, and deluge-web.
http://dev.deluge-torrent.org/wiki/UserGuide/InitScript/Ubuntu%2011.04%2B%20(Upstart%20Job)

Ubuntu - Add user to sudo group

It's simple. Run the script below with username if you already created one. 

 usermod -a -G sudo

6 Mar 2014

Current set up for my server and domain

Now, it looks like server and domain are well configured, and ready to be developed. VPS server is running Ubuntu 12.04 LTS 32bit version hosted by WeLoveServers. If you're looking for a budget VPS hosting, visit http://WeLoveServers.net and take a look. They usually have great deals which fits your budget. My server spec. is as below. 4 shared CPU 2 GB memory 60 GB hard drive 2 TB bandwidth with 1GB/s port speed I've got this domain from http://hostek.com You can create nameserver from Hostek, but I am using individual nameserver service. For nameserver, I am using DNSEver.com. They provide 3 nameservers for free. So, when you register and create a domain configuration, you can have 3 nameservers for the domain. You can also create subdomains easily by adding subdomain and assigning the IP address of the hosting server. In my case, because I've got domain from Hostek, using DNSEver for nameserver, and using VPS server for web-hosting, I need to create subdomain in zPanel, and then create a subdomain which points my VPS server in DNSEver. It usually takes some time (a few hours) until the subdomain is available.

24 Dec 2013

Empty Trash in Ubuntu

To empty trash in Ubuntu using command line, use the line below.

rm -rf ~/.local/share/Trash/files/*

8 Sept 2013

How to protect running process from OOM killer

While running Minecraft server on Ubuntu server, the java process was killed when there is no available memory.

To prevent this, need to make an exception to OOM killer.
To do this, PID is required.

Run "ps -A" to know the PID.

Then use the command below to make an exception.
"echo -17 > /proc/$PID/oom_adj"