Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Some beginners questions

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Linlord
Posts: 16
Joined: 2004-03-06 12:50
Location: 127.0.0.1

Some beginners questions

#1 Post by Linlord »

Helllo people. I heart some great things about debian so I tought lets try it.
But there our some things that are different to Redhat, wich is the distribution I'm used to.

I got Apache installed:

Code: Select all

apt-get install apache
(thats easy!!)

But when I whant to install php and mysql the sameway it says; there aint no packages called php or mysql.
How is this possible? Is there an other way to install these packages?
And how do I know wich packages there are already installed?

An other thing is how do I startup programs during the bootprocess? I can't find rc.local.

I hope someone can help me 'couse everthing else looks great!

PL99
Posts: 22
Joined: 2004-03-05 21:43
Location: Austria

#2 Post by PL99 »

linlord, welcome to debian !!!!! and let yourself be amazed by the logica

When you want to install a package you need to know the exact name. You can find this by :

Code: Select all

apt-cache search [ThePackageYouWhant]
So if you want to install php type :

Code: Select all

apt-cache search php
Then you will see that the package you wantis called
  • php4
So in this case you have to type

Code: Select all

 apt-get install php4
For MySQL you need the following packages :
  • mysql-server
    mysql-client
If you want to the packages which are already installed type :

Code: Select all

dpkg -l |less

User avatar
MarkvD
Posts: 77
Joined: 2004-02-15 21:36
Location: Rhoon, Holland

#3 Post by MarkvD »

The services can be found in /etc/rcS/ and /etc/rc0 .. /etc/rc6.

But debian made it easy for us:
You can use

Code: Select all

 dpkg-reconfigure [package] and dpkg-preconfigure [package]
to configure the services.

PS: Welcome to Debian!!

Post Reply