LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MYSQL and PHP Problem and Installing programs on Linux Red Hat (https://www.linuxquestions.org/questions/linux-newbie-8/mysql-and-php-problem-and-installing-programs-on-linux-red-hat-422394/)

Technel 03-07-2006 03:18 AM

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:scratch:

:Pengy:Wish I knew how to do tasks on my Linux server using Telnet hope I can find a good book, yey, for dummies.

onjoo 03-07-2006 06:01 AM

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

onjoo 03-07-2006 06:08 AM

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

Technel 03-08-2006 10:09 AM

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

hollyfeld 03-08-2006 10:54 PM

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.


All times are GMT -5. The time now is 06:01 AM.