Download Videos From YouTube using Ubuntu

A very nice command-line tool that allows you to download videos from Youtube:

“sudo apt-get install youtube-dl”

After the installation process, run:

youtube-dl video_url

Tagged , , | Leave a comment

Stop YouTube from autoplaying a video when opened

A very nice plugin for Google Chrome (or Chromium) that allows you to open as much videos as you want without them playing automatically where you must open each video and pause it yourself.

The surprise is: It’s pre-buffering 🙂

Stop Autoplay for YouTube

Tagged , , , | 1 Comment

Setup an SSH/SFTP Server on Ubuntu

sudo apt-get install openssh-server

That’s it, you can now connect to your machine via SSH/SFTP from any other machine on the same network, it’s easy, fast and secure.

Tagged , , , | Leave a comment

Setup an FTP server on Ubuntu

Installing an FTP server on your machine facilitates sharing and transferring files easily and quickly.

ProFTPD is an FTP server that is easy to install, use, and configure.

To install ProFTPD on ubuntu:
sudo apt-get install proftpd

To start proftpd;
sudo /etc/init.d/proftpd start

To configure proftpd, edit the file:
/etc/proftpd/proftpd.conf

Posted in Uncategorized | Tagged | Leave a comment

Adding a software repository from Ubuntu PPA in Ubuntu Karmic and later

This new method is easier than the old one which required you to edit your software sources manually, and then get the key and import it. The new one is as follows:

  1. Go to the PPA page of your interest, e.g. URL, check the name of the new repository, it is “ppa:transmissionbt/ppa” in my example.
  2. Open a terminal and type “sudo add-apt-repository ppa:transmissionbt/ppa
  3. Done! This both adds the entry to your software sources list as well as importing the key which authenticates that repository.
  4. Don’t forget to refresh your repository to be able to update/install new packages “sudo apt-get update

PPA = Personal Package Archives, i.e. the user-contributed software repositories.

Tagged , , , , | Leave a comment