GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   HELP with SSH and seting some php files to work (https://gfy.com/showthread.php?t=886669)

donnylong 02-09-2009 02:49 AM

HELP with SSH and seting some php files to work
 
I am new to this shit and very fucking frustrated! Please someone message me that can help. I was told to

1. first you need to upload ****.zip to public_html. memorize where this
directory is.

I DONT EVEN SEE public_html on my server SHOULD I MAKE ONE? :Oh crap

2.now download http://www.chiark.greenend.org.uk/~sgtatham/putty/
type in ur server name. id and password
it will ask for ur login and password.

I ONLY SEE A PLACE TO PUT HOSTNAME OR IP ADDRESS AND IT NEVER ASKS YOU FOR USERNAME OR PASSWORD AND WHEN YOU DO IT YOU GET A POP UP WINDOW AND THEN NOTHING BUT A ERROR :helpme



now navigate to public_html, remember from earlier?

type /home/yourusername/public_html

something like that

now type

unzip ****.zip

now run the script by typing

php jobs.php 1 200000

and leave the computer on until it finishes.

quantum-x 02-09-2009 03:20 AM

Contact your host.
You've got managed servers, right?

donnylong 02-09-2009 03:32 AM

Quote:

Originally Posted by quantum-x (Post 15458901)
Contact your host.
You've got managed servers, right?

shared for this site :Oh crap

V_RocKs 02-09-2009 03:56 AM

Well.. This is like asking:

OK, so how does this whole Internet thing work? I just got a new computer and never used one before. So it says something about a start button and selecting Internet Explorer?

Or better yet:

So how does this whole photography thingy work? I got a Nikon camera and it says I need to put a disk in it but has no place to put the film?

donnylong 02-09-2009 04:09 AM

Quote:

Originally Posted by V_RocKs (Post 15458973)
Well.. This is like asking:

OK, so how does this whole Internet thing work? I just got a new computer and never used one before. So it says something about a start button and selecting Internet Explorer?

Or better yet:

So how does this whole photography thingy work? I got a Nikon camera and it says I need to put a disk in it but has no place to put the film?

Maybe to someone like you with no life other than in front of a computer but to people like me that make real money doing bigger things in life, its not. Just stay off my threads if you got nothing nice to say dickhead or come to my face and say it at a show sometime pussy. :321GFY:321GFY:321GFY:321GFY :pimp

WeirdHomer 02-09-2009 04:24 AM

Quote:

Originally Posted by donnylong (Post 15458846)
I am new to this shit and very fucking frustrated! Please someone message me that can help. I was told to

1. first you need to upload ****.zip to public_html. memorize where this
directory is.

I DONT EVEN SEE public_html on my server SHOULD I MAKE ONE? :Oh crap

2.now download http://www.chiark.greenend.org.uk/~sgtatham/putty/
type in ur server name. id and password
it will ask for ur login and password.

I ONLY SEE A PLACE TO PUT HOSTNAME OR IP ADDRESS AND IT NEVER ASKS YOU FOR USERNAME OR PASSWORD AND WHEN YOU DO IT YOU GET A POP UP WINDOW AND THEN NOTHING BUT A ERROR :helpme



now navigate to public_html, remember from earlier?

type /home/yourusername/public_html

something like that

now type

unzip ****.zip

now run the script by typing

php jobs.php 1 200000

and leave the computer on until it finishes.

First of all, the file is in ZIP format so it is designed for Windows servers, make sure you are not on a linux server.
Secondly, you say you have shared hosting. Putty is a SSH/TELNET client and most hosts don't allows ssh or telnet access on a shared server so i think you might need to contact your host for it.
Third your public_html directory should be there when you ftp to your hosting space, if you don't see it, try going up one dir (click the two dots "..").

Hope this helps.

StaceyJo 02-09-2009 04:28 AM

You can use FTP on that.

WeirdHomer 02-09-2009 04:31 AM

Quote:

Originally Posted by StaceyJo (Post 15459032)
You can use FTP on that.

Yeah, why didn't i think of that...

He can also unzip the files locally on his pc and upload them without disturbing the file structure and try to run the php script from a browser or using his ftp client.

quantum-x 02-09-2009 04:34 AM

Quote:

Originally Posted by WeirdHomer (Post 15459024)
First of all, the file is in ZIP format so it is designed for Windows servers, make sure you are not on a linux server.
Secondly, you say you have shared hosting. Putty is a SSH/TELNET client and most hosts don't allows ssh or telnet access on a shared server so i think you might need to contact your host for it.
Third your public_html directory should be there when you ftp to your hosting space, if you don't see it, try going up one dir (click the two dots "..").

Hope this helps.

Ugh.
ZIP wasn't designed for any platform. It's usable on any platform you care to consider.
> unzip filename.zip

quantum-x 02-09-2009 04:34 AM

Quote:

Originally Posted by WeirdHomer (Post 15459039)
Yeah, why didn't i think of that...

He can also unzip the files locally on his pc and upload them without disturbing the file structure and try to run the php script from a browser or using his ftp client.

There's a PHP FTP Wrapper? Wow.


All times are GMT -7. The time now is 04:31 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123