Skip to content

Commit

Permalink
completed formatting and comments:true for all 2008 posts
Browse files Browse the repository at this point in the history
  • Loading branch information
gerold committed Jul 3, 2012
1 parent 0a7607d commit 8fe7450
Show file tree
Hide file tree
Showing 41 changed files with 375 additions and 637 deletions.
@@ -1,4 +1,5 @@
---
comments: true
published: true
date: '2008-06-04 05:38:20'
layout: post
Expand All @@ -13,13 +14,14 @@ author: gerold-mercadero

To install Subversion (SVN) login to your server (shell) and execute:

```
yum install subversion
```

If `perl-URI` is not installed edit `/etc/yum.conf` and remove `perl*` then execute:

```
yum install perl-URI
```

Restore `perl*` on `/etc/yum.conf`.



@@ -1,5 +1,6 @@
---
published: true
comments: true
date: '2008-06-04 05:11:20'
layout: post
slug: install-wordpress-with-subversion
Expand All @@ -13,6 +14,8 @@ author: gerold-mercadero

To install Wordpress with Subversion you need shell access to your server and have Subversion installed. To start, login to your server (shell) and go to directory where you want to install Wordpress and execute this command:

```
svn co http://svn.automattic.com/wordpress/trunk/ .
```

Copy `wp-config-sample.php` to `wp-config.php`. Edit `wp-config.php` and enter database details. Access your blog url to complete installation.
24 changes: 8 additions & 16 deletions source/_posts/2008-06-12-down-time.markdown
@@ -1,4 +1,5 @@
---
comments: true
date: '2008-06-12 14:29:26'
layout: post
slug: down-time
Expand All @@ -14,32 +15,23 @@ published: true
author: andrew-kucharski
---

Any host or system admin hates the words "its not working" or "its down". When I see a big site take a hit or is town there are two reactions that I generally have:




* Site Down - those poor bastards (system admins) their life must suck right now

Any host or system admin hates the words *its not working* or *its down*. When I see a big site take a hit or is town there are two reactions that I generally have:

* Site Down - SEE!!! It happens to them too! No one is perfect! No one is immune!
* Site Down - those poor bastards (system admins) their life must suck right now

* Site Down - SEE!!! It happens to them too! No one is perfect! No one is immune!

Here is a story that elicited these feelings in today's Slashdot stories:


>
`+--------------------------------------------------------------------+
`
+--------------------------------------------------------------------+
| US Amazon.com Website Down For Over 1 Hour |
| from the there-goes-the-bottom-line dept. |
| posted by ScuttleMonkey on Friday June 06, @15:10 (The Internet) |
| [http://tech.slashdot.org/article.pl?sid=08/06/06/199211 ](http://tech.slashdot.org/comments.pl?sid=08/06/06/199211) |
+--------------------------------------------------------------------+

CorporalKlinger writes "CNET News is reporting that Amazon's US website, Amazon.com, has been unreachable since 10:30 AM PDT today. As of posting, visiting www.amazon.com produces an 'Http/1.1 Service Unavailable' message. According to CNET, "Based on last quarter's revenue of $4.13 billion, a full-scale global outage would cost Amazon more than [0]$31,000 per minute on average." Some of Amazon's international websites still appear to be working, and some pages on the US Amazon.com site load if accessed using HTTPS instead of HTTP."

Discuss this story at:
[http://tech.slashdot.org/comments.pl?sid=08/06/06/199211](http://tech.slashdot.org/comments.pl?sid=08/06/06/199211)
`

CorporalKlinger writes *CNET News is reporting that Amazon's US website, Amazon.com, has been unreachable since 10:30 AM PDT today. As of posting, visiting www.amazon.com produces an 'Http/1.1 Service Unavailable' message. According to CNET, "Based on last quarter's revenue of $4.13 billion, a full-scale global outage would cost Amazon more than [0]$31,000 per minute on average." Some of Amazon's international websites still appear to be working, and some pages on the US Amazon.com site load if accessed using HTTPS instead of HTTP.*

Discuss this story at: [http://tech.slashdot.org/comments.pl?sid=08/06/06/199211](http://tech.slashdot.org/comments.pl?sid=08/06/06/199211)
Expand Up @@ -14,44 +14,24 @@ tags:
- hosting
author: andrew-kucharski
published: true
comments: true
---

PrometHost offers best of class hosting for websites, databases, and other services such as email, domain registration, spam filtering, etc. We have recently made a decision to focus on three things for our hosting offering:
- security
- reliability
- scalability



* security
* reliability
* scalability

Performance is obviously important, and we help with performance on a case by case basis.




As with most businesses, we use third party tools and solutions to put together our offering. The value that we bring with our hosting offering depends on the processes and decisions along with the quality of implementation. We make decisions to use a reliable Data Center and provider of primary and secondary power and IP. We make decisions on hardware choices (HP, CISCO, etc), and software platforms (RedHat, cPanel, etc.) and software services (srsPlus, Netcleanse, etc). In terms of email – we chose an email server, spam service and configuration options. With the constant battle with spam bots, physhing scams, along with other more serious threats to data security we have decided to look for the best in class email service to offer to our clients so that we can focus on our core offerings.




We have looked at a number of options. Installing network filtering solutions such as [Barracuda ](http://www.barracudanetworks.com/ns/?L=en)(http://www.barracudanetworks.com/ns/?L=en) and [Sonicwall 9](http://www.sonicwall.com/us/6887.html?CMP=KNC-8WO858768998&_kk=barracuda&_kt=16f2ca5f-e9e2-4f4c-91d3-476e6b9850cd) ) . We have looked at beefing up our Netcleanse solution as well as using on server open source solutions such as spam assassin. However no option stood out as well as Google Apps.




[Google apps](http://www.google.com/a/help/intl/en/var_1c.html) not only is seamless in integration on the back end as well as the customer, but it also comes with some impressive set of tools which are extremely valuable to anyone running their business, virtual or not (Calendar, Docs, etc. http://www.google.com/a/help/intl/en/var_1c.html)




We have made this decision several months before this slashdot story was exposed: ["Large webhost urges customers to use Gmail."](http://tech.slashdot.org/article.pl?sid=08/05/27/137229&from=rss)




Although there were some negative comments I think the slashdot community understood and supported the decision. We stand by it and will always offer our customers an alternative to gmail but will recommend it as it is the best of class option at the moment.




The decision was not easy as we really like to manage as many things as we can and "outsourcing" it seemed like giving up on it, but business wise this was one of the best decisions we made. Fighting spam is frustrating and if there is a free better solution out there and most of your customers will not notice a difference if they use POP or IMAP, except maybe less spam.
Expand Up @@ -13,6 +13,7 @@ tags:
- php
author: marius-ducea
published: true
comments: true
---

Considering that you have an existing php installation compiled from sources, it is very easy to add afterwards _new php modules_, outside the php binary. This can be achieved without any interruption of the web services, and requires just the following steps:
Expand Down
@@ -1,4 +1,5 @@
---
comments: true
date: '2008-06-18 05:08:29'
layout: post
slug: install-ffmpeg-ffmpeg-php-and-audio-binaries-on-centos-rhel-system-with-cpanel
Expand All @@ -16,140 +17,158 @@ published: true
FFMPEG is an open source application that allows you to convert video and audio files easily between a variety of different formats. It supports most industry-standard codec and can convert from one file format to another quickly and easily. This guide is intented for the installatiion of ffmpeg, ffmpeg-php, mplayer, mencoder, lame mp3 encoder, flvtool2, libVorbis, and libogg and tested on CentOS5 and RHEL3 systems with Cpanel.

**To start:**

`cd /usr/src`
```
cd /usr/src
```

**Download MPlayer and Codes, FlvTool2, Lame, and ffmpeg-php:**

**MPlayer codecs** ([check for latest release](http://www3.mplayerhq.hu/MPlayer/releases/codecs/)):

`wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2`

```
wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
```
**MPlayer** ([check for latest release](http://www3.mplayerhq.hu/MPlayer/releases/)):

`wget http://www4.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2`

```
wget http://www4.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2
```
**FlvTool2** ([check for latest release](http://rubyforge.org/frs/?group_id=1096)):

`wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz`

```
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
```
**Lame MP3 Encoder** ([check for latest release](http://sourceforge.net/projects/lame/)):

`wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz`

```
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
```
**FFMPEG-PHP** ([check for latest release](http://sourceforge.net/projects/ffmpeg-php/)):

`wget http://nchc.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.3.1.tbz2<`


```
wget http://nchc.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.3.1.tbz2<
```

**Extract downloaded files:**

`tar -zxvf flvtool2-1.0.6.tgz
```
tar -zxvf flvtool2-1.0.6.tgz
tar -zxvf lame-3.97.tar.gz
bunzip2 essential-20071007.tar.bz2; tar xvf essential-20071007.tar
bunzip2 MPlayer-1.0rc2.tar.bz2; tar xvf MPlayer-1.0rc2.tar
bunzip2 ffmpeg-php-0.5.3.1.tbz2; tar xvf ffmpeg-php-0.5.3.1.tar
`
```

**Create and import the Codecs directory:**

`mkdir /usr/local/lib/codecs/
```
mkdir /usr/local/lib/codecs/
mv essential-20071007/* /usr/local/lib/codecs/
chmod -Rf 755 /usr/local/lib/codecs/
`
```

**Install Subversion and Ruby using Yum:**

`yum install subversion` (You may need to open SVN port 3690)
`yum install ruby` (If you’re on cPanel you can alternatively use _/scripts/installruby_)
`yum install ncurses-devel`
```
yum install subversion
```
_You may need to open SVN port 3690_
```
yum install ruby
```
_If you’re on cPanel you can alternatively use `/scripts/installruby`_
```
yum install ncurses-devel
```

**Get FFMPEG and MPlayer from SVN:**

`svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer`

```
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
```

**Install LAME:**

`cd /usr/src/lame-3.97
```
cd /usr/src/lame-3.97
./configure && make && make install
`
```

**Install libOgg and libVorbis:**

`yum install libogg.i386 libvorbis.i386 libvorbis-devel.i386`
```
yum install libogg.i386 libvorbis.i386 libvorbis-devel.i386
```

**Install flvtool2:**

`cd /usr/src/flvtool2-1.0.6/
```
cd /usr/src/flvtool2-1.0.6/
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
`
```

**Install MPlayer:**

`cd /usr/src/MPlayer-1.0rc2
./configure && make && make install`

```
cd /usr/src/MPlayer-1.0rc2
./configure && make && make install
```

**Install ffMPEG:**

`cd /usr/src/ffmpeg/
```
cd /usr/src/ffmpeg/
mkdir tmp
chmod 777 tmp
export TMPDIR=./tmp
./configure --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared
_ echo '#define HAVE_LRINTF 1' >> config.h
echo '#define HAVE_LRINTF 1' >> config.h
make && make install
export TMPDIR=/tmp
`
```

**Finalize the codec setup:**
`ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
```
ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51
`
**You may get an error about a library path not being found, if so, run:**
`export LD_LIBRARY_PATH=/usr/local/lib`
```

_**Install FFMPEG-PHP:**_
**You may get an error about a library path not being found, if so, run:**
```
export LD_LIBRARY_PATH=/usr/local/lib
```

`cd /usr/src/ffmpeg-php-0.5.0/
**Install FFMPEG-PHP:**
```
cd /usr/src/ffmpeg-php-0.5.0/
phpize
./configure && make && make install
ln -s /usr/local/bin/ffmpeg /usr/bin/ffmpeg
ln -s /usr/local/bin/mplayer /usr/bin/mplayer
`
```

**Add extension to php.ini (find the correct php.ini file):**
`[ffmpeg]
```
[ffmpeg]
extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20060613/
extension=ffmpeg.so
`

_**Restart Apache and check that the module is loaded in PHP:**_
```

`/etc/init.d/httpd restart`
**Restart Apache and check that the module is loaded in PHP:**
```
/etc/init.d/httpd restart
```

_**Test** _ffmpeg_ **from command line and if you get this errors: **_
**Test** `ffmpeg` **from command line and if you get this errors: **
```
ffmpeg: error while loading shared libraries: libavformat.so.51:...
```

`ffmpeg: error while loading shared libraries: libavformat.so.51:...`
**execute:** `echo "/usr/local/lib" >>/etc/ld.so.conf ` **and reload library cache with** `ldconfig -v`

_**execute:**_ `echo "/usr/local/lib" >>/etc/ld.so.conf ` **and reload library cache with** `ldconfig -v`
**Verify ffmpeg installation:**
```
php -r 'phpinfo();' | grep ffmpeg
```

_**Verify ffmpeg installation:**_

`php -r 'phpinfo();' | grep ffmpeg`

_**If you get the following results then FFMPEG and all it's components are installed correctly:**_
`ffmpeg
**If you get the following results then FFMPEG and all it's components are installed correctly:**
```
ffmpeg
ffmpeg support (ffmpeg-php) => enabled
ffmpeg-php version => 0.5.3.1
ffmpeg-php gd support => enabled
ffmpeg.allow_persistent => 0 => 0
ffmpeg.show_warnings => 0 => 0`


ffmpeg.show_warnings => 0 => 0
```

0 comments on commit 8fe7450

Please sign in to comment.