Posts by Nuxwin

    @Marcel


    Too late because we have already the domain names. Sorry


    But right now, instead of create new fork last suggested strongly by Joximu :huh: , you can help us to improve the current one.. ;)

    [size=medium]How to compile and install FileZilla 3.3.3 on Debian Lenny[/size]


    For the record, FileZilla is one of the most popular Ftp client that is used by a large community of users, specially under Windows. Unfortunately, Debian Lenny provides a old version of this software (3.0.11.1), so, it's good to know how to compile and install the last available version of this software from the source tarball.


    Well, to resume, this howto describes the procedure that must be followed to compile and install the last version of FileZilla on Debian Lenny.


    ***


    ******


    ***



    Dependencies installation
    ~~~~~~~~~~~~~~~~~~~~


    To compile FileZilla and also two other libraries (see below), we must install a lot of packages. This can be done by executing the following commands:


    1. Installation of the required libraries and tools:


    Code
    1. # aptitude update # aptitude install build-essential flex bison gettext \libgcrypt11-dev libtasn1-3-dev zlib1g-dev libgpg-error-dev \libgtk2.0-dev python-all-dev python-all-dbg python-central \zlib1g-dev libjpeg62-dev libpng12-dev libtiff4-dev libsm-dev \libgl1-mesa-dev libglu1-mesa-dev libesd0-dev \libgnomeprintui2.2-dev libgconf2-dev libgstreamer0.10-dev \libgstreamer-plugins-base0.10-dev bc libidn11-dev libdbus-1-dev


    ***


    ******


    ***


    Now, we must get and install manually two libraries that are required to compile Filezilla. These librairies are GnuTLS and wxWidgets. Of course, Debian provides the packages for them but the provided versions are too old.


    GnuTLS library
    ~~~~~~~~~~~~


    1. Get the latest available tarball of the GnuTLS library and extract it:


    Code
    1. $ mkdir -p ~/Desktop/FileZilla/needed_libraries$ cd ~/Desktop/FileZilla/needed_libraries$ wget -c ftp://ftp.gnupg.org/gcrypt/gnutls/gnutls-2.8.6.tar.bz2$ tar -xjf gnutls-2.8.6.tar.bz2


    This accomplished, we should run the configuration script and make the compilation:


    2. Configuration and compilation:


    Code
    1. $ cd gnutls-2.8.6$ ./configure$ make


    Finally, we can install the GnuTLS library under /usr/local by executing the following commands:


    3. Installation:


    Code
    1. $ su# make install# exit


    wxWidgets library
    ~~~~~~~~~~~~~~


    1. Get the latest available tarball of the wxWidgets library and extract it:


    Code
    1. $ cd ~/Desktop/FileZilla/needed_libraries$ wget -c http://downloads.sourceforge.net/project/wxwindows/wxAll/2.8.10/wxWidgets-2.8.10.tar.gz?use_mirror=garr$ tar -xzf wxWidgets-2.8.10.tar.gz


    This accomplished, we should run the configuration script and make the compilation:


    2. Configuration and compilation:


    Code
    1. $ cd wxWidgets-2.8.10$ ./configure --with-gtk --enable-unicode --disable-compat24 --enable-optimise$ make


    Finally, we can install the wxWidgets library under /usr/local by executing the following commands:


    3. Installation:


    Code
    1. $ su# make install# exit


    Ok now that the required libraries are installed, let's me explain how compile and install FileZilla


    FileZilla
    ~~~~~~~


    1. Get the latest available tarball of FileZilla and extract it:


    Code
    1. $ cd ~/Desktop/FileZilla$ wget -c http://d10xg45o6p6dbl.cloudfront.net/projects/f/filezilla/FileZilla_3.3.3_src.tar.bz2$ tar -xjf FileZilla_3.3.3_src.tar.bz2


    This accomplished, we should run the configuration script and make the compilation:


    2. Configuration and compilation:


    Code
    1. $ cd filezilla-3.3.3$ ./configure$ make


    Finally, we can install FileZilla under /usr/local by executing the following commands:


    3. Installation:


    Code
    1. $ su
    2. # make install
    3. # exit


    Ok, FileZilla is now installed but how to launch it ? The response is quick simple:


    Just go to your Application -> internet menu and click on the FileZilla item.


    Enjoy ;

    The main problem with the current version is that all objects (domain, dns, mail) are considered as an unique entity. We shouldn't redo the same error here. So, when a domain is added, if setup of one object (DNS, mail...) that compose the entity fail, the recovery process should only take care of what that was failed... For that we will have to provide a error management per object (Mail, DNS ...) status. Since the data in GUI are normalized, that will change nothing the main database. Only error notification will be sent to the administrator/reseller. And then, the administrator have to take care only about errors per object and not to regenerate all the configuration.... Sure, an specific per object debug interface should be provided too.


    Note: Sorry for my poor english here, Hard for me to explain who I see the concept.

    Hello friends ,


    First, sorry for the delay:


    I post here a little discussion that is linked to the both Joximu and kassah proposals:


    <nuxwin> I'm very tired with the current version
    <nuxwin> very shit
    <nuxwin> we will adopt joximu idea to start new version from scratch
    <nuxwin> to resume
    <nuxwin> data are added in GUI database but
    <sci2tech> engine do shit, gui just write in database?
    <nuxwin> GUI do nothing more
    <nuxwin> yes
    <nuxwin> with event handler for queue job
    <nuxwin> sound like scheduled tasks for each servers
    <sci2tech> ok from me. but there are some problems with this ftp as sql management. but can be done
    <nuxwin> I explain to you, imagine the following:
    <nuxwin> I've only GUI and database on one server
    <nuxwin> on other server, I've services such as Apache, php, ftp..
    <nuxwin> and on other, I've Database server for customers
    <nuxwin> and on other, I've mail service ....
    <nuxwin> Imagine now I adds a mail account from the GUI
    <nuxwin> then, the GUI will just adds the relevant data in GUI in normalized way
    <nuxwin> and will add ADD_MAIL event in queue
    <nuxwin> and then, he will notify all servers
    <nuxwin> then, all servers will look at the queue to see if he have awaiting task
    <nuxwin> and do it if yes
    <nuxwin> So, what you think about that ?
    <nuxwin> Hard to explain but I think you got the idea
    <nuxwin> so on, for example, the mail server will run this own engine part for mail
    <sci2tech> yes
    <nuxwin> take the data in the database
    <nuxwin> and then, will add the account data like he want
    <nuxwin> About customer Database now
    <nuxwin> the GUI will only add relevant data for new database and user in normalized way too
    <nuxwin> but will not create the database and user
    <nuxwin> instead of that, he will adds event in queue
    <nuxwin> such as ADD_SQLD and will notify the servers for event
    <nuxwin> and then, the server for database will do the job
    <nuxwin> but ok, still the problem of SQL users linked to the databases
    <nuxwin> BTW, we should fin a way to link user to customers databases
    <nuxwin> but you got the idea ?
    <nuxwin> by doing like this, for example, if one user want not use the daemon at all, h ecan!
    <nuxwin>I mean, he can just add cron task on each servers to look at event queue sometime, and then do the job if one is scheduled...
    <nuxwin> you got the idea ?
    <sci2tech> yes
    <sci2tech> but for service
    <nuxwin> what you don't understand ?
    <sci2tech> Mysql will be same for all servers?
    <nuxwin> in fact Mysql for the ispCP GUI database yes
    <nuxwin> but with the idea we can have more than one mysql server for customer's databases and also, service such as Proftpd can have this own database on main Mysql server or another server..
    <nuxwin> but right all services server will take data and see queue from same SQL server
    <nuxwin> btw: (The Mysql server that host the GUI database)
    <sci2tech> if all servers take data from same server for ftp
    <nuxwin> what about ftp
    <sci2tech> ftp read data directly from db for connection
    <nuxwin> ok I explain
    <nuxwin> for ftp
    <sci2tech> why wait engine to add this data when GUI can do it faster?
    <nuxwin> because with that user can use easily other ftp server than proftpd
    <nuxwin> I explain
    <nuxwin> 1. The GUI will only store username and password and mount_point for ftp account in normalized way
    <nuxwin> and will add event such as ADD_FTP in queue
    <nuxwin> then, the server in charge of FTP service will look at the queue and see a task for him and then, he will launch this own script to adding ftp account
    <nuxwin> he will transform data FROM GUI like he want. He can store it in flat file or in specific database (like he want...). That allow also to use other Ftp server than proftpd as long plugin for engine is provided. Same concept for all other services sucha as postfix, courier....
    <sci2tech> ah ok
    <sci2tech> right
    <sci2tech> this way we can use server that do not use Mysql ;)
    <nuxwin> yes
    <sci2tech> this way we can use ftp server that do not use Mysql ;) but plain file
    <sci2tech> ok agree with that
    <nuxwin> yes
    <sci2tech> also we can split databases over multiple Mysql servers
    <nuxwin> yes
    <sci2tech> ok. joximu proposal has my support
    <nuxwin> hehe
    <nuxwin> Will report our discussion
    <nuxwin> in the forum to show joxi
    <sci2tech> great
    <nuxwin> we have understand
    <nuxwin> I've only add the kassah event handler proposal here
    <sci2tech> great
    <sci2tech> love this 2 guys
    <nuxwin> yeah