Author Topic: Need help installing apache on kubuntu  (Read 1819 times)

0 Members and 1 Guest are viewing this topic.

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Need help installing apache on kubuntu
« on: August 09, 2008, 06:57:58 am »
I want to install it on my linux computer but I have no idea how to do it. Is there a tutorial good tutorial that can tell me how I should do it?

I did found one but I wasn't sure if it was good. It told me that I could use ./configure but I got a C compile error on it. Maybe i need something more or I just did something stupid :p

OBEY!!!

Offline Flamingo

  • Camper
  • ***
  • Posts: 478
Re: Need help installing apache on kubuntu
« Reply #1 on: August 09, 2008, 07:35:52 am »
I want to install it on my linux computer but I have no idea how to do it.
I stopped reading right there just to tell you that you'll fail and blame eveyone except your own stupidity for installing such linux just to be one of the cool guys.
Banned

Offline mxyzptlk

  • Veteran
  • *****
  • Posts: 1493
  • The Panda Ninja
Re: Need help installing apache on kubuntu
« Reply #2 on: August 09, 2008, 07:47:20 am »
Flamingo, he already HAS Linux. He just wants to get Apache working right, which is no small task.

"While preceding your entrance with a grenade is a good tactic in
Quake, it can lead to problems if attempted at work." -- C Hacking

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Need help installing apache on kubuntu
« Reply #3 on: August 09, 2008, 01:20:57 pm »
Okay, you do not need to compile or manually install anything like that at all, just perform this command at a terminal and give it your password when it asks. Within a few seconds you will have a perfectly working apache webserver installed with PHP and mysql, which is referred to as a LAMP installation. No extra configuration or anything. Just put your html and php files in /var/www/
Code: [Select]
sudo apt-get install apache2 libapache2-mod-php5 php5-mysql mysql-server php5-gd mysql-common

Flamingo, he already HAS Linux. He just wants to get Apache working right, which is no small task.
You have GOT to be kidding me... This is (k)Ubuntu, not Slackware.
« Last Edit: August 09, 2008, 01:28:23 pm by jrgp »
There are other worlds than these

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Re: Need help installing apache on kubuntu
« Reply #4 on: August 09, 2008, 02:23:28 pm »
Thanks jrgp(you've helped me with a lot o things lately ;9).
I installed it. However how do I start it?

OBEY!!!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Need help installing apache on kubuntu
« Reply #5 on: August 09, 2008, 02:26:27 pm »
I installed it. However how do I start it?
Oh, yeah, I forgot to mention that. It should automatically start at bootup, and if installing it didn't start it already, do this:
Code: [Select]
sudo /etc/init.d/apache2 start

Thanks jrgp(you've helped me with a lot o things lately ;9).
Sure thing, man. :)
There are other worlds than these

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Re: Need help installing apache on kubuntu
« Reply #6 on: August 09, 2008, 02:38:20 pm »
It's running but and i can access it from my computers but not people outside. Maybe because i have port 80 blocked?

OBEY!!!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Need help installing apache on kubuntu
« Reply #7 on: August 09, 2008, 02:40:41 pm »
It's running but and i can access it from my computers but not people outside. Maybe because i have port 80 blocked?
No, just like anything else you have to forward port 80 (TCP) to your Linux computer's IP address. ;)
There are other worlds than these

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Re: Need help installing apache on kubuntu
« Reply #8 on: August 09, 2008, 03:02:13 pm »
Looks like it works now :P  Wooohooo!!!
I was a little worried as it targeted my modem settings when going to the ip but after opening the port it shows apache instead. :)

Date Posted: August 09, 2008, 09:46:19 pm
Hm one more thing.
Do you know where to setup the ftp access?

OBEY!!!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Need help installing apache on kubuntu
« Reply #9 on: August 09, 2008, 03:40:02 pm »
Okay, about that, I suggest you use SFTP instead of FTP. It is faster, uses and encrypted connection (FTP uses clear text which anyone can intercept to see your password and files), and is much more reliable and requires no extra configuration. The catch is that you have to use a good file transfer client such as Filezilla, instead of the crappy one that comes with Winblows Explorer.
Install it like this:
Code: [Select]
sudo apt-get install openssh-server openssh-client

In addition to letting you use sftp, installing those two apps above let you use SSH. SSH is an encrypted protocol that lets you access your Linux command line from anywhere using Putty on Windows or the ssh command (eg: ssh user@ipaddress) on Linux. It uses port 22, if you want to use it outside your network and port forward it.
« Last Edit: August 09, 2008, 03:50:22 pm by jrgp »
There are other worlds than these

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Re: Need help installing apache on kubuntu
« Reply #10 on: August 09, 2008, 04:12:43 pm »
Ok. Thanks will get it :)

Date Posted: August 09, 2008, 10:56:33 pm
I installed it now but how do I create accounts for access?

OBEY!!!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Need help installing apache on kubuntu
« Reply #11 on: August 09, 2008, 04:30:27 pm »
keke, it uses normal user accounts on the computer :D

So either use the user manager program that comes with Kubuntu or sudo adduser USERNAME at a terminal.
There are other worlds than these

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Re: Need help installing apache on kubuntu
« Reply #12 on: August 09, 2008, 04:53:43 pm »
Thanks yet again, jrgp, couldn't have done it without you.  :-*

And boy did i learn more things :x

Date Posted: August 09, 2008, 11:45:27 pm
ok. one last thing..i think :p
When in putty and in the terminal how can I go to different directories?

user@ServerSP:~$

and get it to a directory called soldatserver?

OBEY!!!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Need help installing apache on kubuntu
« Reply #13 on: August 09, 2008, 04:59:07 pm »
cd soldatserver

btw, jrgp: jrgp
« Last Edit: August 09, 2008, 05:07:03 pm by jrgp »
There are other worlds than these

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Re: Need help installing apache on kubuntu
« Reply #14 on: August 09, 2008, 05:07:59 pm »
Woa!
I'm not gonna be here where I am atm where the server computer is and i've had fears what i would do if someone turned off the computer. But now all they have to do is turn it on and login and i can do the rest with putty :O

Thank you and hopefully I won't have more questions to bother you with :)

lol didn't pay that much attention so i always thought it was jrgp ...jrgp lol :P
« Last Edit: August 09, 2008, 05:10:13 pm by blackdevil0742 »

OBEY!!!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Need help installing apache on kubuntu
« Reply #15 on: August 09, 2008, 05:11:42 pm »
I'm not gonna be here where I am atm where the server computer is and i've had fears what i would do if someone turned off the computer. But now all they have to do is turn it on and login and i can do the rest with putty :O
Yep, but you don't have to actually be logged into the computer directly at the computer to be able to login and use it with putty.

Thank you and hopefully I won't have more questions to bother you with :)
You're welcome! Feel free to ask me any questions you might ever have. I like helping people. :)
There are other worlds than these

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Re: Need help installing apache on kubuntu
« Reply #16 on: August 09, 2008, 05:17:30 pm »
Ok. I have one more question :p. I tested running the soldatserver from an other computer with putty and it worked but as soon closed putty the server stopped too. Is there a way keep it running even if i log off?

OBEY!!!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Need help installing apache on kubuntu
« Reply #17 on: August 09, 2008, 05:18:34 pm »
Yes, ./soldatserver -d is the easiest way of doing that.
There are other worlds than these

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Re: Need help installing apache on kubuntu
« Reply #18 on: August 09, 2008, 05:30:49 pm »
oke. ty ;D

OBEY!!!

Offline MyiEye

  • Soldier
  • **
  • Posts: 166
  • .<><| `Homie
Re: Need help installing apache on kubuntu
« Reply #19 on: August 09, 2008, 06:33:25 pm »
Wow, I admit I'm envious of you two. Frikin' geniuses. Read the whole thing and got nothing out of it. Maybe I'd have understood a tiny bit more if I knew Linux.
"I gotta live like Jacob more holy less hip, by his grace Sho Baraka gone spit the real, been doing that Reach life before I got the deal, called to make mini-me's till the day that I die, so on my tombstone say, "he didn't die he multiplied"!"                                                  - Sho Baraka