» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with in + Debian

List of FTP Clients Available in Linux

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). There are many existing FTP client and server programs. FTP servers can be set up anywhere between game servers, voice servers, internet hosts, and other physical servers.

(...)
Read the rest of List of FTP Clients Available in Linux (1,204 words)


© Admin for Debian Admin, 2008. | Permalink | 2 comments

Add to del.icio.us

Search blogs linking this post with Technorati

Want more on these topics ? Browse the archive of posts filed under General.

---
Related Articles at Debian Admin:

  • No Related Posts

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Howto upgrade IOS on a 3750 switch stack

    If you want to upgrade IOS on a 3750 switch stack follow this procedure

    There are some new IOS commands to automate upgrading of a stack, but I use the familiar manual method.

    (...)
    Read the rest of Howto upgrade IOS on a 3750 switch stack (264 words)


    © Admin for Debian Admin, 2008. | Permalink | No comment

    Add to del.icio.us

    Search blogs linking this post with Technorati

    Want more on these topics ? Browse the archive of posts filed under Network.

    ---
    Related Articles at Debian Admin:

  • Fix for High CPU usage when SNMP is enabled in Cisco Routers
  • Howto setup DHCP Server and Dynamic DNS with BIND in Debian
  • Ddclient - Update IP addresses at dynamic DNS service
  • Upgrade Cisco IOS in a Router or a Switch
  • Setting Port Security on a Cisco Catalyst Switch
  • Access Network When Everything Else is Blocked Using ptunnel

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    How to prevent a package from being updated in Debian

    If you want to update all the packages other than one in your debian server follow this procedure

    There are three ways of holding back packages, with dpkg, aptitude or with dselect.

    (...)
    Read the rest of How to prevent a package from being updated in Debian (115 words)


    © Admin for Debian Admin, 2008. | Permalink | One comment

    Add to del.icio.us

    Search blogs linking this post with Technorati

    Want more on these topics ? Browse the archive of posts filed under Package Mgmt.

    ---
    Related Articles at Debian Admin:

  • Howto Select Fastest Mirror in Debian
  • How to Install Backports Debian Packages
  • How to install Thunderbird in Ubuntu
  • Shows source-package information apt-show-source
  • Recursively lists package dependencies Using apt-rdepends
  • Put an unpacked .deb file back together Using dpkg-repack

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Howto Select Fastest Mirror in Debian

    If you want to select Fastest Mirror in Debian follow this tutorial and this is very helpful if you want to download and install your debian packages,Updates .netselect-apt automatically creates a sources.list file for using with apt for the specified distribution by downloading the list of Debian mirrors using wget and choosing the fastest servers (both US and non-US) using netselect. The output file is written to OUTFILE.

    (...)
    Read the rest of Howto Select Fastest Mirror in Debian (216 words)


    © Admin for Debian Admin, 2008. | Permalink | One comment

    Add to del.icio.us

    Search blogs linking this post with Technorati

    Want more on these topics ? Browse the archive of posts filed under Package Mgmt.

    ---
    Related Articles at Debian Admin:

  • How to prevent a package from being updated in Debian
  • How to Install Backports Debian Packages
  • How to install Thunderbird in Ubuntu
  • Shows source-package information apt-show-source
  • Recursively lists package dependencies Using apt-rdepends
  • Put an unpacked .deb file back together Using dpkg-repack

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    How to disable the “– MARK –” in Debian log file

    If you check your /var/log/messages file you can see lot of messages with -Mark- these are useless.You can disable them with the following procedure.

    (...)
    Read the rest of How to disable the “– MARK –” in Debian log file (28 words)


    © Admin for Debian Admin, 2008. | Permalink | 3 comments

    Add to del.icio.us

    Search blogs linking this post with Technorati

    Want more on these topics ? Browse the archive of posts filed under General.

    ---
    Related Articles at Debian Admin:

  • No Related Posts

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Howto Crack Zip Files Password in Linux

    If you want to crack zip file passwords use fcrackzip.fcrackzip is a fast password cracker partly written in assembler. It is able to crack password protected zip files with brute force or dictionary based attacks, optionally testing with unzip its results.

    (...)
    Read the rest of Howto Crack Zip Files Password in Linux (402 words)


    © Admin for Debian Admin, 2008. | Permalink | No comment

    Add to del.icio.us

    Search blogs linking this post with Technorati

    Want more on these topics ? Browse the archive of posts filed under General.

    ---
    Related Articles at Debian Admin:

  • No Related Posts

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    How to change MAC-address of Ethernet card

    Sometimes changing MAC-address of a network card is needed. For example, when it used for authorisation by internet provider. This is relatively simple yet unobvious in a first time procedure, but here are some examples.

    (...)
    Read the rest of How to change MAC-address of Ethernet card (347 words)


    © virens for Debian Admin, 2008. | Permalink | No comment

    Add to del.icio.us

    Search blogs linking this post with Technorati

    Want more on these topics ? Browse the archive of posts filed under General.

    ---
    Related Articles at Debian Admin:

  • No Related Posts

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    How to Split lighttpd Logs With vlogger in Debian Etch

    Vlogger is a little piece of code borned to handle dealing with large amounts of virtualhost logs. It’s bad news that apache can’t do this on its own. Vlogger takes piped input from apache, splits it off to separate files based on the first field. It uses a file handle cache so it can’t run out of file descriptors. It will also start a new logfile every night at midnight, and maintain a symlink to the most recent file. For security, it can drop privileges and do a chroot to the logs directory.

    (...)
    Read the rest of How to Split lighttpd Logs With vlogger in Debian Etch (471 words)


    © Admin for Debian Admin, 2008. | Permalink | No comment

    Add to del.icio.us

    Search blogs linking this post with Technorati

    Want more on these topics ? Browse the archive of posts filed under Webserver.

    ---
    Related Articles at Debian Admin:

  • How to setup GeoIP support for apache2 On Debian Etch
  • How to Split apache Logs With vlogger in debian etch
  • Setup Easy Hosting Control Panel (ehcp) for Debian/Ubuntu
  • How to setup Apache Tomcat 5.5 on Debian Etch
  • Restart Apache Server without affecting existing connections
  • A SUCCESSFULL installation guide to VHCS2 on Debian Etch (4.0)

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Yet another Linux to Windows printing tip

    Problem: one have a printer shared for networks printing and connected to a windows machine. From the other side, there is Linux-powered machine with CUPS installed and we want to print on windows shared printer.

    (...)
    Read the rest of Yet another Linux to Windows printing tip (173 words)


    © virens for Debian Admin, 2008. | Permalink | No comment

    Add to del.icio.us

    Search blogs linking this post with Technorati

    Want more on these topics ? Browse the archive of posts filed under General.

    ---
    Related Articles at Debian Admin:

  • No Related Posts

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    How to Install Adobe Reader 8.1.1 on Debian Linux

    Adobe Acrobat is a family of application software by Adobe Systems. These applications use Adobe’s Portable Document Format (PDF) as their native file format.Adobe Reader (formerly called Acrobat Reader) is available as a no-charge download from Adobe’s web site, and allows the viewing and printing of PDF files.

    Adobe Reader Requirements for Linux

    • 32-bit Intel Pentium processor or equivalent
    • Red Hat Linux WS 5, SUSE Linux Enterprise Desktop (SLED) 10 and Ubuntu 6.10,Debian 3.1 and Above.
    • GNOME or KDE desktop environment
    • 512 MB of RAM (1 GB recommended)
    • Up to 125 MB of available hard-disk space
    • GTK+ (GIMP Toolkit) user interface library, version 2.6 or higher
    • Firefox 1.5 or higher; Mozilla 1.73 or higher

    Adobe Reader Features

    • Support for playing Multimedia-enabled PDF documents for supported media types (linux). Play Flash, Real media and more!
    • Support for participating in Shared Reviews along with other users of Adobe Reader 8.x on Unix, and Adobe Reader/Acrobat 8.x on Win/Mac. Collaborate right inside the Reader.
    • Improvements in Commenting and Drawing Markup tools.
    • New tools such as Loupe Tool, Pan and Zoom. Expand your horizons, and control what you want to see.
    • Support for dynamically rendered bar code generation in forms.
    • Updated Review Tracker with inbuilt support for RSS feeds. Use the Reader as your RSS feed reader!
    • New 2D and 3D measuring tools for more accurate control of architectural drawings.
    • Printing: New support for Booklet Printing and Low Resolution printing of secured documents.
    • Significant performance improvement for certain types of forms via direct rendering for Dynamic Forms.
    • Support for documents created with Adobe Acrobat 3D including navigation, cross-section and rendering.
    • Accessibility: Support for Orca.
    • Various new additions to the Manage Digital ID feature, including support for Roaming Credentials, support for Cryptographic Tokens and Smart Cards (PKCS#11 compliant).
    • Support for adding a Digital Signature Field in documents which have been “Reader Enabled” through Acrobat Professional on Win/Mac.
    • Support for viewing PDF Packages - get an organized view of your PDFs in a single well-defined interface.
    • Support for the PRC format for 3D data.
    • Beyond Reader: New help resources that contains up-to-date information on Adobe products, Adobe Reader and how it can be used with Adobe’s other products.
    • Adobe Help Viewer - a self-contained, one-stop shop for all help related to the Reader
    • Improved Search capabilities, including searching of sub-documents in a PDF Package, improved searching of attachments, etc.

    Install Adobe Reader 8.1.1 on Debian

    First you need to download Adobe Reader 8.1.1 from here or here

    Now you have AdobeReader_enu-8.1.1-1.i386.deb package you need to install this .deb package using the following command

    #dpkg -i AdobeReader_enu-8.1.1-1.i386.deb

    This will install adobe reader 8.1.1.

    If you want to open this application you need to go to Applications—>Office—>Adobe Reader 8

    First time when you open you should see the following screen here you need to click on accept

    Once it opens you should see similar to the following screen

    Adobe reader version details

    Enjoy your new Adobe Reader

    Tags: , , , , , , , , addthis_url = 'http%3A%2F%2Fwww.debianadmin.com%2Fhow-to-install-adobe-reader-811-on-debian-linux.html'; addthis_title = 'How+to+Install+Adobe+Reader+8.1.1+on+Debian+Linux'; addthis_pub = 'david23';

    ©2008 Debian Admin. All Rights Reserved.

    .

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Howto bind ssh to selected IP address

    ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin and rsh, and provide secure encrypted communications between two untrusted hosts over an insecure network. X11 connections and arbitrary TCP ports can also be forwarded over the secure channel.

    We all know, by default installation of openssh daemon service (sshd), it binds itself to all existing IP address from given host.

    Alternatively, if you wish to bind sshd service to selected IP address, this is possible by simply editing /etc/ssh/sshd_config file.

    First, always make a backup copy of conf files you wish to edit.

    # cp /etc/ssh/sshd_config /etc/ssh/sshd_config.backup

    Launch your fave text editor and edit /etc/ssh/sshd_config

    #vi /etc/ssh/sshd_config

    Go to specific lines that shows

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ListenAddress *
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If you wish to bind ssh to existing 2 IP address, let’s say 192.168.1.5 and 192.168.1.7 , this could be done by changing the above sshd_config lines to

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ListenAddress 192.168.1.5
    ListenAddress 192.168.1.7
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    and Restart sshd daemon using the following command

    # service sshd restart

    One applicable instance that his can be useful is that when you have a group of ssh users and there are times you need to disconnect all those currently logged in ssh users except your own remote ssh connections. This can be simply done by shutting down the other interface from where those ssh users are currently connected. And ofcourse, you need to be currently connected with the other interface before shutting down the other interface or IP address.

    Tags: , , , , addthis_url = 'http%3A%2F%2Fwww.debianadmin.com%2Fhowto-bind-ssh-to-selected-ip-address.html'; addthis_title = 'Howto+bind+ssh+to+selected+IP+address+'; addthis_pub = 'david23';

    ©2007 Debian Admin. All Rights Reserved.

    .

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Setup CUPS (Common UNIX Printing System) Server and Client in Debian

    The Common UNIX Printing SystemTM, or CUPS, is the software you use to print from applications like the web browser you are using to read this page. It converts the page descriptions produced by your application (put a paragraph here, draw a line there, and so forth) into something your printer can understand and then sends the information to the printer for printing.

    Now, since every printer manufacturer does things differently, printing can be very complicated. CUPS does its best to hide this from you and your application so that you can concentrate on printing and less on how to print. Generally, the only time you need to know anything about your printer is when you use it for the first time, and even then CUPS can often figure things out on its own.

    Install CUPS printer server in Debian

    #apt-get install cupsys cupsys-driver-gutenprint foomatic-db-gutenprint foomatic-filters fontconfig libtiff4 libfreetype6

    NOTE:- If your network use DHCP it’s a good idea to set up your server to use static IP. I will use as 172.20.22.74 for the server and 172.20.22.150 for administration workstation.

    Configure CUPS

    Default configuration file located at /etc/cups/cupsd.conf in this file you need to configure the following sections to make it work.

    First, check the encryption setting and change

    # Default authentication type, when authentication is required…
    DefaultAuthType Basic

    to

    # Default authentication type, when authentication is required…
    DefaultAuthType Basic
    DefaultEncryption IfRequested

    Then we need to tell it to listen for the server change

    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen /var/run/cups/cups.sock

    to

    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen 172.20.22.74
    Listen /var/run/cups/cups.sock

    We need it to be visible to the entire network

    # Show shared printers on the local network.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow @LOCAL

    what machines that may access the server change

    # Restrict access to the server…
    <Location/>
    Order allow,deny
    Allow localhost
    </Location>

    to

    # Restrict access to the server…
    <Location/>
    Order allow,deny
    Allow localhost
    Allow 172.20.22.*
    </Location>

    And the same for the configuration files change

    # Restrict access to configuration files…
    <Location /admin/conf>
    AuthType Basic
    Require user @SYSTEM
    Order allow,deny
    Allow localhost
    </Location>

    to

    # Restrict access to configuration files…
    <Location /admin/conf>
    AuthType Basic
    Require user @SYSTEM
    Order allow,deny
    Allow localhost
    Allow 172.20.22.150
    </Location>

    Other configuration i left default one so need to change anything.

    Now you need to restart CUPS using the following command

    #/etc/init.d/cupsys restart

    You should now be able to connect to the CUPS web interface from the administrator workstation (IP 172.20.22.150 in this example) by pointing your web browser at http://172.20.22.74:631/ once it opens you should see the following screen

    If you got the correct drivers installed and your printer is connected to the server, Now you need to add your printer under the “Administration” tab.Setup your printer and finish the setup and verify that it works by printing the CUPS test page.

    Setting up the CUPS clients

    The CUPS clients are easy to set up and the config is identical on all machines.You need to install the following packages for client

    #apt-get install cupsys cupsys-client

    Configuring CUPS Client

    You need to create /etc/cups/client.conf as root

    #touch /etc/cups/client.conf

    Now you need to edit the /etc/cups/client.conf file

    #vi /etc/cups/client.conf

    Enter the following information the server IP and the encryption requirement

    # Servername
    ServerName 172.20.22.74

    # Encryption
    Encryption IfRequested

    Save the file, then restart the client

    #/etc/init.d/cupsys restart

    Adding Printers

    Now you need to add printer in GNOME go to Desktop—>Administration—>Printing

    Once it opens you should see the following screen

    Select Printer—>Add printer

    Once it opens you should see the following screen

    In the above screen select Network Printer option,select CUPS Printer and enter the URl and click on Forward

    Select your printer manufacturer and model or install printer drivers and click on apply

    After finishing the setup you should see the similar to the follwoing screen now your printer is ready for printing.

    Tags: , , , , , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Howto display the number of processors in Linux

    If you’ve just bought a new desktop,laptop or server and the box says the box is powered by 2 processors, you can actually verify that.

    Here’s how to display the number of processor of your linux box.

    Simply issue the following command as root

    # cat /proc/cpuinfo | grep processor

    Everything in linux is files. This command simply retrieves the number of processors that linux detected from /proc/cpuinfo and displays it. Usually, the processor number comes at the first set of line from issuing the command.

    Here’s what the command returned for me:
    ~~~~~~~~~~~~~~~~~~~~~~~~
    processor : 0
    ~~~~~~~~~~~~~~~~~~~~~~~~

    which means You have 1 processor with a processor ID number 0. Processor counting starts with 0.
    So if you have a PC with core duo, you will probably have 2 lines that says 0 and 1.That is 2 processors.

    Tags: , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Howto restrict su command to superuser only in Linux

    su is run a shell with substitute user and group IDs. su is used to become another user during a login session. Invoked without a username, su defaults to becoming the super user. The optional argument - may be used to provide an environment similar to what the user would expect had the user logged in directly.

    Restricting su command to root superuser only is simple.

    First, determining the path location of the binary is required using the following command

    # which su

    returns
    ~~~~~~~~~~~~~~~
    /bin/su
    ~~~~~~~~~~~~~~~

    Remember the current file mode bits and restrictions for su binary

    # ls -la /bin/su

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -rwxr-xr-x 1 root root 24284 Apr 28 2007 /bin/su
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Noticed that su binary is world executable and world readable. This basically means anybody can call and execute the su binary and gain access to perhaps stolen password with bash-enabled user accounts. If you wish to change this, you can issue the following command as follows

    # chmod 700 /bin/su

    So, only root and root alone can call su binary command.

    Note that, it is not advisable to do this if your su binary is set to suid root, that has similar attributes like below:

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -rwsr-xr-x 1 root root 27052 2007-08-02 18:33 /bin/su
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    as it could affect some apps and package that links to suid root-ted su binary.

    Tags: , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Rename multiple files to another extension in Linux

    Let us say that you want to rename all of your “.php5″ files to “.php” files. You can use for loop.


    for old in *.php5; do cp $old `basename $old .php5`.php; done

    Thats all there is to it. Let us say you need to rename index.php5 to index.php. The way above snippet works is that it loops through current directory and finds all the files with extension “.php5″ and processes ‘one by one. In our index.php5 file example, it finds index.php5 file, does a cp index.php5 `basename index.php5 .php5`.php Tag:

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Use Google Linux repositories in Debian

    Google’s Linux software repositories make it easier to download and stay up-to-date with current releases of Google Linux applications. Please choose one of the guides below to help configure your system to use these repositories.

    First you need to edit /etc/apt/sources.list file

    #vi /etc/apt/sources.list

    add the following line

    # Google software repository

    deb http://dl.google.com/linux/deb/ stable non-free

    Save and exit the file

    you must download the key and then use apt to install it and refresh your package indexes.

    Run these commands as root:

    #wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -

    Now you need to update the source list using the following command

    #apt-get update

    Install google applications now you can see the following command to install google picasa

    #apt-get install picasa

    Tags: , , , , , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Configure GMail in Evolution, Thunderbird or KMail

    Many of us would like to use our GMail accounts in Evolution, and to a lesser degree Thunderbird and KMail. Here is a step by step guide on how to configure Evolution, Thunderbird and KMail to access you GMail account.

    The first step is to log in to your GMail account and to click on Settings and click on the Forwarding and POP tab. Under POP Download select Enable POP for all mail and click Save Changes.

    Log out of GMail and go to your UBUNTU or Linux install.

    Evolution

    Start Evolution

    If you have not used Evolution before, or haven’t set up an account the New Account Wizard will launch. Click Forward.

    Type in your Full Name and your Gmail Email Address and click Forawrd.

    Select SMTP as the Server Type. The Server is smtp.gmail.com. Encryption is TLS, Authentication is Plain and fill in your full Gmail Email Address. Click Forward.

    Give your account a name, it does not have to be anything Logical. Click Forward.

    Select the current Time Zone and click Forward.

    Click Apply.

    If the New Account Wizard doesn’t launch, then in Evolution go to EditPreferences and click on Mail Accounts. Edit the info so that it matches the information above and you will be able to send and receive GMail.

    Thunderbird

    Start Thunderbird

    Select “File,” “New,” Account, the New Account Wizard will launch. On the window that pops up select “email account,” and next.

    Then type in your name in the top box, and your full GMail email address in the bottom, and click next.

    On the next window select “POP” as the type of incoming server, then name the incoming server “pop.gmail.com”.

    It doesn’t matter if “Use Global Inbox is enabled” is checked, it makes all of your email accounts report to the same inbox, check it or uncheck it as you wish, and click next.

    After that make your user name is the same as your email address and click next

    Then type in an account name (eg: inbox, gmail, home) this is what you click on to access this account and can be whatever you want, and click next.

    Click Finish.

    Next click on Edit - Account Settings in Thunderbird and from the menu of the new window select “server settings.” Click SSL and the port will automatically switch to 995.

    Click on Outgoing Server (SMTP) and specify smtp.gmail.com as the outgoing mail server, and select SSL as the encryption and the port will automatically switch to 465. Type in your full GMail email address and click ok.

    Kmail

    Start Kmail

    Go to “Settings,” then “Configure Kmail”

    Click on accounts
    Click “Add”

    Select POP3 on the window that pops up and OK

    On this window type in whatever you want your account to be called under “Account Name.” Then type your login, which is your entire email address, and your password. Next for the host type in “pop.gmail.com,” and change the port to 950. Change the rest of the settings to your liking.

    Then on the top tab, arrow over to “Extras” For encryption select “Use ssl for secure mail download,” and for Authentication Method, select “Clear Text.”

    Here’s how to configure gmail outbound in Kmail.

    Go to settings, configure kmail
    Go to accounts and sending
    Go to add, on the box that pops up select smtp and OK
    The host is smtp.gmail.com
    The port is 465

    Check the box that says server requires authentication
    *Your login is your email address (with the @gmail.com at the end)
    Type your password

    Go to security and check the ssl box.

    Click OK, then apply

    Go to identities, click modify, and type in your email address.

    You can find the full article with screenshots here

    Tags: , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Enable custom error messages on the Apache web server

    This document describes how to configure the Apache web server so that it will redirect common server errors - like 404 Not Found or 500 Internal Server Error - to a Perl CGI script for processing.

    Read Full story here

    Debian: All About Debian Tutorials

    Monitoring Proftpd Server Using phpftpwho

    ProFTPD is a proven, high-performance, scalable FTP server written from scratch, with a focus toward simplicity, security, and ease of configuration. Naturally, ProFTPD powers some of the largest sites on the Internet. It features a very Apache-like configuration syntax, modules, and a highly customizable server infrastructure, including support for multiple ‘virtual’ FTP servers, anonymous FTP, and permission-based directory visibility.

    phpftpwho is a program written in PHP that tells you the status of your local FTP server. It uses the unix/linux command ftpwho and formats and displays the information. The program is licensed under the GPL license.

    phpftpwho Requirements

    A webserver, Apache is a great one.

    A recent version of PHP.

    The FTP server Proftpd.

    A Unix/Linux operating system.

    Install Apache Webserver with PHP Support

    If you want to install Apache Webserver with PHP Support check here

    Install Proftpd Server

    If you want to Install Proftpd Server check here

    Install phpftpwho

    Note :- phpftpwho must be installed on the same machine that is running Proftpd server.

    Download phpftpwho from here using the following command in apache web server root document folder (/var/www)

    #wget http://www.rivetcode.com/files/phpftpwho/phpftpwho-0_9.tar.gz

    Now you have tar.gz file you need to extract using the following command

    tar xzvf phpftpwho-0_9.tar.gz

    Now you should be having phpftpwho folder in your apache root document folder(/var/www)

    If you want to access your phpftpwho program you need to go to http://yourserverip/phpftpwho

    Now you need to login into the ftp server and refresh your phpftpwho page you should see similar to the following screen

    Security configuration

    If you want to configure security for phpftpwho you need to create a .htaccess file under phpftpwho folder in /var/www/ so that any one who is trying to access this page it will prompt for username and password.

    Tags: , , , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    How to Install Backports Debian Packages

    If You are running Debian stable, because you prefer the stable Debian tree. It runs great, there is just one problem: the software is a little bit outdated compared to other distributions. That is where backports come in.

    Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates), so they will run without new libraries (wherever it is possible) on a stable Debian distribution. I recommend you to pick out single backports which fits your needs, and not to use all backports available here.

    If you want to install Backport debian packages follow this simple procedure

    First you need to add this line to your /etc/apt/sources.list file

    deb http://www.backports.org/debian/ sarge-backports main contrib non-free

    Add the following lines to your /etc/apt/preferences That will deactivate all packages from backports.org

    Package: *
    Pin: release a=sarge-backports
    Pin-Priority: 200

    If you want to activate a package (e.g. nagios2), add these lines to /etc/apt/preferences

    Package: nagios2
    Pin: release a=sarge-backports
    Pin-Priority: 999

    Then you need to update the source list using the following command

    #apt-get update

    Install the package using the following command

    #apt-get install nagios2

    as usual.

    Another way is to skip the second entry in /etc/apt/preferences and to use

    #apt-get -t sarge-backports install nagios2

    which is easier when the package requires additional backports.

    If you want to install any package you need to replace the nagios2 package name with the name of the package you want to install.

    Tags: , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Create and Extract .gz,.bz2 Files in Debian

    bzip2 and bunzip2 are file compression and decompression utilities. The bzip2 and bunzip2 utilities are newer than gzip and gunzip and are not as common yet, but they are rapidly gaining popularity. The bzip2 utility is capable of greater compression ratios than gzip. Therefore, a bzip2 file can be 10-20% smaller than a gzip version of the same file. Usually, files that have been compressed by bzip2 will have a .bz2 extension.

    Installing bzip2 in debian

    #apt-get install bzip2

    Uncompressing a bzip2 File Using bunzip2

    To uncompress a bzip2 file, execute the following command:

    #bunzip2 filename.txt.bz2 (where filename.txt.bz2 is the name of the file you wish to uncompress)

    The result of this operation is a file called filename.txt. By default, bunzip2 will delete the filename.txt.bz2 file.

    Compressing a File Using bzip2

    To compress a file using bzip2, execute the following command:

    #bzip2 filename.txt (where filename.txt is the name of the file you wish to compress)

    The result of this operation is a file called filename.txt.bz2. By default, bzip2 will delete the filename.txt file.

    Available Options

    #bzip2 --help

    bzip2, a block-sorting file compressor. Version 1.0.2, 30-Dec-2001.

    usage: bzip2 [flags and input files in any order]

    -h –help print this message
    -d –decompress force decompression
    -z –compress force compression
    -k –keep keep (don’t delete) input files
    -f –force overwrite existing output files
    -t –test test compressed file integrity
    -c –stdout output to standard out
    -q –quiet suppress noncritical error messages
    -v –verbose be verbose (a 2nd -v gives more)
    -L –license display software version & license
    -V –version display software version & license
    -s –small use less memory (at most 2500k)
    -1 .. -9 set block size to 100k .. 900k
    –fast alias for -1
    –best alias for -9

    If invoked as `bzip2′, default action is to compress.
    as `bunzip2′, default action is to decompress.
    as `bzcat’, default action is to decompress to stdout.

    If no file names are given, bzip2 compresses or decompresses
    from standard input to standard output. You can combine
    short flags, so `-v -4′ means the same as -v4 or -4v, &c.

    If you want more option you need to check bzip2 man page using the following command

    #man bzip2

    Create and Extract .gz Files
    gzip and gunzip are GNU file compression and decompression utilities. Usually, files that have been compressed by gzip will have a .gz extension. However, sometimes you may see a file that has a .tgz extension. This is a TAR file that has been compressed by gzip. The .tgz extension is a shorthand version for the .tar.gz extension. This type of file must be uncompressed with gunzip before it can be untarred. However, there is a way to use the tar command to uncompress the file and untar it at the same time. For more information, see the tar: Tape Archive Files guide.

    Installing gzip in Debian

    #apt-get install gzip

    Uncompressing a gzip File Using gunzip

    To uncompress a gzip file, execute the following command:

    #gunzip filename.txt.gz (where filename.txt.gz is the name of the file you wish to uncompress)

    The result of this operation is a file called filename.txt. By default, gunzip will delete the filename.txt.gz file.

    Compressing a File Using gzip

    To compress a file using gzip, execute the following command:

    #gzip filename.txt (where filename.txt is the name of the file you wish to compress)

    The result of this operation is a file called filename.txt.gz. By default, gzip will delete the filename.txt file.

    Available Options

    #gzip -h
    gzip 1.3.5
    (2002-09-30)
    usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file …]
    -c –stdout write on standard output, keep original files unchanged
    -d –decompress decompress
    -f –force force overwrite of output file and compress links
    -h –help give this help
    -l –list list compressed file contents
    -L –license display software license
    -n –no-name do not save or restore the original name and time stamp
    -N –name save or restore the original name and time stamp
    -q –quiet suppress all warnings
    -r –recursive operate recursively on directories
    -S .suf –suffix .suf use suffix .suf on compressed files
    -t –test test compressed file integrity
    -v –verbose verbose mode
    -V –version display version number
    -1 –fast compress faster
    -9 –best compress better
    –rsyncable Make rsync-friendly archive
    file… files to (de)compress. If none given, use standard input.

    If you want more option you need to check gzip man page using the following command

    #man gzip

    Tags: , , , , , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    How to install Thunderbird in Ubuntu

    Hi everybody,Iam a beginner with Linux and I installed Ubuntu a few weeks ago.

    From here and therein the net, I was able to install every single program I wanted (and yes, from the command line) but I seem to have a few problems now with Thunderbird.

    Is there anyone who can give me a step-by-step instructions on how to install Thunderbird (I have the version 3, alpha) just like Firefox installation has been described in here?

    Appreciate the help,

    Emilio.

    Tags: , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    How to View Hidden Files and Folders in Ubuntu File Browser

    The Ubuntu file browser does not show hidden files or folders by default.Here is the solution how to view Hidden Files and Folders in Ubuntu File Browser.
    Here’s what file browser looks like when browsing the root file system normally

    As you can see, all of the hidden/system folders are not shown. If you hit Ctrl+H at this screen, you will immediately see all the hidden files.

    If you would just prefer to make this be the default setting when using file browser, go to the Edit menu and select Preferences

    Check the “Show hidden and backup files” checkbox, and you should now see the hidden files all of the time.

    Tags: , , , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Change Font Colour in Gnome Panels

    If you want to change Font Colour in Gnome Panels follow these steps

    Open your terminal and edit this file

    vi .gtkrc-2.02


    An empty Text document will open, and you need to copy/paste the following lines

    include “/home/autocrosser/.gnome2/panel-fontrc”style “desktop-icon”
    {
    NautilusIconContainer::frame_text = 1
    text[NORMAL] = “#000000″
    NautilusIconContainer::normal_alpha = 70
    }
    class “GtkWidget” style “desktop-icon”

    #NautilusIconContainer::dark_info_colour=”#888888″
    #NautilusIconContainer::light_info_colour=”#bbbbbb”
    #NautilusIconContainer::highlight_alpha=200

    style “my_colour”
    {
    fg[NORMAL] = “#000000″
    }
    widget “*PanelWidget*” style “my_colour”
    widget “*PanelApplet*” style “my_colour”
    widget_class “*MenuItem*” style “my_colour”
    widget_class “*ToolItem*” style “my_colour”
    widget_class “*SeparatorMenuitem*” style “my_colour”
    widget_class “*SeparatorToolitem*” style “my_colour”
    widget_class “*ImageMenuitem*” style “my_colour”
    widget_class “*RadioMenuitem*” style “my_colour”
    widget_class “*CheckMenuitem*” style “my_colour”
    widget_class “*TearoffMenuitem*” style “my_colour”

    save and exit the file

    Change the colour code of: fg[NORMAL] = “#000000″

    To whatever you like, and the text in gnome panels will become that colour.

    If you don’t know the code for the colour you want, you can use this little handy program.

    sudo apt-get install gcolor2

    If you want to access this progr