Linux

View: New views
9 Messages — Rating Filter:   Alert me  

Linux

by Eduardo-34 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all!

I have a program run under Windows, and it works fine.
I use VS2005 and Firebird .NET Data Provider.
The Server is Windows Server 2003 and the clients are WXP.
I am using .net Compact Framework 2 sp 2 with FirebirdClient-1.5.2 to access
FireBird 1.5 SS.

I would like to change the Server to Linux.
The same code, will it work ?

Thanks



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Linux

by Jiri Cincura :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 8/14/07, Eduardo <eduardo.lima@...> wrote:
> I would like to change the Server to Linux.
> The same code, will it work ?

Yes.

--
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Linux

by Helen Borrie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

At 04:00 AM 15/08/2007, you wrote:

>Hello all!
>
>I have a program run under Windows, and it works fine.
>I use VS2005 and Firebird .NET Data Provider.
>The Server is Windows Server 2003 and the clients are WXP.
>I am using .net Compact Framework 2 sp 2 with FirebirdClient-1.5.2 to access
>FireBird 1.5 SS.
>
>I would like to change the Server to Linux.
>The same code, will it work ?

In principle, it can.   On the whole this is not a .NET provider
issue at all, provided your application code and databases have been
created with interoperability in sight.  However, if you hard-coded
file paths into your application, or used Full settings for
configuring the server's access to things like UDFs, or if you
defined external tables in your database, you will have to do some changes.

Except for external tables, all of the other changes will keep your
application workable on Windows, too.  You would just use a different
firebird.conf file for each host environment.

In summary:  a database alias should be used for the database file
path and your apps should always use the alias.  All configurations
that access external objects (UDFs, blob filters, etc.) should be
RESTRICT or NONE, with the hard paths configured in
firebird.conf.  The server's hostname should be made configurable by
the client (by a Registry setting or .ini file, or by user input).

If you have any UDFs or blob filters declared in the database, fix up
the issues before you back up the database for transportation.  (And
do make sure that a version of your UDF is actually available for Linux!)

As for external tables, you should drop them from the database before
you back up ready for transporting.  You can recreate them with a
script once you have ported the database and created a location on
the Linux server for them.

Helen


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Linux

by Eduardo-34 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all!

Server Linux:
Debian 4.0
Firebird 2.0.1 CS

Client WXP:
FirebirdClient ADO.NET 2.0

Work perfect!

Knowing that you are there has made it possible.
When I finish testing I will prepar a little HowDo.
Thanks



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Linux

by juliosm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eduardo-34 wrote:
Hello all!

Server Linux:
Debian 4.0
Firebird 2.0.1 CS

Client WXP:
FirebirdClient ADO.NET 2.0

Work perfect!

Knowing that you are there has made it possible.
When I finish testing I will prepar a little HowDo.
Thanks
Hi Eduardo,

Are you using the firebird dot net provider for compact framework?
I'm interested to develop an pocket pc application that access a remote firebird database,
so, i'm really interested in your HowTo :)

Thanks in advance.

Julio

Re: Linux

by Eduardo-34 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all!

I'm not using FB Compact, at this moment .. :)

Install Linux-Debian 4.0.
I don't have any problem with the hardware fortunately, so "next, next".

Install FB 2.0.1 Classic server.
Donwload FB Classic Server 2.0.2  .tar.gz
Extract ...
In the folder you extract, you can see de "install.sh" file.
Execute to install.
Be careful with the permissions and paths (you must be "superuser" to
install this)
I use the "Root console". Or something like this.

->SrvLinux:/home/user# cd /home/user/FB Folder/  ----- "folder was extracted
FB CS"
->SrvLinux:/home/user/FB Folder# install.sh

At this point you can get one error ... loading "libstdc++.so.5"
Don't worry ...
I execute ... Package management tool Synaptic. To add the Debian CD-4
Packages.
and then install it ..
->SrvLinux:/home/user/FB Folder# apt-get install libstdc++5
I am sure you can find others ways to do this.
Execute ...
->SrvLinux:/home/user/FB Folder# install.sh

Eurika, FB CS 2.0.2 is installed now!

Maybe you need to mantain user account, to access the FB server.
You can find the "gsec" utility to manage users accounts.
/opt/firebird/bin/gsec
->GSEC> add username -pw password

To traslatate DB betew Windows and Linux ... You can use ..
gbak -t -user sysdba -password masterkey DataBase.FDB DataBase.FDK

That's all for now folks.




"juliosm" <juliosaucedo@...> escribió en el mensaje
news:12352297.post@......

>
>
> Eduardo-34 wrote:
>>
>> Hello all!
>>
>> Server Linux:
>> Debian 4.0
>> Firebird 2.0.1 CS
>>
>> Client WXP:
>> FirebirdClient ADO.NET 2.0
>>
>> Work perfect!
>>
>> Knowing that you are there has made it possible.
>> When I finish testing I will prepar a little HowDo.
>> Thanks
>>
>>
>
> Hi Eduardo,
>
> Are you using the firebird dot net provider for compact framework?
> I'm interested to develop an pocket pc application that access a remote
> firebird database,
> so, i'm really interested in your HowTo :)
>
> Thanks in advance.
>
> Julio
> --
> View this message in context:
> http://www.nabble.com/Linux-tf4270014.html#a12352297
> Sent from the firebird-net-provider mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Firebird-net-provider mailing list
> Firebird-net-provider@...
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Linux

by Jiri Cincura :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 8/29/07, Eduardo <eduardo.lima@...> wrote:
> Hi all!
>
> I'm not using FB Compact, at this moment .. :)

I do. :) I've written some small apps. with CF & FB few weeks ago.

--
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Linux

by juliosm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Some sample code for common task would be very appreciated,
specially for a .net&CF novice :)

According to this

http://firebirdsql.org/dotnetfirebird/blog/2007/03/sample-code-on-dotnetfirebird-forums.html

in the dotnetfirebird forums, sample code can be found, but apparently
the forums site is down :(

> On 8/29/07, Eduardo <eduardo.lima@...> wrote:
>> Hi all!
>>
>> I'm not using FB Compact, at this moment .. :)
>
> I do. :) I've written some small apps. with CF & FB few weeks ago.
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Re: Linux

by Jiri Cincura :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 9/1/07, Julio Saucedo <juliosaucedo@...> wrote:
>
> Some sample code for common task would be very appreciated,
> specially for a .net&CF novice :)

What you exactly need? Working with ADO.NET in CF is in general ways
same as ADO.NET in "big" FW.

--
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@...
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider