unix question

asad

Member
Apr 28, 2003
56
0
0
hi to all
i'm a beginner user of unix shell account...how could i doanload i program from the net then how could i install this program
in my shell account...plz by details.
thanks
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
depends on the program and shell and OS and user agreements

Best bet isn't just to install programs. You can't install programs in the normal way, since your not ROOT. There are ways around it, but it takes some decent knowledge of compiling programs and stuff like that.

First off you only have access to your home directory and maybe a couple others. You have to figure out how to get the program to work in just your home.

If you find a binary (pre-compiled) program that may work. If it's Linux look for slackware packages. They can be untarred and the program taken out of them and then manually placed in a custom ~/bin directory. (~/ = home). It's a crapshoot if randomly downloaded binaries will work or not, unless you know what your doing.

If it's something other then Linux, I don't know.

To download files you can use text browsers, Lynx and Links are common. You can use wget command to get files off of the internet. Especially usefull with cut-and-paste technics.
wget http://my.unix.warez.com/hell/uberhacks/shellhack.tgz

you can use the ftp command for ftp sites:
ftp my.unix.ftp.warez.com

AFter you download the stuff, you have to make sure that ~/bin or whatever your installed it in is in your path.
IN a BASH shell
echo $PATH (to check and if not there:)
export PATH=$PATH:~/bin


Your best bet is to ask politely for a administrator to install a program for you. Unless your allow to install your own programs and stuff you'll probably just piss them off otherwise.

They probably have lots and lots of programs there already that you just have to learn howto use. Most shells have community games, forums and stuff like that for asking questions and getting help.

For accessing a shell from a Windows Box I recommend putty.exe It can do ssh for a secure shell, but supports telnet and other telnet-like protocols.
 

asad

Member
Apr 28, 2003
56
0
0
i have downloaded putty .exe ...how to use it to transfer files... my os is windows millinium.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
If your shell account allows ssh connections and allows you to upload files, you can use scp (secure copy) to move files using ssh as a tunnel.

Putty has a seperate program to do this. pscp.exe

It's from the same developer. If you downloaded the full zip install it should be in there.

Also your shell may have a ftp server on it. You can upload files into your shell account using it. Depends on how they set it up.

There are plenty of ftp GUI clients. You can use IE (but it sucks), try:
ftp://username:Password@ftp.your.shell.account/
(that puts your password and username in IE's history though.

Check out tucow.com

Also the putty zip install should have a ftp client, too.

Windows also has a command line ftp client program that's designed after the unix one.

If you install ftp on your own desktop computer, and allow connections thru your firewall you can use ftp client from the shell account to download files from your home computer.

The possibilities are endless.
 

asad

Member
Apr 28, 2003
56
0
0
you are so helpfull
but u drag me to ask u
how could i install ftp on my desktop computer?
 

freegeeks

Diamond Member
May 7, 2001
5,460
1
81
:confused:

download a ftp client and run setup.exe

you managed to download putty.exe - do the same for the ftp client of your choice
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Na he ment a ftp SERVER.

That's a bit more complicated, If you were using Linux it would be a simple thing to do since most OSes come with a optional ftp server. Windows is pretty limited, though, when it comes to internet stuff, unless you have a server version and even then it's pretty limited and IIS is a script kiddie's playground.

There are plenty of FTP servers for Windows, but most of them aren't free and at most have evaluation versions.

There is one I know of that's free and it's warftp.

Never used it myself and I have no idea how well it works or how secure it is, but it is a possibility. Probably has a guide to installation and setup on it's website.

Other FTP servers are WS_FTP and that has a 30-day eval version I think.

This part you will have to figure out yourself.



 

asad

Member
Apr 28, 2003
56
0
0
many thanks drag
realy u r a golden member
u know how to send and recieve files from this server ...i start the server but
i don't know how to send or recieve files.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Try logging in from your own computer.

go to the windows command line on your own desktop. try
ftp 127.0.0.1

And see if you can log into your own computer.

If your running a server on the internet you need to learn how that stuff works. Learn what TCP/IP is and how a ftp server works. Learn about security, firewalls and how to configure that stuff. Keep track of security advisories and that sort of stuff.

It's a bit of a responsability, I am afraid. Maybe only run the ftp server when you need it, otherwise keep it off. If you get hacked you can provide a platform for other internet attacks. Attacks that may get traced back to your computer. (and you).

But that sort of stuff is fun, learning and doing research and all that stuff. It can be a challenge and a bit of adventure, a game with real rewards and potentially real consequences. Depends on how serious you take it, but running a server you become part of the internet and do need some knowledge to be safe.

If it's not working, your going to have to figure it out on your own, I can't realy help you there.

Use Google. The amount of usefull information you can find is astounding.

Good Luck