Ubuntu on Smartphones!

phone-photo-hero
Ubuntu, the world’s favourite free PC desktop operating system is coming to Smartphones. The commercial sponsor of Ubuntu, the Canonical Ltd announced its new smartphone interface on this January and will show off the Ubuntu OS at the International CES a major technology-related trade show.

With all-native core apps and no Java overhead, Ubuntu runs well on entry-level smartphones – yet it uses the same drivers as Android. So now it’s easy to bring a better experience to customers all over the world.

Ubuntu uses simple natural swiping gestures from the edges of the screen to make it easier than ever to access your content and switch between apps. Every edge of the phone is used, letting you move faster between apps, settings and content.

Web applications sit alongside native apps on Ubuntu.
They get their own icons and the same access to system notifications. So apps like Facebook, Twitter, Google Maps, Gmail and Spotify are all available – and thanks to Ubuntu’s web app APIs, it’s easy for web developers to install their
sites as full applications.

But Ubuntu isn’t limited to HTML5. Native apps are blazingly fast, taking advantage of the full capabilities of the phone’s processor and graphics hardware. And a mobile SDK does most of the work to give you that gorgeous, distinctive Ubuntu look and feel.

How To Install Subversion On cPanel Server With Apache

This guide will help you to install SVN on a cPanel based server and configure it with Apache for ease of access.

In this tutorial, we will focus on creating multiple repositories instead of a single repository.

 

Prerequisites

This setup is for servers with cPanel/WHM only. This can be installed on any cPanel/WHM server.

 

Download cPanelSVNManager and installl it

[bash]

wget http://technicalnotebook.com/wiki/download/attachments/3473493/cPanelSVNManager_0.3.zip
unzip cPanelSVNManager_0.3.zip
cd cPanelSVNManager_0.3
sh install.sh

[/bash]

 

Select 1 from the menu and press Enter. This will install the latest version of the SVN and add necessary modules to Apache ( DAV etc )

Creating Configuration File

 

Assuming the following,

Domain Name: www.vivekv.com
Username: vivek

Open the file

/usr/local/apache/conf/includes/pre_main_global.conf and append the below block to that file

[code]

<Location /svn>
DAV svn
SVNParentPath /home/vivek/svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /home/vivek/svn/password
Require valid-user
</Location>
[/code]

 

Note: This would open /svn for all domains hosted in the account. If you would like to enable /svn path only for a specified domain, save this block of code into /usr/local/apache/conf/userdata/std/2/vivek/vivekv.com/svn.conf

 

Save the file and exit from the editor. Now create svn directory

 

[bash]

mkdir /home/vivek/svn
chgrp -R nobody /home/vivek/svn
chmod -R g+w /home/vivek/svn

[/bash]

This would create the svn parent directory and setup correct folder permission so that apache can read it. By default, apache runs as nobody on cPanel server, therefore, the group should be changed to nobody so that apache has full read and write permission

Now, all our configurations have been completed and we have left with two tasks.

1. Create valid users
2. Create repositories

To create valid users who can log into svn type

[bash]

/usr/local/apache/bin/htpasswd -c /home/vivek/svn/password admin

[/bash]

where “admin” is the username. You will be asked to enter a password. Type a password and continue. If you would like to add more users, simply use the same command but remove -c from the command.

To verify,type

[bash]

cat /home/vivek/svn/password

[/bash]

 

To create a sample repository,

[bash]

cd /home/vivek/svn
svnadmin create sample

[/bash]

 

Now, you would be able to access the repository under http://vivekv.com/svn/sample using the username and password that you just created.

Hope this helps

Download Browseable Copy Of A Website Using Wget

Wget is a great tool in linux to download files from the internet. Wget can also be used to download a browseable copy of a website into your hard disk.

To download a complete website, use the command provided below

[code]wget  –recursive  –no-clobber   –page-requisites  –html-extension  –convert-links  –restrict-file-names=windows –no-parent -e robots=off  http://google.com[/code]

Wget will download all files and convert the links so that it Western union online can be browsed offline. Try it!

Add Empathy To Autostart on RHEL

Q. How do I add an application that I’d like to have run when I log into my user account in RHEL based servers? For example I’d like to have Empathy startup when I log in.

If you are using Gnome, this can be done easily using gnome-session-propertise.

Open console and type

[code]
gnome-session-properties &
[/code]

The program will appear and you would be able to add an application to the startup list. For example, if you want to start the chat program called Empathy, just enter “/usr/bin/empathy -h” as command. For firefox “/usr/bin/firefox”

If you are unsure about the location of the application, try “which firefox” in the console which would give you the location of firefox binary installed.

Mount an ISO image under Linux

You can mount an ISO images via the loop device under Linux. You need to use mount command as follows

mount -o loop /home/file.iso /media/disk

Where:

file.iso is the ISO file located in /home
/media/disk is the mount point. You will see a disc icon on the desktop if you mount under /media.

If you would like to mount the ISO file automatically every time when you boot your computer, add the below line in /etc/fstab

/home/file.iso /media/disk iso9660 loop,defaults 0 0