LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2006, 03:18 AM   #1
Technel
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Post MYSQL and PHP Problem and Installing programs on Linux Red Hat


Hi,

I'm new here so I guess I belong here.

I used to be a Computer Repair Technician but I really only know Microsoft products.

In short can I make a temp folder in the base dir. download program via Telnet. I don't know the Linux system at all. What are the command lines to use to unpack, then install the software which is Zent by the way. Talk to me like I was a 5 year old :-)

Suggest any good books on Linux servers (Red Hat)?

Great to be here.

Later,
Doug

Wish I knew how to do tasks on my Linux server using Telnet hope I can find a good book, yey, for dummies.
 
Old 03-07-2006, 06:01 AM   #2
onjoo
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Suse 10, Suse-factory , RHEL4, SLES9, SLED10
Posts: 380

Rep: Reputation: 30
Ill try to answer some of your questions...

First of all, forget telnet and use SSH-connections. Telnet just isn't safe.
If openSSH is installed to the redhat server, which im quite sure, download putty.exe(use google)
and use it connect to your server.

In redhat you have this command line installer called RPM.
With that you will need pre-built packages that end with .rpm. Think them like .exe files in Windows.

Installing a package with root (think administator in windows).
Linux is a true multiuser system, so there are many users with different user rights.

Code:
rpm -ivh package.rpm
-i as in install, -u as in update and so on...

If you want to download package with command line, im not quite sure what you want to download, where and how, but one solution would using WGET like this:

Code:
wget http://www.domain.com/rpms/php.rpm
-works fine with ftp and http
-wget will download the file to the current directory in use

you can make directories with command mkdir:
Code:
mkdir temp
 
Old 03-07-2006, 06:08 AM   #3
onjoo
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Suse 10, Suse-factory , RHEL4, SLES9, SLED10
Posts: 380

Rep: Reputation: 30
Ok, the next thing.. i noticed you want to install php and mysql, atleast thats the topic...

Here is one guide for redhat http://www.lamphowto.com/lamp.htm

LAMP means Linux + Apache + MySql + php/perl/python.

You will probably also need apache running if you want websites running. If you read that guide, you will get useful info about installing programs and many other tips
 
Old 03-08-2006, 10:09 AM   #4
Technel
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
OnJoo,

Thank you very much for the info. I guess I did not make myself exactly clear on what I need to do. I need to understand, and get the commands for installing programs on my Linux server via Telnet (which is the only access I have). I know how to get the package onto my server via Telnet but I don't know how to unpack it, then I need to know the command lines to install it. I feel like a dummie because I am or was a computer tech. but I don't have a clue when it comes to Linux Red Hat.

Thank you very much
Doug
 
Old 03-08-2006, 10:54 PM   #5
hollyfeld
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Hi,

In my experience rpms will install when you run the wget command etc. Are the programs you have in an archive file, something with .tar.gz ext? if so you can run something like tar -xvf filename | gzip -c. I'm a little rusty but i beleive that will work. Then you will get a directory you can browse to. Most likely there will be a README in the directory with install instructions and maybe a build script or makefile as well.

Hope that helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing MySQL 5.0.2-alpha on Red Hat Enterprise ES V3 ETSUSnake Linux - Software 2 03-08-2005 10:24 AM
How to start php,mysql, appache, after installing Red Hat 9 metoome Slackware - Installation 1 03-06-2004 08:38 AM
How to start PHP, MySQL,Appache on just installed Red Hat ( metoome Slackware - Installation 0 03-05-2004 11:26 PM
Red Hat 9 just installed. how to http+php+mysql makkintosh Linux - Networking 9 11-30-2003 01:20 PM
Red Hat 8 : PHP/MySQL/Apache jefx Linux - Newbie 10 05-28-2003 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration