Re: [Cppcms-users] Some build questions
Brought to you by:
artyom-beilis
From: Stanimir M. <sta...@zo...> - 2009-04-28 14:00:47
|
Greet advices, thanks a lot! The Virtual Private Server is a good choice if I was only a bit more knowledgeable at Linux, so I will take the easiest way for now with the embedded build of cppcms. Just asked my hosting company where configuring the web server to run fast-cgi application is possible and they responded negatively, even that they have Apache fastcgi-mod installed. Soon after getting more comfortable with Linux I will move to VPS. I will keep you informed of the progress! Greetings, Stanimir On Tue, Apr 28, 2009 at 4:08 PM, Artyom <art...@ya...> wrote: > >> I didn't manage to rewrite the small web utility as I >> promised but now >> we have some more serious project to do. I want to create a >> website >> with cppcms and for now it will be hosted to an ordinary >> host company >> with standard plan. As I said already, my experience with >> Linux is >> very small, and it is easier for me to ask you what should >> be >> available from my hosting company in order to install >> cppcms and run >> my web application? > > You need an ability to run COMPILED srcipts via at least CGI > interface, when FastCGI/SCGI is strongly recommended. > > >> Now with the hosting company i will be definitely >> more >> restricted and without sudo abilities :) > > Most of chances you need to access to shell prompt and ability to > upload compiled software, also you should need an ability to > configure the web server to start FastCGI applications and run them. > > You may do simplest check and compile tiny C++ FastCGI application > using libfcgi that just prints hello world and try running it on your > hosting system. > > Start from writing "hello world" CppCMS application, uploading and testing > by using "ldd hello.fcgi" what libraries are you missing and then compiling > them statically. > > My may check ./configure flags and disable features that are not madatory, > like: --disable-forkcache --disable-tcpcache --disable-crypt --disable-sqlite, depending on your needs. > > Also, you may try to work with CGI API, for example compile the > system as "embedded", but it would not have any cache and will not > be able to give high performance as expected. > >> For wikipp you are using sourceforge to be hosted, and I >> thought that >> you have some easy steps to follow and install cppcms to a >> hosting >> company with restricted rights. > > No, CppCMS is not hosted on sourceforge, it is just a static mirror > of primary wiki site. > > So to be on safe side, the best is Virtual Private Server that today > are quite cheep. > > Second point, that you probably need to compile as more libraries as > you can statically, if you you would be able not to worry about libraries. > > > Regards, > Artyom > > P.S.: I'd be glad to get some feedback on your progress. > >> >> Thanks in advance for your answer! >> Stanimir >> >> >> On Sat, Feb 7, 2009 at 11:10 PM, Artyom <art...@ya...> >> wrote: >> > >> >> It works like a charm now! Thanks for your >> effort! >> > >> > Thanks for the problem reports. They are very >> important. >> > >> >> >> >> I did compile some of the examples also, and now I >> am going >> >> to enjoy >> >> writing some more cppcms tryouts until i get >> familiar and >> >> prove some >> >> concepts. >> > >> > I would be glad to recieve some feedback. >> > >> >> My next step is to use cppcms to rewrite one small >> asp.net >> >> application >> >> (mostly tool) which is really slow at the moment. >> This will >> >> verify my >> >> big expectations in cppcms and c++. I will post >> the results >> >> when it is >> >> finished. >> > >> > Yes, I would be glad to get a feedback on positive and >> negative >> > points, things that should be improved and so on. >> > >> > Artyom >> > >> > >> > >> > >> > >> >> ------------------------------------------------------------------------------ >> Register Now & Save for Velocity, the Web Performance >> & Operations >> Conference from O'Reilly Media. Velocity features a full >> day of >> expert-led, hands-on workshops and two days of sessions >> from industry >> leaders in dedicated Performance & Operations tracks. >> Use code vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |