Re: Shellshock Fix for Debian 5 and 7

2014-10-07 Thread Matthew Brown
Hello Andrew.

I hope all is well.

For Debian 5 and 7, if I do an update from the debian site will it address
the Shellshock issue?  If not, is there a particular way you'd recommend
that I patch these server?  I appreciate your help and thank you in advance!

On Tue, Oct 7, 2014 at 10:27 AM, Matthew Brown 
wrote:

> Hello Andrew.
>
> I hope all is well.
>
> For Debian 5 and 7, if I do an update from the debian site will it address
> the Shellshock issue?  If not, is there a particular way you'd recommend
> that I patch these server?  I appreciate your help and thank you in advance!
>
> --
> Thank you in advance.
>
>
> *Matthew Brown | Senior Systems Engineer*
> Kaplan Inc. | 395 Hudson Street, New York, NY 10016
> tel + 917-344-2598 | mobile + 914-406-0294
>
> web Enterprise Client Services Website
> <https://sites.google.com/a/kaplan.edu/techservice/home/>
>
>
>


-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>


Debian php5 (Can't get download when doing apt-update)

2014-08-05 Thread Matthew Brown
Can you provide some insight, if you've done this successfully can you
share the fix?
"E: Unable to locate package php5"

-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>


Re: Debian php5 (Can't get download when doing apt-update)

2014-08-05 Thread Matthew Brown
Thanks for responding!  I need help.
- Yes, I have Internet access and behind a firewall (any known ports that
should be open?)
- I pinged Yahoo.com

- sources.list
#

# deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

# deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

# deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all

# deb http://ftp.debian.org/debian/ wheezy-updates main contrib
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

# deb http://ftp.us.debian.org/debian stable main
deb-src http://ftp.us.debian.org/debian stable main

# deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all

- Show php5
root@ivideomedint:~# apt-cache show php5
N: Unable to locate package php5
E: No packages found







On Tue, Aug 5, 2014 at 2:24 PM, AW  wrote:

> On Tue, 5 Aug 2014 13:41:34 -0400
> Matthew Brown  wrote:
>
>  >Can you provide some insight, if you've done this successfully can you
>  >share the fix?
>  >"E: Unable to locate package php5"
>
> Does your internet work?
> ping yahoo.com
>
> for example...
>
> If so, what's in your sources.list file?
> cat /etc/apt/sources.list
>
> I believe the php5 package is a "security" package... look for this
> line in the sources.list file:
> deb http://security.debian.org/ wheezy/updates main
>
> If all that is good to go, then everything should work.  You can try:
> sudo apt-cache show php5
>
> to verify the package details.
>
> --Andrew
>



-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>


Re: Debian php5 (Can't get download when doing apt-update)

2014-08-05 Thread Matthew Brown
You are the man!  Thanks.

How'd I let those # get in the way?  LOL!


On Tue, Aug 5, 2014 at 2:55 PM, AW  wrote:

> On Tue, 5 Aug 2014 14:36:38 -0400
> Matthew Brown  wrote:
>
>  >- sources.list
>  >#
>  >
>  ># deb http://security.debian.org/ wheezy/updates main contrib
>  >deb-src http://security.debian.org/ wheezy/updates main contrib
>  >
>  ># deb http://packages.dotdeb.org stable all
>  >deb-src http://packages.dotdeb.org stable all
>  >
>  ># deb http://packages.dotdeb.org wheezy all
>  >deb-src http://packages.dotdeb.org wheezy all
>  >
>  ># deb http://ftp.debian.org/debian/ wheezy-updates main contrib
>  ># deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
>  >
>  ># deb http://ftp.us.debian.org/debian stable main
>  >deb-src http://ftp.us.debian.org/debian stable main
>  >
>  ># deb http://packages.dotdeb.org wheezy-php55 all
>  >deb-src http://packages.dotdeb.org wheezy-php55 all
>
> You need to delete the '#' in front of each 'deb' line...
> Then issue the command:
> sudo apt-get update
>
> Then issue the command:
> sudo apt-get install php5
>
> And probably:
> sudo apt-get upgrade
>
>
> --Andrew
>



-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>


Re: Debian php5 (Can't get download when doing apt-update)

2014-08-05 Thread Matthew Brown
One quick question, I have the php config file pointed to the web root
(www) and put a test php file in it, but it is not working.  I just see all
the text.  Any help with this will be appreciated!


On Tue, Aug 5, 2014 at 2:55 PM, AW  wrote:

> On Tue, 5 Aug 2014 14:36:38 -0400
> Matthew Brown  wrote:
>
>  >- sources.list
>  >#
>  >
>  ># deb http://security.debian.org/ wheezy/updates main contrib
>  >deb-src http://security.debian.org/ wheezy/updates main contrib
>  >
>  ># deb http://packages.dotdeb.org stable all
>  >deb-src http://packages.dotdeb.org stable all
>  >
>  ># deb http://packages.dotdeb.org wheezy all
>  >deb-src http://packages.dotdeb.org wheezy all
>  >
>  ># deb http://ftp.debian.org/debian/ wheezy-updates main contrib
>  ># deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
>  >
>  ># deb http://ftp.us.debian.org/debian stable main
>  >deb-src http://ftp.us.debian.org/debian stable main
>  >
>  ># deb http://packages.dotdeb.org wheezy-php55 all
>  >deb-src http://packages.dotdeb.org wheezy-php55 all
>
> You need to delete the '#' in front of each 'deb' line...
> Then issue the command:
> sudo apt-get update
>
> Then issue the command:
> sudo apt-get install php5
>
> And probably:
> sudo apt-get upgrade
>
>
> --Andrew
>



-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>


Re: Debian php5 (Can't get download when doing apt-update)

2014-08-05 Thread Matthew Brown
This is what I have.  Thanks!

apt-cache search apache | grep php
php5-cgi - server-side, HTML-embedded scripting language (CGI binary)
php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
php-auth-http - HTTP authentication
php-config - Your configuration's swiss-army knife
php-letodms-lucene - Document management system - Fulltext search
libapache2-mod-suphp - Apache2 module to run PHP scripts with the owner
permissions
suphp-common - Common files for mod suphp
libapache2-mod-php5 - server-side, HTML-embedded scripting language (Apache
2 module)
libapache2-mod-php5filter - server-side, HTML-embedded scripting language
(apache 2 filter module)


On Tue, Aug 5, 2014 at 4:21 PM, AW  wrote:

> On Tue, 5 Aug 2014 16:08:49 -0400
> Matthew Brown  wrote:
>
>  >One quick question, I have the php config file pointed to the web root
>  >(www) and put a test php file in it, but it is not working.  I just
>  >see all the text.  Any help with this will be appreciated!
>
> If you are using php in a webserver environment, you need to install
> the appropriate module that will allow access to php.  In most cases
> this means installing the apache php module.  If you are running wheezy
> -- which seemingly you are -- the repo apache is version 2.2  ---
> Things change with apache 2.4 and Debian jessie, so be careful about
> this later on...
>
> Anyway, find and install the apache php module...
> sudo apt-cache search apache | grep php
>
> sudo apt-get install "whatever is appropriate"
>
> This should get you the module.  Then you need to make sure the module
> is enabled for apache...
>
> sudo a2enmod php5
>
> Then you need to restart apache
>
> sudo /etc/init.d/apache2 restart
> ...
> This should work even if you have systemd versus sysvinit.  There are
> wrappers installed for backward compatibility.  However, if you have
> systemd installed, it's probably a good idea to practice the new
> command set...
>
> --Andrew
>



-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>


Re: Debian php5 (Can't get download when doing apt-update)

2014-08-05 Thread Matthew Brown
I did that and now get internal server error.  :-(


On Tue, Aug 5, 2014 at 4:41 PM, AW  wrote:

> On Tue, 5 Aug 2014 16:32:43 -0400
> Matthew Brown  wrote:
>
>  > php5-cgi - server-side, HTML-embedded scripting language (CGI binary)
>  > php-auth-http - HTTP authentication
>  > libapache2-mod-php5 - server-side, HTML-embedded scripting language
>
>
> I would install these three.
> sudo apt-get install php5-cgi php-auth-http libapache2-mod-php5
>
> And go from there...
>
> --Andrew
>



-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>


Re: Debian php5 (Can't get download when doing apt-update)

2014-08-05 Thread Matthew Brown
LOL!  I have a three year old too.  She has sooo much energy.  Keeps us
young!


On Tue, Aug 5, 2014 at 4:56 PM, Matthew Brown 
wrote:

> Using default.  We wrote a simple php coding and it shows the code.
>
>
> On Tue, Aug 5, 2014 at 4:53 PM, AW 
> wrote:
>
>> On Tue, 5 Aug 2014 16:48:46 -0400
>> AW  wrote:
>>
>>  > and what's in the /var/www directory?
>>  > ln -l /var/www
>>
>> oops!
>> That should be 'ls' not 'ln' ... I guess not enough coffee today -- and
>> my 3 year old child ripped a few keys off my keyboard too...
>>
>> --Andrew
>>
>
>
>
> --
> Thank you in advance.
>
>
> *Matthew Brown | Senior Systems Engineer*
> Kaplan Inc. | 395 Hudson Street, New York, NY 10016
> tel + 917-344-2598 | mobile + 914-406-0294
>
> web Enterprise Client Services Website
> <https://sites.google.com/a/kaplan.edu/techservice/home/>
>
>
>


-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>


Re: Debian php5 (Can't get download when doing apt-update)

2014-08-05 Thread Matthew Brown
Using default.  We wrote a simple php coding and it shows the code.


On Tue, Aug 5, 2014 at 4:53 PM, AW  wrote:

> On Tue, 5 Aug 2014 16:48:46 -0400
> AW  wrote:
>
>  > and what's in the /var/www directory?
>  > ln -l /var/www
>
> oops!
> That should be 'ls' not 'ln' ... I guess not enough coffee today -- and
> my 3 year old child ripped a few keys off my keyboard too...
>
> --Andrew
>



-- 
Thank you in advance.


*Matthew Brown | Senior Systems Engineer*
Kaplan Inc. | 395 Hudson Street, New York, NY 10016
tel + 917-344-2598 | mobile + 914-406-0294

web Enterprise Client Services Website
<https://sites.google.com/a/kaplan.edu/techservice/home/>