[125004340010] |Ubuntu 8.04 (Hardy Heron) LAMP Server Setup [125004340020] |In around 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP (Linux, Apache, MySQL and PHP) server up and ready to go. [125004340030] |This feature, exclusive to Ubuntu Server Edition, is available at the time of installation. [125004340040] |The LAMP option means you don’t have to install and integrate each of the four separate LAMP components, a process which can take hours and requires someone who is skilled in the installation and configuration of the individual applications. [125004340050] |Instead, you get increased security, reduced time-to-install, and reduced risk of misconfiguration, all of which results in a lower cost of ownership.New pre-configured installation options have been added to the Ubuntu Server. [125004340060] |Mail Server, File Server, Print Server, and Database Server options join existing LAMP and DNS options for pre-configured installations, easing the deployment of common server configurations. [125004340070] |Ubuntu LAMP server Install the following Versions [125004340080] |Ubuntu Hardy Heron 8.04 Apache 2.2.8 Mysql 5.0.51a PHP 5.2.4 [125004340090] |First you need to download server version of Ubuntu version from here after that you create a CD and start booting with the CD Once it starts booting you should see the following screen in this you need to select your language and press enter [125004340100] |Now you need to select “Install Ubuntu Server” and press enter [125004340110] |Ubuntu Server CD is loading in Progress [125004340120] |Choose you language and press enter you can see we have selected english in the follwoing screen [125004340130] |Choose your location and press enter you can see we have have selected United Kingdom in the following screen [125004340140] |If you want to try to have your keyboard layout detected by pressing a series of keys you need to select yes option and if you don’t want that and you want to choose from a list click no in this example we have selected no and press enter [125004340150] |Select Origin of keyboard and press enter [125004340160] |Select keyboard layout and press enter [125004340170] |Detecting hardware to find CD-ROM Drivers in progress [125004340180] |Scanning CD-ROM in Progress [125004340190] |Loading additional components progress bar [125004340200] |Detecting Network hardware is in progress [125004340210] |Configures the network with DHCP if there is a DHCP server in the network [125004340220] |Enter the Hostname of the system so in this example i enter here as ubuntulamp [125004340230] |Startingup the partitioner in progress [125004340240] |you have to partition your hard disk in this example i have selected use entire disk option if you want to edit manually you can choose manual and press enter [125004340250] |Warning message about data lost on your hard disk [125004340260] |Creating partitions in your hard disk is in progress [125004340270] |Write the changes to disk option here you need to select yes and press enter [125004340280] |Creating ext3 filesystem in progress [125004340290] |Installing base system is in progress [125004340300] |You need enter the Full name of the user you want to create for your server in this example i have created administrator user select continue and press enter [125004340310] |username for your account in this i have entered test select continue and press enter [125004340320] |Entered the password for test user select continue and press enter [125004340330] |Confirm the password for test user select continue and press enter [125004340340] |Configuring the package manager select continue and press enter [125004340350] |Configuring package mirror this will be related to your country option [125004340360] |Now it will start Installing software and here you need to select the server options here i have selected as LAMP and OpenSSH server for our LAMP server installation [125004340370] |At the time of software installation it will prompt for mysql server root password enter root password of your choice and select continue [125004340380] |Confirm mysql server root password and select continue [125004340390] |Software installation is in progress [125004340400] |Installing GRUB Boot loader in progress [125004340410] |Finishing installation in Progress [125004340420] |Installation complete message here you need to remove your CD select continue and press enter it will reboot your server [125004340430] |After rebooting you can see the following screen prompt for username [125004340440] |This will complete the Ubuntu LAMP Server Installation and your server is ready for installing applications which supports apache,mysql and php. [125004340450] |Configuring Static ip address in Ubuntu server [125004340460] |Ubuntu installer has configured our system to get its network settings via DHCP, Now we will change that to a static IP address for this you need to edit Edit /etc/network/interfaces and enter your ip address details (in this example setup I will use the IP address 172.19.0.10): [125004340470] |sudo vi /etc/network/interfaces [125004340480] |and enter the following save the file and exit [125004340490] |# The primary network interface [125004340500] |auto eth0 iface eth0 inet static address 172.19.0.10 netmask 255.255.255.0 network 172.19.0.0 broadcast 172.19.0.255 gateway 172.19.0.1 [125004340510] |Now you need to restart your network services using the following command [125004340520] |sudo /etc/init.d/networking restart [125004340530] |You need to setup manually DNS servers in resolv.conf file when you are not using DHCP. [125004340540] |sudo vi /etc/resolv.conf [125004340550] |You need to add look something like this [125004340560] |search domain.com [125004340570] |nameserver xxx.xxx.xxx.xxx [125004340580] |GUI Installation for Ubuntu LAMP Server [125004340590] |Option1 [125004340600] |If you are a new user and not familiar with command prompt you can install GUI for your ubuntu LAMP server for this you need to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI [125004340610] |sudo apt-get update [125004340620] |sudo apt-get install ubuntu-desktop [125004340630] |The above command will install GNOME desktop if you want to install KDE desktop use the following command [125004340640] |sudo apt-get install kubuntu-desktop [125004340650] |Option2 [125004340660] |Installing Webmin in Ubuntu Hardy Heron [125004340670] |Webmin is a web-based interface for system administration for Unix. [125004340680] |Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. [125004340690] |Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. [125004340700] |You can install webmin for your server web interface to configure apache,mysql servers.Now we will see how to install webmin in Ubuntu 8.04 [125004340710] |Preparing your system [125004340720] |First you need to install the following packages [125004340730] |sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl [125004340740] |Now download the latest webmin using the following command [125004340750] |wget http://prdownloads.sourceforge.net/webadmin/webmin_1.420_all.deb [125004340760] |Now we have webmin_1.420_all.deb package install this package using the following command [125004340770] |sudo dpkg -i webmin_1.420_all.deb [125004340780] |This will complete the installation. [125004340790] |Ubuntu in particular don’t allow logins by the root user by default. [125004340800] |However, the user created at system installation time can use sudo to switch to root. [125004340810] |Webmin will allow any user who has this sudo capability to login with full root privileges. [125004340820] |Now you need to open your web browser and enter the following [125004340830] |https://your-server-ip:10000/ [125004340840] |Now you should see similar to the following Screen [125004340850] |After login if you want to configure Apache,Mysql server you need to click on Servers on your lefthand side you should many servers are ready to configure [125004340860] |This is very Easy to configure most of the servers and Enjoy your new Ubuntu Hardy Heron LAMP Server. [125004350010] |Howto install gnome-do in Ubuntu Hardy and Gutsy [125004350020] |GNOME Do (Do) is an intelligent launcher tool that makes performing common tasks on your computer simple and efficient. [125004350030] |Do not only allows you to search for items in your desktop environment (e.g. applications, contacts, bookmarks, files, music), it also allows you to specify actions to perform on search results (e.g. run, open, email, chat, play). [125004350040] |Want to send an email to mom? [125004350050] |Simply type “email mom.” [125004350060] |Want to listen to some music? [125004350070] |Simply type “play beatles.” [125004350080] |Do provides instantaneous, action-oriented desktop search results that adapt to reflect your habits and preferences. [125004350090] |For example, if you use Firefox web browser often, typing “f” in Do will launch it. [125004350100] |Or, if you visit The New York Times webpage often, Do will open it if you simply type “nyt.” [125004350110] |Unlike other search tools that present search results as flat, homogeneous lists, Do provides familiar graphical depictions of search results that assure you that your intent is being realized correctly; searching for “mom” will show a picture of mom, and searching for “beatles” will show a Beatles album cover. [125004350120] |Do has many more powerful and exciting capabilities that must be seen to be appreciated. [125004350130] |First you need to edit the /etc/apt/sources.list file [125004350140] |sudo gedit /etc/apt/sources.list [125004350150] |add the following lines [125004350160] |For Hardy Users [125004350170] |deb http://ppa.launchpad.net/do-core/ubuntu hardy main deb-src http://ppa.launchpad.net/do-core/ubuntu hardy main [125004350180] |For Gutsy Users [125004350190] |deb http://ppa.launchpad.net/do-core/ubuntu gutsy main deb-src http://ppa.launchpad.net/do-core/ubuntu gutsy main [125004350200] |Save and exit the file. [125004350210] |Update the source list file using the following command [125004350220] |sudo aptitude update [125004350230] |Install gnome-do using the following command from terminal [125004350240] |sudo aptitude install gnome-do [125004350250] |Using gnome-do [125004350260] |If you want to open gnome-do go to Applications--->Accessories--->GNOME Do [125004350270] |Once it opens you should see similar to the following screen [125004350280] |If you want to change some settings for this click on top right corner select preferences [125004350290] |Gnome-Do General settings [125004350300] |Gnome-Do keyboard settings [125004350310] |Gnome-Do plugins here you can enable,disable and configure plugins [125004350320] |Some sample Gnome-Do screenshots [125004360010] |LightScribe - Simple Labeler Install in Ubuntu [125004360020] |LightScribe is an innovative technology that uses a special disc drive, special media, and label-making software to burn labels directly onto CDs and DVDs. [125004360030] |Because the labels are laser-etched—not printed—there’s no ink, no smudging, and no peeling. [125004360040] |Your labels can be whatever you want them to be. [125004360050] |Create one-of-a-kind designs with your own photos, text, and artwork using your label-making software. [125004360060] |Or choose from the many free backgrounds the software provides. [125004360070] |---- [125004360080] |You will need a LightScribe drive and a blank LightScribe CD or DVD. [125004360090] |Go to the Downloads section from here and get the two deb packages, then double click to install. [125004360100] |LightScribe System Software [125004360110] |LightScribe Simple Labeler [125004360120] |After both are installed make a launcher for it. [125004360130] |Note: You can also double click on the SimpleLabeler file to start it. [125004360140] |File Location: Filesystem/opt/lightscribeApplications/SimpleLabeler [125004360150] |Go to Main Menu - System >Preferences [125004360160] |Under Applications click Accessories to the left, then to the right hit New Item. [125004360170] |Now click on the image icon (upper left), then Copy-and-Past below location in. [125004360180] |Note: Navigating to a icon image and selecting it does not work for some reason. [125004360190] |/opt/lightscribeApplications/SimpleLabeler/content/images/LabelWizardIcon.png [125004360200] |Type: Application Name: LightScribe (Simple) Command: /opt/lightscribeApplications/SimpleLabeler/SimpleLabeler Comment: Simple CD/DVD Labeler [125004360210] |Start LightScribe (Simple) - Applications >Accessories [125004380010] |How to prevent a package from being updated in Ubuntu [125004380020] |If you want to update all the packages other than one package in your Ubuntu system follow this procedure [125004380030] |There are three ways of holding back packages, with dpkg, aptitude or with dselect. [125004380040] |Using dpkg [125004380050] |Put a package on hold [125004380060] |sudo echo “package hold” | dpkg --set-selections [125004380070] |Example [125004380080] |sudo echo “apache2 hold” | dpkg --set-selections [125004380090] |Remove the hold [125004380100] |sudo echo “package install” | dpkg --set-selections [125004380110] |Example [125004380120] |sudo echo “apache2 install” | dpkg --set-selections [125004380130] |Knowing the status of your packages [125004380140] |sudo dpkg --set-selections [125004380150] |Using aptitude [125004380160] |With aptitude, you can hold a package using [125004380170] |sudo aptitude hold package_name [125004380180] |Example [125004380190] |sudo aptitude hold apache2 [125004380200] |and remove the hold with [125004380210] |sudo aptitude unhold package_name [125004380220] |Example [125004380230] |sudo aptitude unhold apache2 [125004380240] |Using dselect [125004380250] |With dselect, you just have to enter the [S]elect screen, find the package you wish to hold in its present state, and press the `=’ key (or `H’). [125004380260] |The changes will go live immediately after you exit the [S]elect screen. [125004390010] |Gestikk - mouse gesture recognition in Ubuntu [125004390020] |gestikk provides mouse gestures for you, supporting many linux window managers. [125004390030] |With gestikk, you can easily control your PC by drawing gestures with the mouse: mouse gestures. [125004390040] |Gestikk allows to define an infinite number of gestures, which start applications or simulate key presses. [125004390050] |Versions >= 0.5 uses PyGTK for GUI and python-virtkey for keypresses. [125004390060] |Gestikk Features [125004390070] |
  • On-Screen and on-the-fly gesture painting
  • [125004390080] |
  • powerful condition parsing => define one gesture, but multiple actions
  • [125004390090] |
  • gesture notifications (ballontip / on-screen-display)
  • [125004390100] |
  • a better gesture recognition algorithm
  • [125004390110] |Install gestikk in Ubuntu Hardy [125004390120] |First you need to download gestikk .deb package from here [125004390130] |wget http://gestikk.reichbier.de/downloads/gestikk_0.6-0ubuntu1_all.deb [125004390140] |Now you have gestikk_0.6-0ubuntu1_all.deb package install .deb package using the following command [125004390150] |sudo dpkg -i gestikk_0.6-0ubuntu1_all.deb [125004390160] |If you get the following error at the time of installation [125004390170] |Selecting previously deselected package gestikk. [125004390180] |(Reading database …119493 files and directories currently installed.) [125004390190] |Unpacking gestikk (from gestikk_0.6-0ubuntu1_all.deb) …dpkg: dependency problems prevent configuration of gestikk: gestikk depends on python-kiwi; however: Package python-kiwi is not installed. gestikk depends on python-pyparsing (>= 1.4.7); however: Package python-pyparsing is not installed. dpkg: error processing gestikk (--install): dependency problems - leaving unconfigured Errors were encountered while processing: gestikk [125004390200] |Use the following command to fix [125004390210] |sudo apt-get -f install [125004390220] |This will complete the installation [125004390230] |Using Gestikk [125004390240] |If you want to start gestikk use the following command from your terminal [125004390250] |gestikk [125004390260] |or [125004390270] |if you want to configuration menu use the following command [125004390280] |gestikk -c [125004390290] |Once it opens you should see similar to the following icon in your notification area [125004390300] |If you want to configure you need to right click and select preferences [125004390310] |Now you can see similar to the following screen where you can configure gesture switch,Tolerance etc [125004390320] |You can add your own gestures here [125004390330] |OSD options [125004390340] |Notification options [125004390350] |Sample gesture screen [125004400010] |Howto Install Gimpshop in Ubuntu Hardy [125004400020] |GIMPshop is a modification of the free/open source graphics program GNU Image Manipulation Program (GIMP), intended to replicate the feel of Adobe Photoshop. [125004400030] |Its primary purpose is to make users of Photoshop feel comfortable using GIMP. [125004400040] |GIMPShop tries to replicate Photoshop’s interface as close as possible , hence many tutorials designed for Adobe Photoshop could be followed for GIMPshop !! . [125004400050] |Now besides all the interface change it adds naming convection similar to photoshop to Gimp . [125004400060] |Other than this all the features of GIMP are preserved . [125004400070] |Like GIMP which is crossplatform and runs on Windows , Linux , OS X ,Solaris GIMPshop too is crossplatform. [125004400080] |Since GIMPshop is based on GIMP so it has all the features of GIMP+some extras. [125004400090] |This is based on GIMP 2.2 this is quite old but if you want some photoshop features you can use this. [125004400100] |Howto Install Gimpshop in Ubuntu Hardy [125004400110] |If you want to install gimpshop first you need to download .deb package from here or from here [125004400120] |Now you have gimpshop_2.2.11-1_i386.deb package install this package using the following command [125004400130] |sudo dpkg -i gimpshop_2.2.11-1_i386.deb [125004400140] |This will complete the installation [125004400150] |Using Gimpshop [125004400160] |If you want to use gimpshop you need to run the following command from the terminal [125004400170] |gimp [125004400180] |If you are running first time you should see similar to the following screen click Continue [125004400190] |GIMP Personal folder need to create [125004400200] |Installation successful message click continue [125004400210] |GIMP performance tuning options [125004400220] |Gimpshop is loading [125004400230] |Once it opens you should see similar to the following screen [125004400240] |Some of the features available in gimpshop (Available in photoshop) [125004400250] |Gimpshop version details [125004410010] |List of FTP Clients Available in Ubuntu Linux [125004410020] |FTP is a file transfer protocol for exchanging files over any TCP/IP based network to manipulate files on another computer on that network regardless of which operating systems are involved (if the computers permit FTP access). [125004410030] |There are many existing FTP client and server programs. [125004410040] |FTP servers can be set up anywhere between game servers, voice servers, internet hosts, and other physical servers. [125004410050] |GUI FTP Clients [125004410060] |Gftp [125004410070] |gFTP is a free/open source multithreaded FTP client. [125004410080] |It is most used on Unix-like systems, but it can be also be used on Mac OS X. It includes both a GUI (which utilizes the GTK+) and a command-line interface. [125004410090] |Install gftp in Ubuntu [125004410100] |sudo aptitude install gftp [125004410110] |Filezilla [125004410120] |FileZilla is an FTP program for file uploading and downloading to and from your FTP site, server, or host. [125004410130] |The program lets you transfer files and navigate among folders, Web sites, and your computer. [125004410140] |This software enables you to perform multiple file transfers simultaneously. [125004410150] |Install filezilla in Ubuntu [125004410160] |sudo aptitude install filezilla [125004410170] |Kasablanca [125004410180] |Kasablanca is an ftp client, written in c++, using the kde libraries. among its features are currently encryption (auth tls) support, fxp, site bookmarks, and queued transfers. [125004410190] |sudo aptitude install Kasablanca [125004410200] |Fireftp [125004410210] |FireFTP is a free, secure, cross-platform FTP client for Mozilla Firefox which provides easy and intuitive access to FTP servers. [125004410220] |Download Fireftp from here [125004410230] |KFTPgrabber [125004410240] |KFTPgrabber is a graphical FTP client for the K Desktop Environment. [125004410250] |It implements many features required for usable FTP interaction. [125004410260] |Install KFTPgrabber in Ubuntu [125004410270] |sudo aptitude install KFTPgrabber [125004410280] |WinSCP on WINE [125004410290] |WinSCP is an open source free SFTP client and FTP client for Windows. [125004410300] |Legacy SCP protocol is also supported. [125004410310] |Its main function is safe copying of files between a local and a remote computer. [125004410320] |GNOME Commander [125004410330] |GNOME Commander is a “two-pane” graphical filemanager for the Gnome desktop environment. [125004410340] |GNOME Commander aims to fulfill the demands of more advanced users who like to focus on file management, their work through special applications and running smart commands. [125004410350] |Install GNOME Commander in Ubuntu [125004410360] |sudo aptitude install gnome-commander [125004410370] |Sitecopy [125004410380] |sitecopy allows you to easily maintain remote Web sites. [125004410390] |The program will upload files to the server which have changed locally, and delete files from the server which have been removed locally, keeping the remote site synchronized. [125004410400] |FTP and WebDAV are supported. [125004410410] |Install sitecopy in ubuntu [125004410420] |sudo aptitude install sitecopy [125004410430] |FileRunner [125004410440] |FileRunner is an X-Based FTP program. [125004410450] |It gives you a windowed view of files on your local system and a remote system. [125004410460] |It allows transferring multiple files at once, tagging of files, etc. [125004410470] |Install Filerunner in Ubuntu [125004410480] |sudo aptitude install filerunner [125004410490] |konqueror [125004410500] |Konqueror is the KDE file manager. [125004410510] |It has support for ftp and much more. [125004410520] |You can login to ftp sites with a username and password like this: [125004410530] |ftp://username:password@your.ftp.org [125004410540] |Command line FTP Clients [125004410550] |Ftp [125004410560] |ftp is the user interface to the ARPANET standard File Transfer Protocol. [125004410570] |The program allows a user to transfer files to and from a remote network site. [125004410580] |Install ftp in Ubuntu [125004410590] |sudo aptitude install ftp [125004410600] |Cftp [125004410610] |Cftp is an ftp client where you just use the arrow keys to move around and get what you want. [125004410620] |This program is rather limited - you probably want to use something like lftp instead. [125004410630] |Install cftp Ubuntu [125004410640] |sudo aptitude install ubuntu [125004410650] |Lftp [125004410660] |Lftp is a file retrieving tool that supports FTP, HTTP, FISH, SFTP, HTTPS and FTPS protocols under both IPv4 and IPv6. [125004410670] |Lftp has an amazing set of features, while preserving its interface as simple and easy as possible. [125004410680] |The main two advantages over other ftp clients are reliability and ability to perform tasks in background. [125004410690] |It will reconnect and reget the file being transferred if the connection broke. [125004410700] |You can start a transfer in background and continue browsing on the ftp site. [125004410710] |It does this all in one process. [125004410720] |When you have started background jobs and feel you are done, you can just exit lftp and it automatically moves to nohup mode and completes the transfers. [125004410730] |It has also such nice features as reput and mirror. [125004410740] |It can also download a file as soon as possible by using several connections at the same time. [125004410750] |Lftp can also be scriptable, it can be used to mirror sites, it lets you copy files among remote servers (even between FTP and HTTP). [125004410760] |It has an extensive online help. [125004410770] |It supports bookmarks, and connecting to several ftp/http sites at the same time. [125004410780] |Install lftp in ubuntu [125004410790] |sudo aptitude install lftp [125004410800] |Ftpcopy [125004410810] |ftpcopy is a simple FTP client written to copy files or directories (recursively) from an FTP server. [125004410820] |It was written to mirror FTP sites which support the EPLF directory listing format, but it also supports the traditional listing format (/bin/ls). ftpls is an FTP client which generates directory listings, either in plain text or HTML. [125004410830] |The tools only support passive mode FTP. [125004410840] |There is no plan to support active mode. [125004410850] |Install ftpcopy ubuntu [125004410860] |sudo aptitude install ftpcopy [125004410870] |Ncftp [125004410880] |This program allows a user to transfer files to and from a remote network site, and offers additional features that are not found in the standard interface, ftp. [125004410890] |This version has Readline support enabled. [125004410900] |This is a complete re-write of version 2.4.3 (Debian package ncftp2). [125004410910] |Some users may prefer the full-screen ncurses interface of the “older” NcFTP 2.4.3; if you are one of them, install the ncftp2 package instead. [125004410920] |Install ncftp in Ubuntu [125004410930] |sudo aptitude install ncftp [125004410940] |Tnftp [125004410950] |tnftp is what many users affectionately call the enhanced ftp client in NetBSD . [125004410960] |This package is a `port’ of the NetBSD ftp client to other systems. [125004410970] |The enhancements over the standard ftp client in 4.4BSD include: [125004410980] |* command-line editing within ftp [125004410990] |* command-line fetching of URLS, including support for: [125004411000] |- http proxies (c.f: $http_proxy, $ftp_proxy) [125004411010] |- authentication [125004411020] |* context sensitive command and filename completion [125004411030] |* dynamic progress bar [125004411040] |* IPv6 support (from the WIDE project) [125004411050] |* modification time preservation [125004411060] |* paging of local and remote files, and of directory listings (c.f: `lpage’, `page’, `pdir’) [125004411070] |* passive mode support, with fallback to active mode [125004411080] |* `set option’ override of ftp environment variables [125004411090] |* TIS Firewall Toolkit gate ftp proxy support (c.f: `gate’) [125004411100] |* transfer-rate throttling (c.f: `-T’, `rate’) [125004411110] |Install tnftp in ubuntu [125004411120] |sudo aptitude install tnftp [125004411130] |GNU Midnight Commander [125004411140] |GNU Midnight Commander is a text-mode full-screen file manager. [125004411150] |It uses a two panel interface and a subshell for command execution. [125004411160] |It includes an internal editor with syntax highlighting and an internal viewer with support for binary files. [125004411170] |Also included is Virtual Filesystem (VFS), that allows files on remote systems (e.g. FTP, SSH, SMB servers) and files inside archives to be manipulated like real files. [125004411180] |Install Midnight Commander in Ubuntu [125004411190] |sudo aptitude install mc [125004411200] |Yafc [125004411210] |yafc is an ftp client intended to be a replacement for the standard ftp(1) program. [125004411220] |Features include directory cache, remote filename completion, aliases, colored ls, recursive get/put/ls/rm, nohup mode [125004411230] |transfers, tagging (queueing), background downloading, and more. [125004411240] |This version is compiled without KTH Kerberos 4/5 authentication. [125004411250] |Install yafc in Ubuntu [125004411260] |sudo aptitude install yafc [125004411270] |Ftp-ssl [125004411280] |ftp is the user interface to the ARPANET standard File Transfer Protocol. [125004411290] |The program allows a user to transfer files to and from a remote network site. [125004411300] |ftp-ssl replaces normal ftp using SSL or TLS authentication and encryption. [125004411310] |It interoperates with normal ftpd. [125004411320] |It checks if the other side is also talking SSL or TLS, if not it falls back to normal ftp protocol. [125004411330] |Advantages over normal ftp(d): Your passwords and the data you send will not go in cleartext over the line. [125004411340] |Nobody can get it with tcpdump or similar tools. [125004411350] |Install ftp-ssl in ubuntu [125004411360] |sudo aptitude install ftp-ssl [125004420010] |How to convert CHM files into PDF files in Ubuntu [125004420020] |If you want to convert .chm file to .pdf file you need to install chm2pdf application.This is A Python script that converts CHM files into PDF files. [125004420030] |The package supports batch conversion, command line, PDF security options, password protection and compression modes. [125004420040] |The program has Explorer-like interface. [125004420050] |Install chm2pdf in ubuntu [125004420060] |sudo aptitude install chm2pdf [125004420070] |Using chm2pdf [125004420080] |chm2pdf syntax [125004420090] |/usr/bin/chm2pdf [options] input_filename [output_filename] [125004420100] |chm2pdf examples [125004420110] |Unstructured HTML files inside the CHM file, use of --webpage option - produces my-file.pdf: [125004420120] |chm2pdf --webpage my-file.chm [125004420130] |Structured HTML files: [125004420140] |chm2pdf --book my-file.chm [125004420150] |Structured HTML files, produce a table of contents page automatically (--title option): [125004420160] |chm2pdf --book --title my-file.chm [125004420170] |Structured HTML files, produce a table of contents page automatically (--title option), add a “titlepage” as found in the toc.html file inside the CHM: [125004420180] |chm2pdf --book --title --titlefile toc.html my-file.chm [125004420190] |If the file “toc.html” is not found, a warning will be issued and the option will be ignored - just browse the (very verbose) output of chm2pdf to see that warning if you suspect you mispelled the titlefile name. [125004420200] |Like above, now with an explicitly set page size and maximum compression level for the resulting PDF: [125004420210] |chm2pdf --book --title --titlefile toc.html --size 177.8×233.3mm --compression 9 my-file.chm [125004420220] |Like above, but name the PDF “your-file.pdf”: [125004420230] |chm2pdf --book --title --titlefile toc.html --size 177.8×233.3mm --compression 9 my-file.chm your-file.pdf [125004420240] |A very interesting option (and one that is not htmldoc-specific, but is pure chm2pdf-specific) is the --extract-only option: [125004420250] |chm2pdf --extract-only my-file.chm [125004420260] |will extract the contents of my-file.chm (all the HTML and other, “special”, files inside the CHM) into the directory CHM2PDF_TEMP_ORIG_DIR/my-file. [125004420270] |Thus, if CHM2PDF_TEMP_ORIG_DIR has its default value “/tmp/chm2pdf/orig”, chm2pdf will extract the file into /tmp/chm2pdf/orig/my-file and stop. [125004420280] |You can then examine the extracted files at your pace. [125004420290] |They will be overwritten next time you call chm2pdf with the same file(name). [125004420300] |If you want to know more available options use the following command from your terminal [125004420310] |chm2pdf --help [125004430010] |LXDE - Lightweight X11 Desktop Environment for Ubuntu [125004430020] |LXDE is a new project aimed to provide a new desktop environment which is lightweight and fast. [125004430030] |It’s not designed to be powerful and bloated, but to be usable and slim enough, and keep the resource usage low. [125004430040] |Different from other desktop environments, we don’t tightly integrate every component. [125004430050] |Instead, we tried to make all components independent, and each of them can be used independently with few dependencies. [125004430060] |LXDE Features [125004430070] |
  • Lightweight, runs with reasonable memory usage
  • [125004430080] |
  • Fast, rund well even on older machines produced in 1999
  • [125004430090] |
  • Good-looking, gtk+ 2 internationalized user interface
  • [125004430100] |
  • Easy-to-use, the user interface is simple, but usable enough
  • [125004430110] |
  • Desktop independent (suprise! [125004430120] |Every component can be used without LXDE)
  • [125004430130] |
  • Standard compliant, follows the specs on freedesktop.org
  • [125004430140] |
  • Suitable for old machines
  • [125004430150] |Install lxde in Ubuntu [125004430160] |First you need to edit the /etc/apt/sources.list file add the following lines [125004430170] |For Hardy Users [125004430180] |deb http://ppa.launchpad.net/lxde/ubuntu hardy main deb-src http://ppa.launchpad.net/lxde/ubuntu hardy main [125004430190] |For Gutsy Users [125004430200] |deb http://ppa.launchpad.net/lxde/ubuntu gutsy main deb-src http://ppa.launchpad.net/lxde/ubuntu gutsy main [125004430210] |Save and exit the file. [125004430220] |update the source list using the following command [125004430230] |sudo aptitude update [125004430240] |Install lxde desktop environment using the following command [125004430250] |sudo aptitude install lxde [125004430260] |This will install all the required packages for lxde. [125004430270] |Intrepid Ibex and future releases [125004430280] |LXDE desktop has been added to Ubuntu stable repositories. [125004430290] |No editing of sources are needed. [125004430300] |sudo aptitude install lxde [125004430310] |Now you need to logout from your system go to Options--->Select Session… [125004430320] |Now select LXDE option and click on Change Session [125004430330] |Next screen you can select if you want LXDE desktop environment as default or only for this session [125004430340] |After logging in you can see similar to the following beautiful desktop environment [125004430350] |LXDE Logout Screen [125004440010] |cpipe - Determine the throughput of a pipe command [125004440020] |If you want to Determine the throughput of a pipe you need to use cpipe.Cpipe copies its standard input to its standard output while measuring the time it takes to read an input buffer and write an output buffer. [125004440030] |Statistics of average throughput and the total amount of bytes copied are printed to the standard error output. [125004440040] |Did you ever want to know how fast your tar is or how much data it has transferred already. [125004440050] |How about using socket or nc to copy files either with or without compression over a fast network connection, which one is faster? [125004440060] |If you want to know the answer, use cpipe as a totally unscientific approach to measure throughput. [125004440070] |Cpipe copies its standard input to its standard output while measuring the time it takes to read an input buffer and write an output buffer. [125004440080] |Statistics of average throughput and the total amount of bytes copied are printed to the standard error output. [125004440090] |Install cpipe in Ubuntu [125004440100] |sudo aptitude install cpipe [125004440110] |Using cpipe [125004440120] |cpipe syntax [125004440130] |cpipe [-b bsize] [-vt] [-vr] [-vw] [-ngr] [-s speed] [125004440140] |Available options [125004440150] |-b buffer size in kB, 1 Int value between 1 and oo. [125004440160] |Default: â128â [125004440170] |-vt show throughput. [125004440180] |-vr show read-times. [125004440190] |-vw show write-times. [125004440200] |-ngr non-greedy read. [125004440210] |Donât enforce a full buffer on read before starting to write. [125004440220] |-s throughput speed limit in kB/s, 1 Double value between 1 and oo. [125004440230] |Cpipe Example [125004440240] |The command [125004440250] |tar cCf / - usr | cpipe -vr -vw -vt >/dev/null [125004440260] |results in an output like …in: 19.541ms at 6.4MB/s ( 4.7MB/s avg) 2.0MB out: 0.004ms at 30.5GB/s ( 27.1GB/s avg) 2.0MB thru: 19.865ms at 6.3MB/s ( 4.6MB/s avg) 2.0MB … [125004440270] |The first column shows the times it takes to handle one buffer of data (128kB by default). [125004440280] |The read-call took 19.541ms, the write-call to /dev/null took just 0.004ms and from the start of the read to the end of write, it took 19.865ms. [125004440290] |The second column shows the result of dividing the buffer size (128kB by default) by the times in the first column. [125004440300] |The third column contains the average over all measured values from the start of the program. [125004450010] |Howto install and configure gDesklets in Ubuntu hardy [125004450020] |gDesklets is a system for bringing mini programs (desklets), such as weather forecasts, news tickers, system information displays, or music player controls, onto your desktop, where they are sitting there in a symbiotic relationship of eye candy and usefulness. [125004450030] |The possibilities are really endless and they are always there to serve you whenever you need them, just one key-press away. [125004450040] |The system is not restricted to one desktop environment, but currently works on most of the modern Unix desktops (including GNOME, KDE, Xfce). [125004450050] |Install gDesklets in ubuntu [125004450060] |Use the following command to install gDesklets [125004450070] |sudo aptitude install gdesklets gdesklets-data [125004450080] |This will complete the installation [125004450090] |Using gDesklets in Ubuntu [125004450100] |If you want to open Gdesklets go to Applications--->Accessories--->gDesklets [125004450110] |When you open first time you should see similar to the following screen click close [125004450120] |Once it opens you should see similar to the following screen [125004450130] |You need to click on left hand side menu to open available desklets [125004450140] |After selecting your choice of gdesklets you can see similar to the following screen [125004450150] |Configuring gDesklets [125004450160] |If you want to configure desklets right click on a desklet on your desktop and click on “Configure desklet” now you can see similar to the following screen [125004450170] |gDesklets configuration screen [125004450180] |Sample gDesklets screen [125004450190] |Adding gDesklets to start menu [125004450200] |In order to start gDesklets automatically everytime you log in into your system we have to add gdesklets to the session-startup-programs.For this you need to go to Systems--->Preferences--->Sessions [125004450210] |Once it opens you need to click on Add [125004450220] |Add all the following details and click on ok [125004460010] |ISO Master - The Ultimate CD/DVD image (iso,nrg) Editor [125004460020] |ISO Master is a graphical editor for ISO images with support for ISO9660, RockRidge, and Joliet file names. [125004460030] |It is useful for extracting, deleting, or adding files and directories to or from an ISO image. [125004460040] |It is based on the bkisofs and GTK2 libraries. [125004460050] |What formats are supported? [125004460060] |ISO Master can read .ISO files (ISO9660, Joliet, RockRidge, and El Torito), most .NRG files, and some single-track .MDF files; it can save only as .ISO. [125004460070] |You can use isomaster to: [125004460080] |- add files to an image [125004460090] |- extract files from an image [125004460100] |- delete files from an image [125004460110] |Install iso master in Ubuntu [125004460120] |sudo aptitude install isomaster [125004460130] |This will complete the installation. [125004460140] |Using ISO Master [125004460150] |If you want to open ISO Master Go to Applications -> Sound &Video -> ISO Master [125004460160] |Once it opens you should see similar to the following screen [125004460170] |If you want to open .iso file go to File--->Open [125004460180] |Now you need to select .iso file and click on open [125004460190] |iso image file is reading in progress [125004460200] |Once iso image opens you should see similar to the following screen here you can add,extract,delete files to your iso image [125004470010] |Use bandwidth shapers (wondershaper or trickle) to limit internet connection speed [125004470020] |If you want to limit your download and upload speeds use one of the following tools [125004470030] |1) Wondershaper [125004470040] |2) Trickle [125004470050] |Wondershaper [125004470060] |An easy to use traffic shaping script that provides these improvements: [125004470070] |* Low latency for interactive traffic (and pings) at all times [125004470080] |* Allow websurfing at reasonable speeds while uploading / downloading [125004470090] |* Make sure uploads don’t hurt downloads [125004470100] |* Make sure downloads don’t hurt uploads [125004470110] |It does this by: [125004470120] |* Limiting upload speed slightly, to eliminate queues [125004470130] |* Limiting download speed, while allowing bursts, to eliminate queues [125004470140] |* Interactive traffic skips the queue [125004470150] |* ACKs and tiny packets skip the queue [125004470160] |Configuring the wondershaper requires you to accurately and precisely determine your consistent upload and download speeds. [125004470170] |Install wondershaper in Ubuntu [125004470180] |sudo aptitude install wondershaper [125004470190] |This will complete the installation. [125004470200] |Using wondershaper [125004470210] |use ifconfig to determine which of your networkcards is the one that is connected to your modem (and thus the internet). [125004470220] |ifconfig [125004470230] |the networkcard that has your normal ip adress is the one (not 192.168.x.x) [125004470240] |Go to a speedtesting website and determine your average upload and download speed. [125004470250] |Use these speeds to setup limitations. [125004470260] |sudo wondershaper eth1 downspeed upspeed [125004470270] |Note:- Speed should be in KB [125004470280] |Example [125004470290] |sudo wondershaper eth0 10000 280 [125004470300] |download a big and uncompressable file while pinging to a fast and stable server on the internet or to your modem and adjust your downspeed until you are satisfied and do the same with uploading a big and uncompressable file. [125004470310] |When you are ready you can make these connection settings permanent by [125004470320] |sudo gedit /etc/network/interfaces [125004470330] |add these lines under eth1 if eth1 is your internetconnection. [125004470340] |Change eth1,upspeed and downspeed to your settings. [125004470350] |up /sbin/wondershaper eth1 downspeed upspeed [125004470360] |down /sbin/wondershaper clear eth1 [125004470370] |Useful Tip [125004470380] |How do I go about putting my settings back to default for eth1? [125004470390] |sudo wondershaper clear eth1 [125004470400] |Problem [125004470410] |When you try to run similar to the following command [125004470420] |wondershaper eth3 4500 333 [125004470430] |You might see the following error [125004470440] |What is “flowid”? [125004470450] |Illegal “police” [125004470460] |Solution [125004470470] |This is a bug in iproute, not in wondershaper. [125004470480] |Debian has already fixed the problem [125004470490] |Replacing iproute2 with this http://mirror.aarnet.edu.au/debian/pool/main/i/iproute/iproute_20071016-3_i386.deb solved the problem [125004470500] |trickle [125004470510] |Trickle is a voluntary, cooperative bandwidth shaper. it works entirely in userland and is very easy to use.The most simple application is to limit the bandwidth usage of programs. [125004470520] |Install trickle in ubuntu [125004470530] |sudo aptitude install trickle [125004470540] |Stand alone mode [125004470550] |Trickle is easiest to use in stand-alone mode. [125004470560] |Simply run trickle with a download and/or upload limit and a program you want to limit. [125004470570] |For example: [125004470580] |sudo trickle -d 20 -u 20 wget http://www.google.com/bigfile [125004470590] |Daemon mode [125004470600] |In daemon mode, trickle can limit a group of programs to a fixed limit of bandwidth. [125004470610] |To start the daemon, run the trickled command: [125004470620] |sudo trickled -d 20 -u 20 [125004470630] |This will start the trickle daemon that will limit the total bandwidth available to all programs run via trickle to 20 K/s both up and down. [125004470640] |So if you run a single program via trickle, it can consume 20 K/s. [125004470650] |Two programs can each consume 10 K/s, etc. [125004480010] |Download videos from Youtube,Google and other video sites in Ubuntu [125004480020] |Clive is Command-line and fullscreen console program that extracts videos from YouTube, Google Video and other video sites. [125004480030] |It supports embedded video extraction, and can be used with an external encoder (e.g. ffmpeg) to re-encode the extracted videos to different video formats (e.g. avi, mpeg, flv). [125004480040] |Features [125004480050] |
  • Multi-platform; POSIX (BSD/Linux/UNIX-like)
  • [125004480060] |
  • Supports:
  • [125004480070] |Youtube GoogleVideo Dailymotion Guba Metacafe Sevenload Myvideo [125004480080] |
  • Bandwidth throttle
  • [125004480090] |
  • Multi-URL (batch) support
  • [125004480100] |
  • Compatible with UNIX pipes
  • [125004480110] |
  • Configuration file support
  • [125004480120] |
  • Integration with X clipboard (xclip)
  • [125004480130] |
  • Chain with a 3rd party player software for playing
  • [125004480140] |
  • Chain with ffmpeg for subsequent re-encoding
  • [125004480150] |
  • Proxy support; option and http_proxy environment setting
  • [125004480160] |Further more: [125004480170] |
  • High/low-quality support where applicable (e.g. Youtube)
  • [125004480180] |
  • URL caching; re-fetch video page only if necessary
  • [125004480190] |
  • Cache browsing
  • [125004480200] |
  • Parse and extract videos from RSS/Atom feeds
  • [125004480210] |
  • Scan and extract embedded videos (Youtube, GoogleVideo)
  • [125004480220] |
  • Recall last URL batch
  • [125004480230] |
  • Overridable output filename formatting
  • [125004480240] |
  • Overridable video page title parsing
  • [125004480250] |
  • Youtube log-in support with flagged-content override
  • [125004480260] |
  • Automatic Metacafe family-filter override
  • [125004480270] |
  • Dailymotion log-in support
  • [125004480280] |
  • Gzip compressed video page data transfers
  • [125004480290] |
  • Continue partially downloaded files*
  • [125004480300] |*=excluding Youtube/FLV and GoogleVideo/FLV [125004480310] |Install clive in Ubuntu [125004480320] |sudo aptitude install clive [125004480330] |This will complete the installation. [125004480340] |Clive Example [125004480350] |clive http://in.youtube.com/watch?v=y4LToULvLhE&feature=dir [125004480360] |Usage: clive [options] URLs [125004480370] |For more option check here [125004490010] |Howto Install VirtualBox 1.6 in Ubuntu 8.04(Hardy Heron) including USB Support [125004490020] |VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. [125004490030] |Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL). [125004490040] |Install Virtualbox 1.6 in Ubuntu [125004490050] |First you need to download virtualbox from here [125004490060] |Now you should have virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb package install this package using the following command [125004490070] |sudo dpkg -i virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb [125004490080] |This will complete the installation. [125004490090] |Setup User Permissions [125004490100] |Goto System -> Administration -> Users and Groups [125004490110] |Click on the “Unlock” button [125004490120] |Enter in your password and click on “Authenticate” [125004490130] |Click on the “Manage Groups” button [125004490140] |Find the “vboxusers” group which is probably at the very bottom of the list, highlight it by clicking again, and click on “Properties”. [125004490150] |Make sure there’s a check mark next to your user’s name, and click on ok you’re finished. [125004490160] |Enable USB Support in Virtualbox [125004490170] |By default USB support was disabled in virtualbox, so you’ll probably want to enable it. [125004490180] |Otherwise you’ll get an error when you go into the “Settings” of your virtual machine. [125004490190] |To correct this, you’ll need to edit the mountdevsubfs.sh file [125004490200] |sudo gedit /etc/init.d/mountdevsubfs.sh [125004490210] |Inside, you’ll see a block of code that looks like this [125004490220] |# # Magic to make /proc/bus/usb work # #mkdir -p /dev/bus/usb/.usbfs #domount usbfs “”/dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 #ln -s .usbfs/devices /dev/bus/usb/devices #mount --rbind /dev/bus/usb /proc/bus/usb [125004490230] |Change it to look like this (uncomment out the region by deleting the “#’s”): [125004490240] |# # Magic to make /proc/bus/usb work # mkdir -p /dev/bus/usb/.usbfs domount usbfs “”/dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 ln -s .usbfs/devices /dev/bus/usb/devices mount --rbind /dev/bus/usb /proc/bus/usb [125004490250] |Save the changes and exit.Now log out, and then log back in again for the changes to take place. [125004490260] |Create a New Virtual Machine in Virtualbox [125004490270] |You need to open virtualbox from Applications--->System Tools--->Sun xVM VirtualBox [125004490280] |First time you should see similar to the following license screen click on “I Agree” [125004490290] |Virtualbox Registration click on Confirm [125004490300] |Virtualbox Registration was Successful click on ok [125004490310] |Once it opens you should see similar to the following screen.If you want to create a Virtual machine you need to click on “New” button in the user interface will guide you through the new virtual machine Now the following wizard will appear click next [125004490320] |In the next screen You need to select VMname and OS Type and click next [125004490330] |Now you need to select the memory size for your VM [125004490340] |Here you need to select the Virtual hard disk details (If you don’t find create new disk) and click next [125004490350] |Summary of your Virtual Machine and click finish [125004490360] |Once you click on finish You should see the following screen [125004490370] |Virtualbox Version Details [125004500010] |How to install Pidgin 2.4.3 in Ubuntu 7.04 (Feisty Fawn) From source code [125004500020] |How to install Pidgin 2.4.3 in Linux Ubuntu 7.04 Feisty Fawn by compiling its source code(to compile Pidgin source code) [125004500030] |First, remove Gaim by MainMenu-> Add/Remove-> Gaim [125004500040] |Use synaptic to install the required packages… search for libgtk2.0 -> to install libgtk2.0-0 and libgtk2.0-dev search for gstreamer0.10 -> to install libgstreamer0.10-0 libgstreamer0.10-dev libgstreamer0.10-plugins-good libgstreamer0.10-plugins-ugly libgstreamer0.10-plugins-bad libgstreamer0.10-plugins-ffmpeg search for gtkspell -> to install libgtkspell0 and libgtkspell-dev [125004500050] |Open a terminal by MainMenu >Accessories >Terminal [125004500060] |Download pidgin-2.4.3.tar.bz2 from Pidgin website [125004500070] |Unzip/extract pidgin-2.4.3.tar.bz2 into a foler called pidgin-2.4.3 by double clicking on tar.bz2 file-> click on Extract button-> Extract [125004500080] |Put that folder on your Desktop Then type the commands (without “# “) [125004500090] |# cd Desktop/pidgin-2.4.3 [125004500100] |# ./configure [125004500110] |Then if you encounter the following message… quote “XScreenSaver extension development headers not found. [125004500120] |Use --disable-screensaver if you do not need XScreenSaver extension support, this is required for detecting idle time by mouse and keyboard usage. ”end of quote Open Synaptic and search for “xscreensaver” [125004500130] |Then I found a package called “xscreensaver”, but it had no its dev file, so I had to skip that support by enter the following in the terminal… [125004500140] |# ./configure --disable-screensaver [125004500150] |Then if you encounter the following message… quote “Startup notification development headers not found. [125004500160] |Use --disable-startup-notification if you do not need it. ”end of quote Open Synaptic and search for “startup notification” Install libstartup-notification0 and its dev file libstartup-notification0-dev Then run the same command again … [125004500170] |# ./configure --disable-screensaver [125004500180] |Meanwhile development headers not found. [125004500190] |Use --disable-meanwhile if you do not need meanwhile (Sametime) support. -> synaptic search: meanwhile -> install Meanwhile and its dev [125004500200] |avahi development headers not found. [125004500210] |Use --disable-avahi if you do not need avahi (Bonjour) support. -> synaptic search: avahi bonjour libavahi-compat-libdnssd-dev for Development headers for the Avahi Apple Bonjour compatibility library is not the one I need, so I give up by adding “--disable-avahi” after ./configure # ./configure --disable-screensaver --disable-avahi [125004500220] |D-Bus development headers not found. [125004500230] |Use --disable-dbus if you do not need D-Bus support. -> libdbus-1-dev, simple interprocess messaging system (development headers) is not the one, so I put down “…no” here. [125004500240] |Perl development headers not found. [125004500250] |Use --disable-perl if you do not need Perl scripting support. -> libperl-dev, Perl library: …yes [125004500260] |Neither GnuTLS or NSS SSL development headers found. [125004500270] |Use --disable-nss --disable-gnutls if you do not need SSL support. [125004500280] |MSN, Novell Groupwise and Google Talk will not work without GnuTLS or NSS. [125004500290] |OpenSSL is NOT usable! -> libgnutls-dev, the GNU TLS library - development files…yes [125004500300] |Tcl development headers not found. [125004500310] |Use --disable-tcl if you do not need Tcl scripting support. -> tcl8.4-dev, Tcl (the Tool Command Language) v8.4 - development files… yes [125004500320] |Tk development headers not found. [125004500330] |Use --disable-tk if you do not need Tk scripting support. -> tk8.4-dev, Tk toolkit for Tcl and X11, v8.4 - development files…yes [125004500340] |So eventually, the command becomes …# ./configure --disable-screensaver --disable-avahi --disable-dbus Then I followed the README and INSTALL files inside pidgin-2.4.3 folder.. # sudo make # make check # sudo make install # make clean # make distclean # pidgin or # finch or MainMenu >Internet >Pidgin [125004510010] |Howto Setup advanced TFTP server in Ubuntu [125004510020] |atftp is Multi-threaded TFTP server implementing all options (option extension and multicast) as specified in RFC1350, RFC2090, RFC2347, RFC2348 and RFC2349. [125004510030] |Atftpd also supports multicast protocol known as mtftp, defined in the PXE specification. [125004510040] |The server supports being started from inetd as well as in daemon mode using init scripts. [125004510050] |Install atftp Server in Ubuntu [125004510060] |sudo aptitude install atftpd [125004510070] |This will complete the installation [125004510080] |Using atftpd [125004510090] |By default atftpd server starts using inetd so we need to tell atftpd to run as a server directly, not through inetd.Edit /etc/default/atftpd file using the following command [125004510100] |sudo gedit /etc/default/atftpd [125004510110] |Change the following line [125004510120] |USE_INETD=true [125004510130] |to [125004510140] |USE_INETD=false [125004510150] |save and exit the file [125004510160] |Now you need to run the following command [125004510170] |sudo invoke-rc.d atftpd start [125004510180] |Configuring atftpd [125004510190] |First you need to create a directory where you can place the files [125004510200] |sudo mkdir /tftpboot [125004510210] |sudo chmod -R 777 /tftpboot [125004510220] |sudo chown -R nobody /tftpboot [125004510230] |sudo /etc/init.d/atftpd restart [125004510240] |Security configuration for atftp [125004510250] |Some level of security can be gained using atftp libwrap support. [125004510260] |Adding proper entry to /etc/hosts.allow and /etc/hosts.deny will restrict access to trusted hosts. [125004510270] |Daemon name to use in these files is in.tftpd. [125004510280] |/etc/hosts.allow /etc/hosts.deny [125004510290] |in.tftpd : FQD or IP [125004510300] |atftp client installation [125004510310] |Advance Trivial file transfer protocol client,atftp is the user interface to the Internet ATFTP (Advanced Trivial File Transfer Protocol), which allows users to transfer files to and from a remote machine. [125004510320] |The remote host may be specified on the command line, in which case atftp uses host as the default host for future transfers. [125004510330] |sudo aptitude install atftp [125004510340] |That’s it you are ready to transfer your files using tftp clients [125004510350] |Testing tftp server [125004510360] |Tranfering file hda.txt from 192.168.1.100 (Client using tftp) to 192.168.1.2 (Server 192.168.1.100). [125004510370] |Get an example file to transfer (eg. hda.txt) [125004510380] |touch /tftpboot/hda.txt [125004510390] |chmod 777 /tftpboot/hda.txt [125004510400] |ls -l /tftpboot/ [125004510410] |total 0 -rwxrwxrwx 1 ruchi ruchi 223 hda.txt [125004510420] |atftp 192.168.1.2 [125004510430] |atftp> put hda.txt [125004510440] |Sent 722 bytes in 0.0 seconds [125004510450] |atftp> quit [125004510460] |ls -l /tftpboot/ [125004510470] |total 4 -rwxrwxrwx 1 ruchi ruchi 707 2008-07-07 23:07 hda.txt [125004520010] |List of Download Managers Available in Ubuntu Linux [125004520020] |A download manager is a computer program designed to download files from the Internet,unlike a web browser, which is mainly intended to browse web pages on the World Wide Web (with file downloading being of secondary importance). [125004520030] |Download Manager Features [125004520040] |
  • Pausing the downloading of large files.
  • [125004520050] |
  • Resuming broken or paused downloads (especially for very large files).
  • [125004520060] |
  • Downloading files on poor connections.
  • [125004520070] |
  • Downloading several files from a site automatically according to simple rules (file types,updated files, etc. - see also Offline Browser).
  • [125004520080] |
  • Automatic recursive downloads (mirroring).
  • [125004520090] |
  • Scheduled downloads (including, automatic hang-up and shutdown).
  • [125004520100] |
  • Searching for mirror sites, and the handling of different connections to download the same
  • [125004520110] |
  • file more quickly (Segmented downloading).
  • [125004520120] |Wget [125004520130] |Wget is a network utility to retrieve files from the Web using http(s) and ftp, the two most widely used Internet protocols. [125004520140] |It works non-interactively, so it will work in the background, after having logged off. [125004520150] |The program supports recursive retrieval of web-authoring pages as well as ftp sites — you can use wget to make mirrors of archives and home pages or to travel the Web like a WWW robot. [125004520160] |Wget works particularly well with slow or unstable connections by continuing to retrieve a document until the document is fully downloaded. [125004520170] |Re-getting files from where it left off works on servers (both http and ftp) that support it. [125004520180] |Both http and ftp retrievals can be time stamped, so wget can see if the remote file has changed since the last retrieval and automatically retrieve the new version if it has. [125004520190] |Wget supports proxy servers; this can lighten the network load, speed up retrieval, and provide access behind firewalls. [125004520200] |Wget is a default download manager for Ubuntu . [125004520210] |Therefore you do not need to install it again [125004520220] |Gwget [125004520230] |Gwget offers a GNOME front-end to the popular wget application, with enhanced features, such as systray icon, multiple downloads and a powerful preferences manager. [125004520240] |Install Gwget in Ubuntu [125004520250] |sudo aptitude install gwget [125004520260] |Curl [125004520270] |Curl is a client to get files from servers using any of the supported protocols. [125004520280] |The command is designed to work without user interaction or any kind of interactivity. [125004520290] |Curl offers a busload of useful tricks like proxy support, user authentication, ftp upload, HTTP post, file transfer resume and more. [125004520300] |Install curl in Ubuntu [125004520310] |sudo aptitude install curl [125004520320] |Axel [125004520330] |Axel is a command-line downloader for unix-like operating systems. [125004520340] |Unlike wget, axel includes download acceleration, whicThis program tries to accelerate the downloading process by using multiple connections for one file. [125004520350] |Starting from version 0.97, the program can use multiple mirrors for one download as well. [125004520360] |The program tries to be as light as possible (25-30k in binary form), so it might be useful as a wget clone on byte-critical systems. [125004520370] |Install axel in Ubuntu [125004520380] |sudo aptitude install axel [125004520390] |Wxdownloadfast [125004520400] |wxDownload Fast (also known as wxDFast) is an open source download manager. [125004520410] |It is multi-platform and builds on Windows(2k,XP), Linux and Mac OS X(binary still not available). [125004520420] |Besides that, it is a multi-threaded download manager. [125004520430] |This means that it can split a file into several pieces and download the pieces simultaneously. [125004520440] |Install Wxdownloadfast in Ubuntu [125004520450] |Download .deb package from here [125004520460] |Install .deb package using the following command [125004520470] |sudo dpkg -i packagename [125004520480] |Multiget [125004520490] |MultiGet is an easy-to-use GUI file downloader for Windows/Linux/BSDs/MacOs. [125004520500] |It’s programmed in C++ and has a GUI based on wxWidgets. [125004520510] |It supports HTTP/FTP protocols which covers the requirements of most users. [125004520520] |It supports multi-task with multi-thread on multi-server. [125004520530] |It supports resuming downloads if the Web server supports it, and if you like, you can reconfig the thread number without stopping the current task. [125004520540] |It’s also support SOCKS 4,4a,5 proxy, ftp proxy, http proxy. [125004520550] |Install Multiget in Ubuntu [125004520560] |Download multiget .deb package from here [125004520570] |Install .deb package using the following command [125004520580] |sudo dpkg -i packagename [125004520590] |aria2 [125004520600] |Aria2 is a command line download client with resuming and segmented downloading. [125004520610] |Supported protocols are HTTP/HTTPS/FTP/BitTorrent and it also supports Metalink. [125004520620] |Install aria2 in Ubuntu [125004520630] |sudo aptitude install aria2 [125004520640] |Downloader for X (d4x) [125004520650] |Downloader for X is a powerful graphical download manager. [125004520660] |It supports both HTTP(S) and FTP protocols and has nice graphical user interface, though some actions can also be performed using the command line. [125004520670] |Among others, its key features include proxy and SOCKS5 support, recursive downloading,wildcard matching, download scheduler, multiple download queues and more… [125004520680] |Install d4x in Ubuntu [125004520690] |sudo aptitude install d4x [125004520700] |KDE KGET [125004520710] |KGET is a a download manager similar to GetRight or Go!zilla. [125004520720] |It keeps all your downloads in one dialog and you can add and remove transfers. [125004520730] |Transfers can be paused, resumed, queued or scheduled. [125004520740] |Dialogs display info about status of transfers - progress, size, speed and remaining time. [125004520750] |Program supports drag &drop from KDE applications and Netscape. [125004520760] |Install Kget in Ubuntu [125004520770] |sudo aptitude install kget [125004520780] |This package is part of KDE, as a component of the KDE network module. [125004520790] |Therefore you need to install another KDE packages to run KGET on your Ubuntu [125004520800] |Desktop Data Manager [125004520810] |Open-source app Desktop Data Manager is a clipboard manager, download manager, and advanced screenshot capturing app rolled into one. [125004520820] |Desktop Data Manager actually installs three separate programs: DDM Screenshot, DDM Download, and Desktop Data Manager. [125004520830] |Install Desktop Data Manager in Ubuntu [125004520840] |Download .deb package from here and install using the following command [125004520850] |sudo dpkg -i packagename [125004520860] |Jigdo [125004520870] |This is a BETA version of the jigdo GTK+ download manager. [125004520880] |In particular, it is NOT yet capable of processing .jigdo files - use jigdo-lite from the jigdo-file package for that!.This download manager features FTP and HTTP 1.1 support, pausing, continuing and resuming of downloads, and automatic guessing of your proxy configuration. [125004520890] |Install Jigdo in Ubuntu [125004520900] |sudo aptitude install jigdo [125004520910] |Aria [125004520920] |Aria is a download manager.The transfer can be paused, resumed, queued and saved. [125004520930] |It has a very user friendly GTK based GUI, and useful log consoles. [125004520940] |Program supports CRC checking, HTTP proxy server, cut-and-paste, drag-and-drop, and can define specific file retrieving procedure for particular web servers. [125004520950] |Install aria in Ubuntu [125004520960] |sudo aptitude install aria [125004520970] |Firefox Support [125004520980] |Firefox is a default web browser for Ubuntu .There are so many download extension for Firefox.I am giving best of them as follows. [125004520990] |DownThemAll! [125004521000] |The first and only download manager/accelerator built inside Firefox! [125004521010] |Download from here [125004521020] |FlashGot [125004521030] |Download one link, selected links or all the links of a page together at the maximum speed with a single click, using the most popular, lightweight and reliable external download managers. [125004521040] |Download from here [125004521050] |I personally like wget,downthemall,multiget and curl [125004530010] |Multitail - view multiple logfiles windowed on console [125004530020] |MultiTail lets you view one or multiple files like the original tail program. [125004530030] |The difference is that it creates multiple windows on your console (with ncurses). [125004530040] |It can also monitor wildcards: if another file matching the wildcard has a more recent modification date, it will automatically switch to that file. [125004530050] |That way you can, for example, monitor a complete directory of files. [125004530060] |Merging of 2 or even more logfiles is possible. [125004530070] |It can also use colors while displaying the logfiles (through regular expressions), for faster recognition of what is important and what not. [125004530080] |It can also filter lines (again with regular expressions). [125004530090] |It has interactive menus for editing given regular expressions and deleting and adding windows. [125004530100] |One can also have windows with the output of shell scripts and other software. [125004530110] |When viewing the output of external software, MultiTail can mimic the functionality of tools like ‘watch’ and such. [125004530120] |Install Multitail in Ubuntu [125004530130] |sudo aptitude install multitail [125004530140] |This will complete the installation. [125004530150] |Multitail Examples [125004530160] |No examples of coloring are given as that is configurable via the onfiguration file. [125004530170] |Also for mostcommonly used files color schemes have already been designed. [125004530180] |
  • Merge 2 logfiles in one window:
  • [125004530190] |multitail /var/log/apache2/access.log -I /var/log/apache2/error.log [125004530200] |
  • Show 3 logfiles in 2 columns:
  • [125004530210] |multitail -s 2 /var/log/apache2/access.log /var/log/messages /var/log/mail.log [125004530220] |
  • Show 5 logfiles while merging 2 and put them in 2 columns with only one in the left column:
  • [125004530230] |multitail -s 2 -sn 1,3 /var/log/apache2/access.log -I /var/log/apache2/error.log /var/log/messages \ /var/log/mail.log /var/log/syslog [125004530240] |
  • Merge the output of 2 ping commands while removing “64 bytes received from” from only 1 of them:
  • [125004530250] |multitail -l “ping 192.168.0.1″ -ke “64 bytes from” -L “ping 192.168.0.2″ [125004530260] |
  • Show the output of a ping-command and if it displays a timeout, send a message to all users currently logged in
  • [125004530270] |multitail -ex timeout “echo timeout | wall” -l “ping 192.168.0.1″ [125004530280] |
  • In one window show all new TCP connections and their state changes using netstat while in the other window displaying the merged access and error logfiles of apache
  • [125004530290] |multitail -R 2 -l “netstat -t” /var/log/apache2/access.log -I /var/log/apache/error.log [125004530300] |
  • As the previosu example but also copy the output to the file netstat.log
  • [125004530310] |multitail -a netstat.log -R 2 -l “netstat -t tcp” /var/log/apache2/access.log -I /var/log/apache2/error.log [125004530320] |
  • Show 2 logfiles merged in one window but give each logfile a different color so that you can easily see what lines are for what logfile:
  • [125004530330] |multitail -ci green /var/log/apache2/access.log -ci red -I /var/log/apache2/error.log [125004530340] |
  • Show a Squid (proxy server) logfile while converting timestamps to something readable
  • [125004530350] |multitail -cv squid /var/log/squid/access.log [125004530360] |
  • Display Q-Mail logging while converting the timestamp into human readable format
  • [125004530370] |multitail -cv qmailtimestr /var/log/qmail/qmail.smtpd.log [125004540010] |Rinetd - redirects TCP connections from one IP address and port to another [125004540020] |rinetd redirects TCP connections from one IP address and port to another, with basic IP-based access control.rinetd is a single-process server which handles any number of connections to the address/port pairs specified in the file /etc/rinetd.conf. [125004540030] |Since rinetd runs as a single process using nonblocking I/O, it is able to redirect a large number of connections without a severe impact on the machine. [125004540040] |This makes it practical to run services on machines inside an IP masquerading firewall. [125004540050] |Install rinetd in Ubuntu [125004540060] |sudo aptitude install rinetd [125004540070] |This will complete the installation [125004540080] |Configure rinetd [125004540090] |Once installed you’ll find a configuration file located at /etc/rinetd.conf.By default no ports are configured for forwarding, and so the file will consist entirely of comments. [125004540100] |A default configuration file would look something like this, to give you an idea of the configuration [125004540110] |# # forwarding rules come here # # you may specify allow and deny rules after a specific forwarding rule # to apply to only that forwarding rule # # bindadress bindport connectaddress connectport [125004540120] |# logging information logfile /var/log/rinetd.log [125004540130] |# uncomment the following line if you want web-server style logfile format # logcommon [125004540140] |rinetd example [125004540150] |Assume that you have a machine with the IP address 192.168.2.1 which has been running Apache, and that you’d like to move that to the IP address 192.168.2.3 [125004540160] |You’ve already updated DNS to point visitors to the new IP address, but you want to ensure that people connecting to the old IP still continue to receive service. [125004540170] |To handle this example you should update the /etc/rinetd.conf file to read: [125004540180] |# bindadress bindport connectaddress connectport 192.168.2.1 80 192.168.2.3 80 192.168.2.1 443 192.168.2.3 443 [125004540190] |Once you restart rinetd all incoming connections on port 80 and 443 will be seamlessly redirected from the old IP to the new one - although you will need to restart rinetd after making the change to your configuration file. [125004540200] |sudo /etc/init.d/rinetd restart [125004540210] |Stopping internet redirection server: rinetd. [125004540220] |Starting internet redirection server: rinetd. [125004540230] |One more Example [125004540240] |Although responding on individual interfaces rather than on all interfaces is one of rinetd’s primary features, sometimes it is preferable to respond on all IP addresses that belong to the server. [125004540250] |In this situation, the special IP address 0.0.0.0 can be used. [125004540260] |For example: [125004540270] |0.0.0.0 23 10.1.1.2 23 [125004540280] |Would redirect all connections to port 23, for all IP addresses assigned to the server. [125004540290] |This is the default behaviour for most other programs. [125004550010] |Howto Configure IPv6 Tunnel in Ubuntu [125004550020] |If you want to setup IPv6 tunnel under Ubuntu you need to use tspc (tunnel setup protocol client) so you can browse IPv6 ready websites using IPv4. [125004550030] |Connecting to the IPv6 Internet requires either a native connection or the cooperation of a friendly server to provide you with a tunnel.Tunnel Server Protocol Client (tspc), is a daemon to automate the setup and maintenance of an IPv6 tunnel. [125004550040] |This client will connect to any migration broker which uses Hexago’s implementation. [125004550050] |Install tspc in ubuntu [125004550060] |sudo aptitude install tspc [125004550070] |This will complete the installation. [125004550080] |You can get free IPv6 access form freenet6 register freenet6 account from here to obtain username and password. [125004550090] |Configure tspc [125004550100] |The default configuration file is located at /etc/tsp/tspc.conf. [125004550110] |Open file using a text editor using the following command [125004550120] |sudo gedit /etc/tsp/tspc.conf [125004550130] |You need to provide username, password and hostname registered at Freenet6 [125004550140] |userid - Yourid passwd - yourPassWord server - broker.freenet6.net [125004550150] |Search, userid, server, and passwd variable in file and set them as follows [125004550160] |userid=your-name server=broker.freenet6.net passwd=your-password [125004550170] |Save and close the file. [125004550180] |Restart tspc service using the following command [125004550190] |sudo /etc/init.d/tspc restart [125004550200] |Testing your IPv6 Connections [125004550210] |Use the following command to see your tunnel IPv6 address [125004550220] |ifconfig tun [125004550230] |Test IPv6 connectivity using the following command [125004550240] |ping6 ipv6.google.com [125004550250] |ping6 www.kame.net [125004550260] |View Google.com IPv6 Address using the following command [125004550270] |host ipv6.google.com [125004550280] |You can use the following commands to start and stop tunnel [125004550290] |sudo /etc/init.d/tspc stop [125004550300] |sudo /etc/init.d/tspc start [125004560010] |Youtube-dl - Download videos from youtube in Ubuntu [125004560020] |youtube-dl is a small command-line program to download videos from YouTube.com. [125004560030] |Install youtube-dl in Ubuntu [125004560040] |sudo aptitude install youtube-dl [125004560050] |This will complete the installation. [125004560060] |Using youtube-dl [125004560070] |Usage instructions are easy. [125004560080] |Use youtube-dl followed by a video URL or identifier. [125004560090] |youtube-dl Example [125004560100] |youtube-dl “http://www.youtube.com/watch?v=foobar” [125004560110] |The video will be saved to the file foobar.flv in that example. [125004560120] |As YouTube.com videos are in Flash Video format, their extension should be flv.Check this simple guide to convert .flv files to .mpg [125004560130] |More usage tips [125004560140] |You can change the file name of the video using the -o option, like in [125004560150] |youtube-dl -o vid.flv “http://www.youtube.com/watch?v=foobar”. [125004560160] |Some videos require an account to be downloaded, mostly because they’re flagged as mature content. [125004560170] |You can pass the program a username and password for a YouTube.com account with the -u and -p options, like [125004560180] |youtube-dl -u myusername -p mypassword “http://www.youtube.com/watch?v=foobar”. [125004560190] |The account data can also be read from the user .netrc file by indicating the -n or --netrc option. [125004560200] |The machine name is youtube in that case. [125004560210] |The simulate mode (activated with -s or --simulate) can be used to just get the real video URL and use it with a download manager if you prefer that option. [125004560220] |The quiet mode (activated with -q or --quiet) can be used to supress all output messages. [125004560230] |This allows, in systems featuring /dev/stdout and other similar special files, outputting the video data to standard output in order to pipe it to another program without interferences. [125004560240] |The program can be told to simply print the final video URL to standard output using the -g or --get-url option. [125004580010] |Ultamatix: Install 101 Applications in One click including Games,codecs,applications [125004580020] |Ultamatix! [125004580030] |It is actually based on Automatix, therefore it looks and acts exactly the same. [125004580040] |The good news is that Ultamatix is designed to work with Ubuntu Ultimate Editon 1.8, Ubuntu 8.04 (Hardy Heron) and the unstable branch of Debian Linux.This is a new automatix alternative. [125004580050] |If you want to know the list of application available in ultamatix check below screenshots. [125004580060] |Important Note:- After installing this application it might break your system so be careful about this application [125004580070] |Install Ultamatix in Ubuntu Hardy [125004580080] |First you need to download .deb package from here using following command [125004580090] |wget http://ultamatix.com/download/ultamatix-1.8.0-3_all.deb [125004580100] |Now you need to install this package using the following command [125004580110] |sudo dpkg -i ultamatix-1.8.0-3_all.deb [125004580120] |This will install all the packages required for ultamatix. [125004580130] |Using Ultamatix [125004580140] |If you want to open Ultamatix Go to Applications--->System Tools--->Ultamatix [125004580150] |When you try to open first time you can see similar to the following screen here you need to click on Yes [125004580160] |Ultamatix Loading in Progress [125004580170] |Updating Source list is in progress [125004580180] |Once it opens you can see similar to the following screen click on ok [125004580190] |Now we will list of applications available in Ultamatix as follows [125004580200] |Burning and Ripping Applications [125004580210] |Chat Clients [125004580220] |Codecs and Plugins [125004580230] |Email Clients [125004580240] |Environments [125004580250] |Eyecandy [125004580260] |File Sharing [125004580270] |Games [125004580280] |Media Players and editors [125004580290] |Miscellaneous [125004580300] |Office [125004580310] |Programming tools [125004580320] |Security [125004580330] |Tweaks [125004580340] |Utilities [125004580350] |Virtualization [125004580360] |Web Browsers [125004580370] |Install an Application from Ultamatix [125004580380] |In this example we will install DVD Styler for this you need to click on the check box next to DVD Styler [125004580390] |Now you need to click on Start from Top menu [125004580400] |DVD Styler Installation is in Progress [125004580410] |Uninstall an Application from Ultamatix [125004580420] |Once you install any application from Ultamatix you can see uninstall tab as shown below from here you can uninstall any applications [125004580430] |Ultamatix log details you can check