LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-17-2007, 07:57 AM   #1
rupeshpra
LQ Newbie
 
Registered: Aug 2007
Posts: 6
Blog Entries: 2

Rep: Reputation: 0
Network doesnot work plz suggestme


Right now i am using an Ubuntu 6.06 Server, i had configured the /etc/network/interfaces for static ip address, while doing so it is able to ping to the router that connects to the internet but cant connect or ping to internet,why is it so?
I am also using a LAMP server, can anyone tell me how to host different sites on apache2 server with different ip address or same on a single server machine?
 
Old 08-17-2007, 12:18 PM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
Originally Posted by rupeshpra View Post
Right now i am using an Ubuntu 6.06 Server, i had configured the /etc/network/interfaces for static ip address, while doing so it is able to ping to the router that connects to the internet but cant connect or ping to internet,why is it so?
Check your network configuration file (it will be the one that has IPADDR, NETMASK and GATEWAY among other things in it).

If, for example, your IPADDR[0] is, say, 192.168.1.10 and your NETMASK is 255.255.255.0, your GATEWAY setting would be 192.168.1.1 (that's usually the address of the router and probable the one that's missing). You should be able to ping 192.168.1.1 and get a response. Also, if you're using static addressing, make sure that the DHCP entries are null (that will be "").

If all that works, start looking at your router's settings (to make sure the thing is actually connected to your modem, be that DSL, Cable, etc., etc.).

Also, check to see that you have a nameserver defined in /etc/resolv.conf, and you may want to add your host and its address to /etc/hosts; something like this:
Code:
...
192.1.168.10     name.com name
...
for example.
 
Old 08-19-2007, 06:02 AM   #3
rupeshpra
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Original Poster
Blog Entries: 2

Rep: Reputation: 0
HOw to install webmin and administer LAMP and access USB drives in Ubuntu server

Thanx for the reply, now the network has worked.

Another question i came to knew that onw can access and manage Ubuntu server through network compter or even throgh internet connection using Webmin.Can anyone tell me how to get webmin and what are the requirements to install it on the Ubuntu Server 6.06 Server.
how to install it and operate it?


How to administer LAMP server in Ubuntu 6.06 Server and especially how to dump data in mysql database and how to install xoops in it?
DO i have to provide any dll files in the ext directory on this LAMP server or it will work as fine as WAMP server for windows?

one last thing can anyone tell how to access usb drives in Ubuntu SErver 6.06 and its directory?
 
Old 08-19-2007, 08:01 AM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
Thanx for the reply, now the network has worked.
You're welcome.
Quote:
Another question i came to knew that onw can access and manage Ubuntu server through network compter or even throgh internet connection using Webmin.Can anyone tell me how to get webmin and what are the requirements to install it on the Ubuntu Server 6.06 Server.
how to install it and operate it?
Go to http://www.webmin.com and read; everything is there that you need to know.
Quote:
How to administer LAMP server in Ubuntu 6.06 Server and especially how to dump data in mysql database and how to install xoops in it?
DO i have to provide any dll files in the ext directory on this LAMP server or it will work as fine as WAMP server for windows?
LAMP, as you probably know, is L[inux], A[pache], M[ySQL], P[hp]. The idea is that any browser running on any other system can open a web page on your site and query though PHP your MySQL data base(s) displaying results in a web page.

I highly recommend that you find a book that discusses building a PHP applications including examples. You really need to understand the basics of Apache (which is not trivial), MySQL (also not trivial), PHP (ditto) and, of course, how these fit into a Linux server. Most PHP books that I've seen include the necessary background information for configuring and operating a LAMP server.

(And, no, you do not install Windows DLL files in a Linux system.)
 
Old 08-20-2007, 12:57 AM   #5
rupeshpra
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Original Poster
Blog Entries: 2

Rep: Reputation: 0
Thumbs up IS it possible to dumb data in MySQL using WEbmin

Thanx for the reply,i will read apache book and see www.webmin.com

How can i access usb drives in Ubuntu SErver 6.06?Well i made a directory in /etc/fstab using "mkdir /mnt/usb "and mount it using "mount /mnt/usb", but this didnt work.how to access its drives?

DO i need to use SSI(Server Side Includes) or CGI
for LAMP while hosting a site?
IF yes then how?

What are the security issues while hosting a site in LAMP in Ubuntu Server 6.06?
 
Old 08-20-2007, 05:19 AM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Sorry, I can't help you with Ubuntu-specific USB questions but I'm pretty sure that the approach you describe probably isn't the one you want; perhaps a search of the forum for "mount USB drive" would help?

I would not think you would need CGI (see http://hoohoo.ncsa.uiuc.edu/cgi/intro.html) for hosting. SSI (read this Apache tutorial at http://httpd.apache.org/docs/1.3/howto/ssi.html) may or may not be necessary. Like all things "Linux," it's up to you how and why you do things; read the information, consider the alternatives and make a choice.

As for security, look around the Apache documentation, get a good book on MySQL and one on PHP and study the security recommendations authors tend to make (as in: look at the table of contents and don't buy the book if security is not one of the chapter names). As mentioned previously, this is not a trivial, turn-key operation -- you really do need to do some reading and planning before you jump in and "go live" on the internet.
 
Old 08-21-2007, 03:03 AM   #7
rupeshpra
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Original Poster
Blog Entries: 2

Rep: Reputation: 0
Lightbulb Cant access Ubuntu 6.06 server using webmin via Win2003 server

Hi thanx for the reply of webmin,i installed it and it worked in the network.

I can easily access Ubuntu 6.06 server using webmin through WinXP but cannot by Win2003 server? all these pcs are in same network and Ubuntu is only access by WinXP not by Win 2003 Enterprise server.
While using Win2003 server and typing "https://hostname:10000/" in a browser like Internet Explorer,it results cannot find and it can ping to the Ubuntu server and i even tried to use Remote Desktop connection the page appears but says that username password in not valid.
I've installed LDAP,Samba,LAMP,Bind9(DNS),Bazaar on Ubuntu SErver 6.06.

Do i have to install LDAP in Win2003 server and configure it as a slave LDAP for using webmin as an interface to connect Ubuntu Server?

Can anyone tell me how to open and close ports in both windows and linux like Ubuntu SErver?
How to open port 10000 and accept request through it?
 
Old 08-24-2007, 01:17 AM   #8
rupeshpra
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Original Poster
Blog Entries: 2

Rep: Reputation: 0
Lightbulb How to setup a mail server in Ubuntu 6.06 server?

Can anyone tell me how to setup a complete mail server in Ubuntu 6.06 Server?Well i know this much that i have to setup IMAP but it didnt install, well again i read that i had to install agent like MTA(Mail Transfer Agent),MDA(Mail Delivering agent),MUA(mail user agent) is it necessary?Others even told that i've to setup Postfix,Dovecot Server,Mailman,are these all necessary to setup a mail server like IMAP?
Plz help me its urgent?
and also tell me how to configure it correctly so that i can send and receive email through my own mail server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why this simple cgi script doesnot work ? . adam_blackice Programming 4 04-04-2007 10:50 AM
NFS shareing doesnot work. Chundo Linux - Newbie 6 11-11-2006 03:13 AM
system-config-packages doesnot work in RHEL 4 tuxfood Red Hat 0 12-13-2005 12:19 AM
Sound doesnot work anshulkothari Slackware - Installation 1 02-01-2004 06:46 PM
RHN9 - Gnome crash, KDE doesnot work vijlovely Linux - Newbie 2 07-13-2003 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration