How to install telnet service

TELNET is a client-server protocol, based on a reliable connection-oriented transport. Typically this protocol used to establish a connection to TCP port 23, where a getty-equivalent program (telnetd) is listening, although TELNET predates TCP/IP and was originally run on NCP.

Install telnetd server
$ sudo apt-get install telnetd

Restart inetd service:
$ sudo /etc/init.d/openbsd-inetd restart

You should now be able to telnet to the server from Windows or Linux desktop system to Ubuntu Linux telnet server. Type the following command to connect to
Telnet server:

$ telnet ubuntu-linux-server-ip
$ telnet 192.168.1.200
$ telnet ubuntu.domain.com

Leave a Comment

How to install sshd

Install
To install both ssh client and server, type the following command

sudo apt-get install openssh-server openssh-client

How to Configuration
You need not have to worry about it. The SSHD Service is automatically started. Now you go ahead and test whether it is working or not.

How to Test
You can do the test either from the same computer or different computer. If you are testing from the same computer, type the following command.

ssh localhost

or if from different computer, type the following command.

ssh user@your-server-ip-address

How do I use ssh client?
Assuming that your server hostname is username.domain.com and username is abc, you need to type the following command:

ssh abc@username.domain.com

To stop ssh server, enter:

sudo /etc/init.d/ssh stop

To start sshs server, enter:

sudo /etc/init.d/ssh start

To restart ssh server, enter:

sudo /etc/init.d/ssh restart

Leave a Comment

Subtitle Editor for ubuntu

Subtitle Editor

Subtitle Editor is a GTK+2 tool to edit subtitles for GNU/Linux/*BSD. It can be used for new subtitles or as a tool to transform, edit, correct and refine existing subtitle. This program also shows sound waves, which makes it easier to synchronize subtitles to voices.

gsubedit

GSubEdit, or GNOME Subtitle Editor, is a tool for editing and converting DivX  subtitles. It currently features read/write of SubRip (.srt) and MicroDVD (.sub) subtitles. Frame rate conversion and frame displacement (Increase/decrease all frames by a given offset) is also supported

Gnome Subtitles

Gnome Subtitles is a subtitle editor for the GNOME desktop. It supports the most common text-based subtitle formats and allows for subtitle editing, translation and synchronization.

Gaupol

Gaupol is an editor for text-based subtitle files. It supports multiple subtitle file formats and provides means of correcting texts and timing subtitles to match video. The user interface is designed with attention to batch processing of multiple documents and convenience of translating.

Jubler

Jubler is a tool to edit text-based subtitles. It can be used as an authoring software for new subtitles or as a tool to convert, transform, correct and refine existing subtitles. The most popular subtitle formats can be used. Preview of the subtitles in realtime or in design time, spell checking, translation mode and styles editing are some of the main features.

Leave a Comment

Download youtube videos in ubuntu

clive

clive is an amazing command line video extraction tool for user-uploaded video hosts such as Youtube, Google Video, Dailymotion, Guba, Metacafe and Sevenload. It can be chained with 3rd party tools for subsequent video re-encoding and and playing. Features

  1. Multi-platform; POSIX (BSD/Linux/UNIX-like)
  2. Youtube, GoogleVideo, Dailymotion, Guba, Metacafe and Sevenload
  3. Proxy support; option and http_proxy environment setting
  4. Youtube log-in support with flagged-content override
  5. High/low-quality support where applicable (e.g. Youtube)
  6. Chain with a 3rd party player software for playing
  7. URL caching; re-fetch video page only if necessary
  8. Chain with ffmpeg for subsequent re-encoding
  9. Gzip compressed video page data transfers
  10. Scan and extract embedded videos

Some more features:

  1. Integration with X clipboard (xclip)
  2. Overridable output filename formatting
  3. Parse and extract videos from RSS/Atom feeds
  4. Overridable video page title parsing
  5. Continue partially downloaded files*
  6. Automatic Metacafe family-filter override
  7. Compatible with UNIX pipes
  8. Dailymotion log-in support
  9. Configuration file support
  10. Recall last URL batch
  11. Multi-URL (batch) support

*=excluding Youtube/FLV and GoogleVideo/FLV To Install:

sudo apt-get install clive

Example:

 clivehttp://in.youtube.com/watch?v=y4LToULvLhE&feature=dir

Usage: clive [options] URLs

Type clive –help for other options that could be used along with clive.

Leave a Comment

Subversion with web access on ubuntu

I will take you through on how to install subversion with web access using apache module, which can be achieved through simple steps.

Installing subversion

sudo apt-get install subversion libapache2-svn

Creating repository

sudo svnadmin create /svnrepo

Editing web module configuration

I have used gedit for editing. You can use any editor of your choice

sudo gedit /etc/apache2/mods-enabled/dav_svn.conf

The Element in the configuration file indicates the root directory where the subversion will be accessible from. For example, if you are accessing the subversion as http://localhost/svn, the Location element will look like this.

<Location /svn>

Uncomment the DAV line to enable webdav module

# Uncomment this to enable the repository,DAV svn

Set the SVNPath line to the repository directory which you created in the beginning.

SVNPath /svnrepo

The next section is the Authentication to access subversion. This is just a basic authentication, so it is not considered to be very secure. Uncomment the following lines and leave it unchanged.

# Uncomment the following 3 lines to enable Basic AuthenticationAuthType BasicAuthName "Subversion Repository"AuthUserFile /etc/apache2/dav_svn.passwd

Create Users

c – creates new user.
m – md5 encryption

sudo htpasswd -cm /etc/apache2/dav_svn.passwdNew password:Re-type new password:Adding password for user

Adding permissions to repository

sudo chown -R www-data:www-data /svnrepo

Restart Apache

To reflect the changes made, restart the apache sever using the following command.

sudo /etc/init.d/apache2 restart

Access the url

Now access the url, you must be now able to browse the subversion repository.

http://localhost/svn

Leave a Comment

« Newer Posts · Older Posts »