sudo make sandwich
Tags: sudo make sandwich
Category: Web
When i install ffmpeg-php on a plesk server, i got following error
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so: undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0
This is caused by loading ffmpeg.so before gd.so
To fix the error, i edited
vi /etc/php.d/gd.ini
added following as last line
extension=ffmpeg.soSymfony is a PHP RAD framework like Zend Framework, CakePHP, etc… They have been using subversion for version control. Today while checking language section of github.com, i found Symfony version 2 is using git for source control.
See the announcement at symfony blog
http://www.symfony-project.org/
Other opensource project like CakePHP, Gallery 2, etc.. are using git for source control.
Pro Git is git book, that is available in print and online. Online version is free to use, can be found at
On ubuntu , when i run git svn, i get following error
root@hostonnet:/usr/local/zend/share# git svn clone http://framework.zend.com/svn/framework/standard/trunk git: 'svn' is not a git-command. See 'git --help'. root@hostonnet:/usr/local/zend/share#
This is fixed by installing git-svn
sudo apt-get install git-svn
Google is taking bold step towards ending usage of old browsers by supporting only latest browsers for their web sites.
Good move as it will make users using old browsers upgrade to latest, will make web sites displayed more consistently and make job of web designers easier.
Dear Google Apps admin,
In order to continue to improve our products and deliver more sophisticated features and performance, we are harnessing some of the latest improvements in web browser technology. This includes faster JavaScript processing and new standards like HTML5. As a result, over the course of 2010, we will be phasing out support for Microsoft Internet Explorer 6.0 as well as other older browsers that are not supported by their own manufacturers.
We plan to begin phasing out support of these older browsers on the Google Docs suite and the Google Sites editor on March 1, 2010. After that point, certain functionality within these applications may have higher latency and may not work correctly in these older browsers. Later in 2010, we will start to phase out support for these browsers for Google Mail and Google Calendar.
Google Apps will continue to support Internet Explorer 7.0 and above, Firefox 3.0 and above, Google Chrome 4.0 and above, and Safari 3.0 and above.
Starting this week, users on these older browsers will see a message in Google Docs and the Google Sites editor explaining this change and asking them to upgrade their browser. We will also alert you again closer to March 1 to remind you of this change.
In 2009, the Google Apps team delivered more than 100 improvements to enhance your product experience. We are aiming to beat that in 2010 and continue to deliver the best and most innovative collaboration products for businesses.
Thank you for your continued support!
Sincerely,
The Google Apps team
Tags: browser, browser support, google, old browser
Category: Web
Linus Torvalds talk about git in google teach talk.
Every subversion and CVS users must watch this video.
we have switched from subversion to git as it allow partial commit (that is you commit part of changes in a file) and it allow you to commit offline, then push to any number of remote repository.
Tags: Git, Linus Torvalds, Linus Torvalds on git
Category: Git
When i try to clone a svn project to git, i got error
root@server70 [~/lxlabs/git]# git svn clone http://svn.lxcenter.org/svn/hypervm Can't locate SVN/Core.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/libexec/git-core/git-svn line 39. root@server70 [~/lxlabs/git]#
This error is fixed by installing subversion-perl
yum install subversion-perlCreate file yum_update.sh
vi /etc/cron.daily/yum_update.sh
With following content
#!/bin/bash /usr/bin/yum -y -R 120 -d 0 -e 0 update yum /usr/bin/yum -y -R 10 -e 0 -d 0 update
-e 0 -d 0 are to only show critical errors.
-R adds random delay between command execution.
Make it executable
chmod 755 /etc/cron.daily/yum_update.sh
Tags: auto update, auto yum update, cron, cronjob, yum, yum update
Category: Linux
When i run yum update i get error
[root@server12 ~]# yum update ..... ..... some text removed ..... ERROR with rpm_check_debug vs depsolve: fipscheck conflicts with fipscheck-lib-1.2.0-1.el5.x86_64 Complete! (1, ['Please report this error in bugzilla']) [root@server12 ~]#
This is caused by both 32 and 64 bit version installed.
[root@server12 ~]# rpm -qa fipscheck fipscheck-1.0.3-1.el5 fipscheck-1.0.3-1.el5 [root@server12 ~]#
I got the error fixed by
yum remove fipscheck
This will also remove package “nss_ldap”.
Tags: error, fipscheck, yum, yum update
Category: Linux