Installing a complete web server

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
legend986
Forum Contributor
Posts: 258
Joined: Sun Jul 15, 2007 2:45 pm

Installing a complete web server

Post by legend986 »

I have access to a Unix machine. But the access is not a root access. I was wondering if I could install apache, php, mysql and others to install on this machine without root access and if yes, how should I got about doing it?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Choose the Right Board

Post by s.dot »

[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:1. Select the correct board for your query. Take some time to read the guidelines in the sticky topic.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Re: Installing a complete web server

Post by jeffery »

legend986 wrote:I have access to a Unix machine. But the access is not a root access. I was wondering if I could install apache, php, mysql and others to install on this machine without root access and if yes, how should I got about doing it?
I reckon its as simple as asking the system administrator to install them for you.
User avatar
legend986
Forum Contributor
Posts: 258
Joined: Sun Jul 15, 2007 2:45 pm

Post by legend986 »

Well I wanted to learn how to do it. Anyways, if anybody knows it please guide me.

Actually I did ask the root to do it and he was kind enough to do it. However I have one small question. I now have mysql installed. How would I install phpMyAdmin? And how would I connect to the databases?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I can't suggest installing phpMyAdmin on a production server. I can barely say "it's okay" on a development server. Why? Because it allows you to be lazy and not learn SQL, properly. On a production server it's just another potential security hole you don't really need.
User avatar
legend986
Forum Contributor
Posts: 258
Joined: Sun Jul 15, 2007 2:45 pm

Post by legend986 »

Ok I understand you say that for my own good. I will stop using phpmyadmin... Thanks for the suggestion :)
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Post by Doug G »

Hmm, I use phpMyAdmin all the time to administer mysql databases. I don't see any problem with using mysql, unless there are some security holes I'm not aware of. You need some method to administer a mysql db and in a hosted environment that doesn't allow direct mysql connections over the Internet, and you don't have shell access, there aren't that many choices that allow you to administer your db.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Doug G wrote:You need some method to administer a mysql db and in a hosted environment that doesn't allow direct mysql connections over the Internet, and you don't have shell access, there aren't that many choices that allow you to administer your db.
That's the only reason they give you phpMyAdmin. But, when you have the option, it's useless to have. Like feyd says, it makes you lazy and when you really do need to make complex queries, you'll likely be stumped. Secondly, the fact that you have phpMyAdmin means that it can be logged into and the database's contents can be altered, all through a browser.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

So I guess you are suggesting using console instead of phpmyadmin. Problem with console is it is not like unix console, there is no autocomplete and power of it. So most of time I think it is kind of slower than phpmyadmin - although phpmyadm makes tons of useless queries.
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

Can't say I use phpmyadmin as I tend to mainly use postgres. I find using the console far quicker normally than any other "interface". Are you sure there are no options to enable you to use autocomplete on a console. ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

jmut wrote:So I guess you are suggesting using console instead of phpmyadmin. Problem with console is it is not like unix console, there is no autocomplete and power of it. So most of time I think it is kind of slower than phpmyadmin - although phpmyadm makes tons of useless queries.
Actually there is autocomplete in at least the newest client provided by the basic install of mysql.
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Post by Doug G »

That's the only reason they give you phpMyAdmin. But, when you have the option, it's useless to have. Like feyd says, it makes you lazy and when you really do need to make complex queries, you'll likely be stumped.
Well, I don't agree, but each to their own :)
Post Reply