Protein Production
293FT, 293E, CHO

Truly Functional Protein
95% Purity
1-10 mg in 2 weeks

GeneExpressoMax™
293Expresso™

Transfection Reagents
* 90% Efficiency
* 95% Viability
* No sera interference
* Simple protocol
* High-throughput
* Only $98/ml

Baculovirus
Functional Protein
95% Purity
Fast turnaround
1-10 mg from Sf9 cells

Adenovirus, AAV
& Lentivirus

ORF or shRNA
* High Titer
* Cre, FLP, ΦC31
* Protein Kinases
* Transcription Factors
* Luciferases, GFP, RFP
* Protein Production
* Stable Cell Line


Excellgen

Archive for April, 2008

How to install Open Source Ecommerce Magento Software and PHP 5.2 on CentOS 5 Linux

Magento is a new, feature-rich open source ecommerce software, it is much better than ecommerce software developed with PHP such as OSCommerce, Zen Cart, X-Cart, CubeCart etc. I believe someday it will be another Zimbra.

To install Magento on CentOS 5, you need to install PHP 5.2, which is not available for current CentOS version.

1, Add Jason Litka’s yum repository to your yum repository.

rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

yum utterramblings http://www.jasonlitka.com/media/EL5/i386/

vi /etc/yum.repos.d/utterramblings.repo :

[utterramblings]
name=Jason’s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL5/i386/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

yum update

2, Install php-mcrypt

yum install php-mcrypt

3, Restart Apache

apachectl restart

4, Fix Zen Cart if you are running an old version of the software and you see these errors in the error log file:

PHP Fatal error: Call to a member function Execute() on a non-object in /xxx/xxx/zcart/includes/functions/sessions.php on line 61

edit /xx/xxx/zcart/includes/functions/sessions.php, change

    function _sess_write($key, $val) {
      global $db;
      global $SESS_LIFE;

to

   function _sess_write($key, $val) {
      // The following is only to work around a PHP 5.2.0 bug:
      global $db;
      if (!is_object($db)) {
        //PHP 5.2.0 bug workaround ...
        $db = new queryFactory();
        $db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
      }

      global $SESS_LIFE;

5, Install APC (Alternative PHP Cache) cache

yum install php-pear

yum install php-devel httpd-devel

yum groupinstall ‘Development Tools’

yum groupinstall ‘Development Libraries’

pecl install apc

press enter when

the install stop at this line:

1-1, ‘all’, ‘abort’, or Enter to continue:

create a file /etc/php.d/apc.ini with the following lines

extension=apc.so
apc.enabled=1
apc.shm_size=30

restart apache

/etc/init.d/httpd restart

6, Create a phpinfo.php file and check if Apc is enabled

<?php phpinfo(); ?>

7, Now you are ready to install Magento

8, If your WordPress is not working after installing apc, you may want to remove apc.ini from /etc/php.d/.

9, If you see the following error in apache error log:

[warn] RewriteCond: NoCase option for non-regex pattern ‘-f’ is not supported and will be ignored

You should change the following line in your .htaccess or httpd.conf

RewriteCond %{REQUEST_FILENAME} !-f [NC]

to

RewriteCond %{REQUEST_FILENAME} !-f

or remove the entire line

Technorati : , ,

Tags: , , ,

Comments

April 28, 2008 at 8:20 pm ·

WordPress Social Bookmarks Plugins: “Share This” vs “Social Bookmarks”

After installing Alex King’s “Share This” plugin I found my blog site was super slow. I checked the code and found out the problem is the javascript used by “Share This” plugin was not installed locally –it was downloaded from http://sharethis.com every time the page was viewed. In another word, your web site will be slow if sharethis.com is slow.

So you should uninstall Alex King’s stuff and install Social Bookmarks Plugin for WordPress from http://www.dountsis.com/projects/social-bookmarks.

Technorati : , , ,

Tags: , , ,

Comments (1)

April 23, 2008 at 11:13 am ·

How to fix Apache error child pid exit signal Segmentation fault (11) after installing WordPress 2.5

Maybe one of the plugins I installed for WordPress 2.5 is not compatible with Python or fail2ban, I got these kind of error message:

[Sun Apr 20 05:55:00 2008] [notice] child pid 11360 exit signal Segmentation fault (11)
[Sun Apr 20 05:55:02 2008] [notice] child pid 11367 exit signal Segmentation fault (11)

So I moved python.conf from /etc/httpd/conf.d to /etc/httpd directory, and now it is working again.

Tags:

Comments (1)

April 22, 2008 at 9:12 pm ·

Directory index forbidden by Options directive: /var/www/html/

If you see httpd errors like this in /var/log/httpd/error_log:

Sun Apr 13 02:58:22 2008] [error] [client ::1] Directory index forbidden by Options directive: /etc/httpd/htdocs/

Create an index.html file under in /etc/httpd/htdocs/ directory,

Then, edit welcome.conf in /etc/httpd/conf.d directory:

<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>

Change it to this:

<LocationMatch "^/+$">
Options Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>

Problem will be solved

Tags:

Comments (1)

April 21, 2008 at 9:08 pm ·

Automated Backup of Remote Linux Server to Local USB Disk using Rsync and Cygwin

1, Install Cygwin

download Cygwin http://www.cygwin.com/ and install on your PC

2, Generating public/private dsa key pair, do not enter password ( when asked for to enter passphrase, just press [ENTER] key twice.)


$ ssh-keygen -t dsa

Generating public/private dsa key pair.
Enter file in which to save the key (/home/Alan/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/Alan/.ssh/id_dsa.
Your public key has been saved in /home/Alan/.ssh/id_dsa.pub.
The key fingerprint is:
5a:56:7e:7d:4b:00:a0:56:09:34:f0:8f:dd:71:32:9c Alan@MyLaptop

3, Copy public key to remote server:

scp ~/.ssh/id_dsa.pub root@xxx.com:.ssh/authorized_keys

4, Make sure you keep your laptop in safe place because now anybody can login to your remote server from your labtop without a password.

5, Create a backup directory on USB disk and creacte a backup script

$ mkdir /cygdrive/f/backup
$ mkdir /cygdrive/f/backup/disk2
$ mkdir /cygdrive/f/backup/home
$ mkdir /cygdrive/f/backup/root

$vi backup.sh

#!/bin/sh

rsync --exclude '*.log' -avz -e ssh root@xxx.com:/home/ /cygdrive/f/backup/home
rsync $ -avz -e ssh root@xxx.com:/disk2 /cygdrive/f/backup/disk2
rsync $ -avz -e ssh root@xxx.com:/root /cygdrive/f/backup/root

$chmod 755 ./backup.sh

6, Create a cron job

crontab -e

0 0 * * * //backup.sh >/dev/null &
#* min (0 - 59) * hour (0 - 23) * day of month (1 - 31) *month (1 - 12) day of week (0 - 6) (Sunday=0)

Tags:

Comments (1)

April 20, 2008 at 10:29 pm ·

Next Page » Next Page » Next »