New lighttpd-1.3.10 gentoo ebuild

Posted by sto Thu, 10 Feb 2005 00:19:00 GMT

Today I made a new light-1.3.10 gentoo ebuild . The one in the portage (even unstable one – ~x86) is still 1.3.5. My ebuild have some small cosmetic changes:
  • add new group lighthtpd (the original ebuild using root group)
  • pid file moved to separate directory – /var/run/lighttpd/. I’m using this directory also for FCGI sockets

The example config for using with rails is also available

Posted in Programing, SysAdmin | no comments | no trackbacks

BgJap Archives

Posted by sto Mon, 08 Nov 2004 22:41:32 GMT

Have already articles archives. The code behign them is rss_suparchive

Posted in General | no comments | no trackbacks

Ruby Knowledge Base

Posted by sto Thu, 04 Nov 2004 10:16:36 GMT

Started to accumulate in the Wiki some useful hints for RoR development, a sort of Ruby Knowledge Base

Posted in Programing, Ruby | no comments | no trackbacks

BgJap on Shell

Posted by sto Thu, 28 Oct 2004 13:59:00 GMT

Finally got a shell (zsh). Message from Ryan: shell access is a privilege here on TextDrive, not a right. Thank you guys. Environment: gcc 2.95 and gcc 3.2.3 (like gcc32), ruby 1.8.1, python 2.3.4. And some geeky zsh prompt for the final (not like Phil's prompt ), but still pretty useful:

PS1="[%B%n%b@%m:%h] - [%~]%$ " 
RPS1="[%D %T]" 

looks like:

[user@machine:112]-[~/www]>               [04-10-28 7:00]

Posted in General | no comments | no trackbacks

BgJap Wiki

Posted by sto Wed, 27 Oct 2004 22:36:00 GMT

I have already wiki . Using instiki , because it's Textile based, so I can easy exchange documents between my blog and the wiki. Thanks to Ryan@TextDrive for the help on setting it.

Posted in General | no comments | no trackbacks

Using TextDrive

Posted by sto Wed, 27 Oct 2004 14:24:00 GMT

During the last days accumulated some useful (maybe only for me) tips for using Text Drive

Common Security

created several users with specific permitions.
  • user1 : the default, coming with signup. Only MYSQL access for creating databases. Also email for annoncements.
  • user2 : only email access – sometimes the access is ove unsecure protocols (POP3 etc.). Subscribed it to the “Announces” and “Status” ML.
  • user3 : SVN, DAV access. Main development account. No emails
  • user4 : MYSQL only access – for using in rails, textpattern etc. No emails.

MySQL

the databases names need to be username_... From the signup email: for example, user-weblog would be a valid database name , but this not-working . Web interface on http://bgjap.net/mysql/ . Better access it with your primary user account when creating databases and with your database account for tables and entries.

Dav

access on http://bgjap.net/dav/ – require username@domain for authentication

Still haven't shell access so i tryed to work via the Webmin interface. Difficult :/

Rails

Webmin | Running Processes | Run…

rails /home/username/rails

Choice some directory
outside of web access one (public_html) Webmin | Apache Webserver | Aliases and Redirects | Document directory aliases: From: /rails To: /home/user/rails/public Edit _rails/public/.htaccess – add /rails before /dispatch. : my rails .htaccess . Access: http://domain/rails/controller_name – CGI, http://domain/rails/fcgi/controller_name – FastCGI, http://domain/rails/mruby/controller_name – mod_ruby (not working still for me). Creating containers and models: Webmin | Running Processes | Run…

cd /home/user/rails; script/new_controller Blog

End – this list entry is just because Textpattern have some problems when the last entry contains pre tag – the next paragraph also becomes part of the list !?

Not sure if there is instiki is preinstalled so i made my own install

Instiki

Uncompress the tarball somewhere outside of the web root: /home/user/instiki-0.9.1 for example Create storage directory inside (let' pickup port 3777 to run the wiki on): /home/user/instiki-0.9.1/storage/3777 Webmin | Running Processes | Run…

cd /home/user/instiki-0.9.1; ruby instiki.rb -p 3777

TODO: redirect wiki.domain.com → :3777

Posted in Gems | no comments | no trackbacks

Unstable service

Posted by sto Tue, 26 Oct 2004 23:44:00 GMT

Recently there was some downtime My ticket for additional stuff, like postgresql, shell etc. still pending. The email was send during the problems period, so maybe I’ll need to resend it. Tomorrow is the last day of waiting.

Posted in General | no comments | no trackbacks

Rewriting does not working anymore

Posted by sto Tue, 26 Oct 2004 17:12:12 GMT

Trying to move Textpattern to another directory. The articles links stop working :/

Posted in General | no trackbacks

[RoR] Disable page caching

Posted by sto Tue, 26 Oct 2004 13:49:00 GMT

In abstract_application controler:

before_filter { @headers["Cache-Control"] = 'no-cache' }

Posted in Programing, Gems | no comments | no trackbacks

Hosted on TextDrive

Posted by sto Tue, 26 Oct 2004 13:12:00 GMT

Recently I started studing Ruby , mostly because of the Ruby on Rails (RoR) framework. And in the same time there was an announcement for the new hosting company , by the several OpenSource projects authors, including RoR. That’s why I decided to get a hosting on TextDrive and testing my RoR stuf in production environment . Pretty happy until now with the recieved environment. Stay tuned…

Posted in General | no comments | no trackbacks

Older posts: 1 ... 11 12 13

Powered
Ruby Blogs Directory
Performa
Box.net Refer