» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with configuring + General

GPRS in Debian GNU/Linux with mobile phone Siemens ME45

Problem: connect to the Internet via mobile phone and GPRS using USB-adapter Prolific PL2303 under Linux.
Solution: there are enough tools in Debian to do so.

(...)
Read the rest of GPRS in Debian GNU/Linux with mobile phone Siemens ME45 (748 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

    SSH Key Authentication Using seahorse (GUI)

    Seahorse is a Gnome front end for GnuPG - the Gnu Privacy Guard program. It is a tool for secure communications and data storage. Data encryption and digital signature creation can easily be performed through a GUI and Key Management operations can easily be carried out through an intuitive interface.

    (...)
    Read the rest of SSH Key Authentication Using seahorse (GUI) (238 words)


    © Admin for Debian Admin, 2007. | 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.

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

    How to Install Beryl in Debian Etch

    Beryl is an OpenGL accelerated desktop that seeks to provide a free, open source desktop experience to the community that reflects the wishes of the users. Above all else, the project seeks to listen to and respond to the requests of the user base.

    Beryl is a combined window manager and composite manager written in C using OpenGL to provide acceleration. It is designed to be highly flexible, extensible, and portable, all the while keeping in mind that the users know how they want their desktops to act better than we do. With Beryl the rather esoteric concept of the computer desktop is brought down to a more human level, allowing for a more native and intuitive understanding of your workspace.

    Install Beryl in Debian etch

    First you need to edit the /etc/apt/sources.list file to add beryl repositories

    deb http://debian.beryl-project.org/ etch main
    deb-src http://debian.beryl-project.org/ etch main

    Now you need to save and exit the file

    Download gpg key using the following command

    #wget -O - http://debian.beryl-project.org/root@lupine.me.uk.gpg | sudo apt-key add -

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

    #apt-get update

    Install beryl using the following command

    #apt-get install beryl-manager emerald-themes

    This will install all the required packages for beryl.

    Configuring Beryl

    Now you need to edit the /etc/X11/xorg.conf file and do the following changes

    #vi /etc/X11/xorg.conf

    then added these two lines under the “Screen” section

    Option “XAANoOffscreenPixmaps”
    Option “AddARGBGLXVisuals” “true”

    then added these lines under “Device”

    Option “AllowGLXWithComposite” “true”
    Option “RenderAccel” “true”

    added one line under “Server Layout”

    Option “AIGLX” “on”

    Finally at the end of the file add these lines

    Section “Extensions”
    Option “Composite” “Enable”
    EndSection

    Now save the file and exit.

    You need to reboot your Debian Etch system and now your beryl and nvidia starts working

    Tags: , , , , , ,

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

    How to Install Compiz in Debian

    Compiz is a compositing window manager that uses 3D graphics acceleration via OpenGL. It provides various new graphical effects and features on any desktop environment, including Gnome and KDE.

    Compiz Features

    Easily extendible through plugins.

    A growing, friendly community of users.

    Increases productivity and enjoyment.

    Impress your family and friends.

    Compiz is actively developed.

    Requirements

    The bare minimum is 3D capable Graphic’s card and atleast 512 MB of ram.

    Install Compiz in Debian

    #apt-get install compiz

    this will install compiz along with its dependencies.

    Configuring Compiz

    Now you need to manually edit the /etc/X11/xorg.conf file

    #vi /etc/X11/xorg.conf

    then added these two lines under the “Screen” section

    Option “XAANoOffscreenPixmaps”
    Option “AddARGBGLXVisuals” “true”

    then added these lines under “Device”

    Option “AllowGLXWithComposite” “true”
    Option “RenderAccel” “true”

    added one line under “Server Layout”

    Option “AIGLX” “on”

    Finally at the end of the file add these lines

    Section “Extensions”
    Option “Composite” “Enable”
    EndSection

    After making the following chages you need to save and exit the file.

    Add “compiz –replace” to “Desktop -> Preferences -> Sessions -> Startup Programs”.

    Now restart the Xserver, Better is to restart the whole system.

    After you login you will directly be in a compizified environment.

    Tags: , , , , , , , ,

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

    Howto install Wine,µTorrent,Native Tray Icon in Debian

    This HOWTO will describe how to install uTorrent on your Debian Linux desktop using wine and how to get a more suitable tray icon using alltray.
    Wine is an Open Source implementation of the Windows API on top of X, OpenGL, and Unix.

    µTorrent is a lightweight and efficient BitTorrent client for Windows with many features.

    First of all we need to add a new repo for this you need to edit the sources.list file

    #vi /etc/apt/sources.list

    Add this to the end of the file, save and quit:

    deb http://eclipxe.com.mx/debian/ ./
    deb-src http://eclipxe.com.mx/debian ./

    Update the source list using the following command

    # apt-get update

    Now we will install Wine and Alltray

    # apt-get install alltray wine

    Download latest µTorrent from here

    create a dir using the following command

    #mkdir utorrent

    go in to the utorrent directory

    #cd utorrent

    #wget http://download.utorrent.com/1.6.1/utorrent.exe

    Get icon using the following command

    #wget http://img400.imageshack.us/img400/5093/utorrenteh8.png

    Now we will create a menu entry for uTorrent, so su to root again:

    # vi /usr/share/applications/utorrent.desktop

    You should now have an empty file, copy and paste this (and replace “USERNAME” with your actual username:

    [Desktop Entry]
    Type=Application
    Version=1.0
    Encoding=UTF-8
    Name=uTorrent
    GenericName=BitTorrent Client
    Icon=/home/”USERNAME”/.utorrent/utorrenteh8.png
    Exec=alltray --icon /home/”USERNAME”/.utorrent/utorrenteh8.png wine /home/”USERNAME”/utorrent/utorrent.exe
    Path=
    Terminal=false
    MimeType=
    Categories=Application;Network;

    Save the file and exit.

    You need to provide the Exe path according to where you want to keep utorrent .exe file

    To refresh gnome-panel, issue this command

    killall gnome-panel

    µTorrent should now be found in the “Applications—>Internet” menu.

    Tags: , , , , , ,

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

    NTP Server and Client Configuration in debian

    The Network Time Protocol (NTP) is a protocol for synchronizing the clocks of computer systems over packet-switched, variable-latency data networks. NTP uses UDP port 123 as its transport layer. It is designed particularly to resist the effects of variable latency (Jitter).

    Using NTP is a great way to keep your system clock set correctly. It works by contacting a number of servers around the world, asking them for the time and then calculating what the correct local time is from their responses.

    Install NTP server in Debian

    #apt-get install ntp ntpdate ntp-server

    This will install all the required packages for NTP

    Configuring NTP Server

    By Default main configuration file located at /etc/ntp.conf

    Default configuration file looks like below

    #/etc/ntp.conf, configuration for ntpd

    driftfile /var/lib/ntp/ntp.drift
    statsdir /var/log/ntpstats/

    statistics loopstats peerstats clockstats
    filegen loopstats file loopstats type day enable
    filegen peerstats file peerstats type day enable
    filegen clockstats file clockstats type day enable

    # You do need to talk to an NTP server or two (or three).
    #server ntp.your-provider.example

    # pool.ntp.org maps to more than 300 low-stratum NTP servers.
    # Your server will pick a different set every time it starts up.
    # *** Please consider joining the pool! ***
    # *** ***
    server 0.debian.pool.ntp.org iburst
    server 1.debian.pool.ntp.org iburst
    server 2.debian.pool.ntp.org iburst
    server 3.debian.pool.ntp.org iburst

    # By default, exchange time with everybody, but don't allow configuration.
    # See /usr/share/doc/ntp-doc/html/accopt.html for details.
    restrict -4 default kod notrap nomodify nopeer noquery
    restrict -6 default kod notrap nomodify nopeer noquery

    # Local users may interrogate the ntp server more closely.
    restrict 127.0.0.1
    restrict ::1

    # Clients from this (example!) subnet have unlimited access,
    # but only if cryptographically authenticated
    #restrict 192.168.123.0 mask 255.255.255.0 notrust

    # If you want to provide time to your local subnet, change the next line.
    # (Again, the address is an example only.)
    #broadcast 192.168.123.255

    # If you want to listen to time broadcasts on your local subnet,
    # de-comment the next lines. Please do this only if you trust everybody
    # on the network!
    #disable auth
    #broadcastclient

    Example Configuration

    You need to add a number of servers to the server list. The Debian default is pool.ntp.org which works but isn’t always amazingly accurate because it makes no attempt to use time servers near you. If you want more accuracy use the time servers either on your continent (for instance europe.pool.ntp.org) or your country (for instance uk.pool.ntp.org) one of your local country servers.The optimal number of servers to listen to is three but two will also give a good accuracy. If your ISP runs a time server for you it is worth including it in your server list as it will often be more accurate than the pooled servers and will help keep the load down on the pool.

    I am using the following two servers for my configuration

    server ntp0.pipex.net
    server ntp1.pipex.net

    Restrict the type of access you allow these servers. In this example the servers are not allowed to modify the run-time configuration or query your Linux NTP server.

    restrict otherntp.server.org mask 255.255.255.255 nomodify notrap noquery
    restrict ntp.research.gov mask 255.255.255.255 nomodify notrap noquery

    The mask 255.255.255.255 statement is really a subnet mask limiting access to the single IP address of the remote NTP servers.

    If this server is also going to provide time for other computers, such as PCs, other Linux servers and networking devices, then you’ll have to define the networks from which this server will accept NTP synchronization requests. You do so with a modified restrict statement removing the noquery keyword to allow the network to query your NTP server. The syntax is:

    restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

    In this case the mask statement has been expanded to include all 255 possible IP addresses on the local network.

    We also want to make sure that localhost (the universal IP address used to refer to a Linux server itself) has full access without any restricting keywords

    restrict 127.0.0.1

    Save the file and exit

    Now you need to run the ntpdate command against your server

    #ntpdate ntp0.pipex.net

    restart NTP for these settings to take effect using the following command

    #/etc/init.d/ntp restart

    You can now configure other Linux hosts on your network to synchronize with this new master NTP server in a similar fashion.

    Determining If NTP Is Synchronized Properly

    Use the ntpq command to see the servers with which you are synchronized. It provided you with a list of configured time servers and the delay, offset and jitter that your server is experiencing with them. For correct synchronization, the delay and offset values should be non-zero and the jitter value should be under 100.

    #ntpq -p

    Output looks like below

    A star by any one of the names means that the system clock is synchronising with the NTP clock. If you don’t have a star (as in the example above) it means that the clocks are unreachable, already synchronized to this server or has an outrageous synchronization distance. Try running ntpdate (you will need to stop the ntp server) with your first ntp server as an argument. This will set your system clock fairly accuratly and mean that the server will be able to choose a clock to synchronize with.

    Firewall Configuration for NTP

    NTP servers communicate with one another using UDP with a destination port of 123. Unlike most UDP protocols, the source port isn’t a high port (above 1023), but 123 also. You’ll have to allow UDP traffic on source/destination port 123 between your server and the Stratum 1/2 server with which you are synchronizing.

    NTP Client Configuration

    If you want to configure ntp client you need to install the following packages

    #apt-get install ntp ntp-simple ntpdate

    Configuring NTP client

    You need to edit the /etc/ntp.conf file you need to point the following settings to NTP server ip address

    Server configuration settings

    server 192.168.1.1

    Restrict the type of access you allow these servers. In this example the servers are not allowed to modify the run-time configuration or query your Linux NTP server.

    restrict default notrust nomodify nopeer

    Localhost configuration

    restrict 192.168.1.1

    In this case the mask statement has been expanded to include all 255 possible IP addresses on the local network.

    We also want to make sure that localhost (the universal IP address used to refer to a Linux server itself) has full access without any restricting keywords

    restrict 127.0.0.1

    Now you need to save and exit the file

    run ntpdate command against your server

    ntpdate 192.168.1.1

    Restart ntp service using the following command

    /etc/init.d/ntp restart

    If you use the date command to change time, it is worth setting also the hardware clock to the correct time. Otherwise, the time is wrong after the next reboot, since the hardware clock keeps the time when power is turned off. When the clock in the operating system shows the correct time, set the hardware clock like this

    #hwclock --systohc

    se the ntpq command to see the servers with which you are synchronized

    #ntpq
    #ntpdc -p

    Tags: , , , , , , , , , ,

    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

    A SUCCESSFULL installation guide to VHCS2 on Debian Etch (4.0)

    I’ve read a lot of manuals, how-to’s etc. describing the process of setting a Debian webserver containing the great VHCS2 control panel system. I’ve tried them all, and all were failing for me on several critical points. So i tried to gathered all steps to this one-stop how-to.

    First of all, download your debian-etch iso from http://cdimage.debian.org/debian-cd/4.0_r0/i386/iso-cd/debian-40r0-i386-netinst.iso (for i386 systems only, please visit http://cdimage.debian.org/debian-cd/4.0_r0/ for other distributions) and burn your iso to CD-ROM (you can use CDBurnerXP for free, http://www.cdburnerxp.se/).

    Startup your server with the CD inserted. When the boot-manager is shown, ENTER. The setup wizard for Debian Etch will start and guide you through the installation procedure of Debian.
    Important!:

    when asked at software selection choose Standard system only and hit continue
    when asked if the GRUB boot loader has to be installed, choose Yes
    Next we go on preparing our system for VHCS.

    after installation and re-boot, for your sake install the SSH server:

    #apt-get install ssh
    Now you can log-on from your desktop machine into your fresh debian server by using Putty (and the best of all, copying and pasting parts of this manual directly into your terminal).

    Configure your network interfaces:

    #vi /etc/network/interfaces

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    #allow-hotplug eth0
    #iface eth0 inet dhcp
    auto eth0
    iface eth0 inet static
    address 192.168.0.201
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1

    Now run

    echo your.defined.hostname > /etc/hostname

    Reboot the system:

    #shutdown -r now

    Afterwards, run:
    #hostname
    #hostname -f

    Both should show your hostname (like server1.example.com)

    Edit /etc/apt/sources.list and comment out the cd-rom entry:
    #vi /etc/apt/sources.list

    #
    # deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1 20070407-11:29]/ etch contrib main

    # deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1 20070407-11:29]/ etch contrib main

    deb http://ftp2.de.debian.org/debian/ etch main
    deb-src http://ftp2.de.debian.org/debian/ etch main

    deb http://security.debian.org/ etch/updates main contrib
    deb-src http://security.debian.org/ etch/updates main contrib

    save the file and exit.

    Then run:
    #apt-get update

    And run:

    #apt-get upgrade

    Now, install the MySQL server (MySQL5):

    #apt-get install mysql-server mysql-client libmysqlclient15-dev phpmyadmin

    We want MySQL to listen on all interfaces, not just localhost, so:

    #vi /etc/mysql/my.cnf

    find the line “bind-address = 127.0.0.1″ and comment it out:
    # bind-address = 127.0.0.1

    then, we restart MySQL:
    #/etc/init.d/mysql restart

    now check that networking is enabled, run:
    #netstat -tap

    You should see a line like this:
    tcp 0 0 *:mysql *:* LISTEN 3281/mysqld

    Run
    #mysqladmin -u root password yourpassword
    #mysqladmin -h server1.example.com -u root password yourpassword

    (replace yourpassword with your desired password, replace server1.example.com with the hostname you set at installation)

    next we install Apache 2(.2) with PHP5

    #apt-get install apache2 apache2-doc apache2-mpm-prefork apache2.2-common apache2-utils libexpat1 ssl-cert

    next we install php5

    #apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-json php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

    you will be asked the following question:

    Continue installing libc-client without Maildir support?

    DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml

    edit /etc/apache2/ports.conf and add Listen 443:

    #vi /etc/apache2/ports.conf

    Listen 80
    Listen 443

    now we have to enable some Apache modules (SSL, rewrite, suexec, and include):
    #a2enmod ssl
    #a2enmod rewrite
    #a2enmod suexec
    #a2enmod include

    and reload the apache configuration:
    #/etc/init.d/apache2 force-reload

    now we’re going to prepare the system for the VHCS installation:

    #apt-get install postfix postfix-tls

    Please at request fill in the hostname you’ve entered at the debian installation, e.g. server1.example.com

    #apt-get install proftpd proftpd-mysql

    Please choose for “Stand alone” at request

    #apt-get install courier-authdaemon courier-base courier-imap courier-maildrop courier-pop libberkeleydb-perl libcrypt-blowfish-perl libcrypt-cbc-perl \
    libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libdbd-mysql-perl libdbi-perl libio-stringy-perl libmail-sendmail-perl \
    libmailtools-perl libmd5-perl libmime-base64-perl libmime-perl libnet-dns-perl libnet-netmask-perl libnet-perl libnet-smtp-server-perl \
    libperl5.8 libsnmp-session-perl libterm-readkey-perl libtimedate-perl perl perl-base perl-modules bind9 diff gzip iptables libmcrypt4 patch procmail tar original-awk libterm-readpassword-perl \
    libsasl2-modules libsasl2 sasl2-bin bzip2 gcc make libc6-dev

    then open /etc/proftpd/proftp.conf to stop some errors from ProFTPD:

    #vi /etc/proftpd/proftpd.conf

    UseIPv6 off

    Then, add some security fixes to it:

    DefaultRoot ~
    IdentLookups off
    ServerIdent on “FTP Server Ready”

    save the file and exit.

    next we’re going to download the vhcs package:
    #cd /usr/src
    #wget http://downloads.sourceforge.net/vhcs/vhcs2-2.4.7.1.tar.bz2

    then unpack the archive:
    #tar -xjf vhcs2-2.4.7.1.tar.bz2

    enter the newly created directory:
    #cd vhcs2-2.4.7.1

    now, we’re creating the installer:
    #make install

    after this, go to:
    #cd /tmp/vhcs2-2.4.7.1

    and copy all of it’s content to the right destination:
    #cp -R * /

    after this, go to:
    #cd /var/www/vhcs2/engine/

    now, edit the file vhcs2_common_code.pl
    #vi vhcs2_common_code.pl

    now, turn on displaying line numbers within Vi:
    :set nu

    scroll down to line 1408, look for:
    `key`=>$main::db_pass_key,

    next, add the following line BEFORE the above quoted line:
    `keysize`=>32,

    scroll down to line 1446 where you will need to repeat the above steps

    now save the file and exit.

    Start-up the VHCS2 installer:

    #cd /var/www/vhcs2/engine/setup
    #./vhcs2-setup

    At setup, fill in all fields requested.

    Now you’ve succesfully installed your debian etch machine containing VHCS2 for virtual hosting!

    Tags: , , , , , , , , , , , , , , , , , , , , , ,

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

    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 OTRS (Open source Ticket Request System) in Debian

    OTRS is an Open source Ticket Request System (also well known as trouble ticket system) with many features to manage customer telephone calls and e-mails. The system is built to allow your support, sales, pre-sales, billing, internal IT, helpdesk, etc. department to react quickly to inbound inquiries.

    OTRS Requirements

    Apache Web server
    Mysql or Postgresql Database
    Perl 5.8,Perl Modules

    Install OTRS in debian

    If you want to install otrs in debian sarge you need to use the following command

    #apt-get install otrs

    If you want to install otrs in debian etch you need to use the following command

    #apt-get install otrs2

    This will start the installation process and if you want to configure database using dbconfig-common you need to select yes in the following screen and press enter in this example i am configuring using dbconfig-common.

    Now you need to select which database you want to use in this example i am using Mysql database select ok and press enter

    You need to enter the database administrative user password select ok and press enter

    Now you need to enter the mysql application password for otrs select ok and press enter

    This will complete the installation.

    Now you need to access otrs using the following URL

    http://your server ip/otrs/index.pl for admin access

    You should see the following screen

    Now you need to use the following username and password to login

    Username :- root@localhost

    Password :- root

    Once you login in to the otrs you should see the following screen

    If you want to give customer interface use the following url

    http://your server ip/otrs/customer.pl

    Now if you want to know how to use otrs you need to check otrs documentation

    Possible Error and Solution

    When you try to access http://your server ip/otrs/index.pl to login you can see the following error

    Problem

    no connection to syslog available - /dev/log is not a socket at /usr/share/otrs//Kernel/System/Log/SysLog.pm line 64

    Solution

    Edit the /usr/share/otrs/Kernel/Config/Defaults.pm file and un comment the following lines

    $Self->{’LogModule’} = ‘Kernel::System::Log::File’;
    $Self->{’LogModule::SysLog::Facility’} = ‘user’;
    $Self->{’LogModule::LogFile::Date’} = 0;

    Restart your apache web server using the folloing command

    #/etc/init.d/apache2 restart

    Tags: , , , , , , , ,

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

    How to install OTRS (Open source Ticket Request System) in Debian

    OTRS is an Open source Ticket Request System (also well known as trouble ticket system) with many features to manage customer telephone calls and e-mails. The system is built to allow your support, sales, pre-sales, billing, internal IT, helpdesk, etc. department to react quickly to inbound inquiries.

    OTRS Requirements

    Apache Web server
    Mysql or Postgresql Database
    Perl 5.8,Perl Modules

    Install OTRS in debian

    If you want to install otrs in debian sarge you need to use the following command

    #apt-get install otrs

    If you want to install otrs in debian etch you need to use the following command

    #apt-get install otrs2

    This will start the installation process and if you want to configure database using dbconfig-common you need to select yes in the following screen and press enter in this example i am configuring using dbconfig-common.

    Now you need to select which database you want to use in this example i am using Mysql database select ok and press enter

    You need to enter the database administrative user password select ok and press enter

    Now you need to enter the mysql application password for otrs select ok and press enter

    This will complete the installation.

    Now you need to access otrs using the following URL

    http://your server ip/otrs/index.pl for admin access

    You should see the following screen

    Now you need to use the following username and password to login

    Username :- root@localhost

    Password :- root

    Once you login in to the otrs you should see the following screen

    If you want to give customer interface use the following url

    http://your server ip/otrs/customer.pl

    Now if you want to know how to use otrs you need to check otrs documentation

    Possible Error and Solution

    When you try to access http://your server ip/otrs/index.pl to login you can see the following error

    Problem

    no connection to syslog available - /dev/log is not a socket at /usr/share/otrs//Kernel/System/Log/SysLog.pm line 64

    Solution

    Edit the /usr/share/otrs/Kernel/Config/Defaults.pm file and un comment the following lines

    $Self->{’LogModule’} = ‘Kernel::System::Log::File’;
    $Self->{’LogModule::SysLog::Facility’} = ‘user’;
    $Self->{’LogModule::LogFile::Date’} = 0;

    Restart your apache web server using the folloing command

    #/etc/init.d/apache2 restart

    Tags: , , , , , , , ,

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