Debian :: How To Setup A Server

Dec 14, 2010

I work for a small business that is in need of a web host change, because we're apparently getting too big for our current web host. Being the IT tech for the small business, it's up to me to get this website of ours moved to something that can host us with no trouble. After doing research and listening to other local small businesses with similar problems, we've decided to settle with Amazon's EC2 service. Since their "instances" will almost act like virtual private servers with our own choice of OS, and offering a pay what you use service with seemingly no limits, it fits our demands quite well. But, before we just go sign up and try to get this working, I need to first try and figure out how this is done. Truth be told, I have never once set up my own server, so this is mostly completely foreign to me, though I am willing to learn whatever it takes to get this done.

How exactly does this involve Debian, you ask? I'll explain. Before I took over as the IT tech, the previous guy (who left and moved away to earn his PhD) helped me learn a little bit of stuff before he left. He did so by having the business buy the necessary pieces to build a computer from scratch, and installed Debian as the OS. I learned enough Debian to do simple things like use the terminal, setting up crontab and other innocuous little things. It wasn't until after he had left that we found out that our current web host is finding our website getting too big for them to handle. As I still remain in contact with the previous guy in between his work on his PhD, he agreed with our choice on using Amazon EC2 as our host, but also suggested before starting up with them, to attempt to see if I can get the website to work on this Debian machine, and to mimic the same procedure on the Amazon instance once we sign up to make the change as quick as possible.

The problem with this stems back to what I said earlier, in that I have no idea how to set up a web server, and my knowledge with Debian is quite limited. I have no idea how to set up our website (which I have downloaded everything for it already) on this machine so I can see if it works, and then replicate the work on the Amazon instance (to which I would choose Debian as the OS). I figured there must be guides somewhere to help an idiot like myself in doing this, but I've had little luck in finding anything of the sort. The best I have found was installing LAMP and ensuring Apache, PHP and MySQL (the languages our website uses) and have followed that, but beyond that I have no further idea. Other guides I have found really only teach how to install other languages and packages that our website doesn't use. Which is why I'm here.

View 14 Replies


ADVERTISEMENT

Debian :: Ubuntu Local Mirror Setup For FAI Server Setup?

Apr 24, 2011

I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.

View 1 Replies View Related

Debian :: How To Setup A Home Server

Feb 14, 2010

I want to try and set up a server on a home PC, using Debian of course, rather than on a remote server. hosting web pages, a mail server and a file server etc. Installation looks fairly straightforward. However, there are one or two things that are not too clear to me:

A. Is it best to connect the server using Ethernet or is wireless OK with network manager or wicd or doesn't it matter? Answer: Wired ethernet is best

B. if the IP of my desktop Debian (wireless) has the same IP as the server, how do I connect from my desktop? The router has its own static IP address but assigns two different IP addresses, one to the desktop computer and the other to the PC being used as a server.

C. I have a static IP and a domain.com without hosting but it's status is "parked". Not too sure what this implies. [When domain is "parked" it means it is still hosted by the company that registered it. So it's necessary to "unpark" it.] It was very easy to unpark the domain as explained in a reply post below.

D. setting up DNS with the static IP? [Answer: in the case of the company i registered with, I didn't have to set up any DNS because the domain works with the company name servers, so it was much less complicated than i imagined.]

E. I seem to have only ONE Primary DNS for my connection.

F. it's better on a server to have no Desktop. It looks easy enough to install but, accustomed though I am to the CLI. configuring without cut and paste is very tedious.Can anyone suggest a way round this? I've thought of trying to use the lynx browser and nano. [Answer: Best to install the server without a Desktop. For editing files I used PuTTy, which enables me to cut and paste and nano having found vi pretty unfriendly. One day i'll get round to using vi or vim which may be more than a blast from the past! Once the thing is fully set up it would be nice to connect to the server from the first desktop computer using GUI tools.

View 14 Replies View Related

Debian :: Mail And IM Server Setup ?

Aug 22, 2011

I would like to set up a mail and instant messaging server running on squeeze.It will be running on a 1ghz celeron (pentium 3 era) with 1gb ram and 10gb hdd (I'm assuming these are high enough specs) It will have less than 10 accounts and probably no webserver (not sure if good idea). I am also unsure of what IM protocols would be best for this. I would prefer to do all this from the command line if possible (so long as it's not too hard) and preferably from a remote machine (so SSH?) I prefer IMAP if possible but pop3 and smtp are also fine. I would also like to be able to connect remotely with encryption (not a big requirement -just a nice feature)

View 4 Replies View Related

Server :: Setup A DNS Using Debian Lenny?

Jan 3, 2010

I'm attempting to set up a DNS server using Debian Lenny. I followed the instructions on this page:

[URL]

and it's not resolving domain names.

View 14 Replies View Related

Debian :: Server Setup With Static IP Not Accessible

Jan 22, 2011

I setup a server last night and was able to remotely connect to it and access the internet with it. However, now that I have setup /etc/network/interfaces so that the server will have a static IP address, I cannot access the server remotely. Also, from the server itself, I cannot access the internet. Ping provides "unkown host" for any website I try. How do I fix this?! I don't know why this is happening.

Here is my interfaces file:
Code: ...
#The primary network interface
allow-hotplug eth0
# also tried with and without auto eth0
# auto eth0
iface eth0 inet static
address 192.168.133
netmask 225.225.225.0
gateway 192.168.1.1 This is the only NIC on the server.

Here is ifconfig:
Code: eth0
Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr: 192.168.1.133 Bcast:192.168.1.225 Mask:225.225.225.0
UP BROACAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txpueuelen:1000
RX bytes:0 (0.0 B) TX bytes: 0 (0.0 B)
Interupt: 29

View 2 Replies View Related

Networking :: Setup Mail Server On Debian?

Nov 29, 2008

i am looking for a guide to setup a mail server on my domain (company.net) so i could have some accounts like

[URL]

and i was wondering how i can make it , and if there a webmail interface to control my emails.

P.S. this is server located at my home so i have full access

View 8 Replies View Related

Debian Configuration :: Optimal Setup For A Mail Server?

Apr 16, 2010

I would like to discuss setting up a mail server and its implications and alternatives. First, let us see if I have understood this correctly: A mail server consists of many different components. First, a server to listen to any mail inbound for a specific domain (say postfix), and then a POP3/IMAP server (say dovecot). Then, I should somehow configure the rules by which all mail is forwarded to their respective owners. This should be fairly simple by using debians package managers and dselect or whatever program it is that sets up right packages by use cases at the install.

But now lets assume a more complicated environment, where there are multiple users with different domains and needs. First, we need to send mail to ourselves from webapps for instance for backup purposes. So let's say we have a domain called domain.com setup, and we want to send mail to backup@domain.com. Unfortunately, some configuration issue makes the application get confused, because it is trying to send mail to itself, but doesn't quite understand what it should do. How can this problem can be solved?

Second, how could I configure different domains with different rules. For instance, if I want one domain to have a catch-all account, where random email sent to erroneous accounts is captured? Or if I want to create accounts which are not based on actual Debian accounts, but instead just random usernames (say, danny@domain.com, mike@domain.com, support@domain.com etc.)?

Finally, which are the best web-guis for doing such configuration? What if the customer wants to himself add accounts? I cannot require him to edit text files - especially if he can thus break the whole configuration for other customers as well.. postfix-admin is one, but it is quite crude-looking. Is there something which integrates both postfix, apache and dovecot configuration? How about Webmin?

View 2 Replies View Related

General :: Setup A Simple Home Server With Debian?

Jan 5, 2011

I've decided to try and setup a simple home server with Debian. I can either install the OS on a compact flash card and use hard disks as storage, or just install everything on the hard disk. I'd also like to set up a software raid for mirroring. I've never done this before, and most recently updated documentation i've found is for ubuntu. Any advice or good links someone can point me to on how to set up raid? I'd like to encrypt my hard disks but I don't know what my options are. It seems like people point to truecrypt, but i'm wondering what else is out there or if people have any advice on this. Would it be feasible to do this if I install the OS on a compact flash card and?

View 3 Replies View Related

Server :: How To Setup Diskless PXE Client On Debian Lenny (HPC)

Aug 8, 2010

I currently have a debian lenny high performance cluster running seamlessly using dhcp and tftpd-hpa. All nodes are completely diskless, and i would like to keep it that way. I now would like to have a client boot over local into a full KDE desktop.

Here's the cache.
1. I would like the client to also be a node. I would like it to handle processing as the other nodes do, but this one with a full desktop, with ALL data and privileges accessible.
2. The client will have its own workstation graphics. It will need to have that driver loaded without slowing the system.
3. Client will need to be able to use its own usb, bd-rom, dvd, audio, etc. even though it will be booting into the HPC.
4. Wireless. I cannot run 70 ft of lan across an apartment. not happening.

The idea is a media center applicable "powerhouse" with high-end power and graphics for easy media editing, 3d creation, and gaming. Will also be used for webcache over all local, file sharing, and other server applications.

HPC specs:
-headnode: hp compaq p4-ht 3.2 ghz, 4x500gb, 4gb mem, gigabit ethernet, wireless-N
-nodes: 4x p4-ht 2.2 ghz, 2gb mem, no-name brand slim desktops; 2x panasonic toughbooks p4-mobile 1.8 ghz, 1.5gb mem; 3x gateway p3 unknown specs; and 1 hp 530 notebook 1.6ghz core2 duo, 1.5gb mem
-client: hp compaq core2 duo 2.13 ghz, 4gb mem, wireless n, bd-rom, 2x dvd-rom, usb 3.0 card, bluetooth, 1gb AGP nvidia geforce 6800 dual-dvi, no hd.
I need to know how to set up this PXE.

View 1 Replies View Related

Debian Configuration :: Email Encryption - How To Setup Mail Server

Feb 8, 2010

Could anyone point me to some simple articles that explain what email encryption is and how to set up a mail server (e.g. Exim) that can send secure emails? I know nothing about networks, mail servers, encryption, etc., but I have to be an expert on it before I walk into work tomorrow morning.

View 14 Replies View Related

Debian Configuration :: Setup A Bind9 Server For Home Network?

Mar 4, 2011

I'm trying to set up a bind9 server for my home network, I have all my IPs set to 10.0.0.X. I would like the forward and reverse to be simply "machinename", not "machinename.domain.com", as I don't want to type a domain everytime.

In my named.conf
zone "net.local" in {
type master;
file "/etc/bind/net.local.ns";
allow-update { none; };

[Code]...

View 1 Replies View Related

Debian :: Setup Vnc Server And Keep It Running In The Background After Restart On Lenny Workstation?

Sep 23, 2010

How to setup vncserver and keep it running in the background after restart on Lenny workstation? The admin should be able to connect every time via vncviewer to this workstation.

View 2 Replies View Related

Server :: Unable To Setup A NIS Server Setup On CentOS System

Jan 19, 2010

We are trying to set up a NIS server on a CentOS system. We need to have a NIS server which can provide NIS authentication to a couple of clients. We are practically new to all this stuff.

Just googled to find some ideas about installing ypserv and ypbind and portmapper. We did all that and also started them successfully. But now the clients are not able to join to the NIS domain . The error log states "YP_DOMAIN NOT BOUND".

I guess we have not entered the /etc/yp.conf, /etc/hosts files properly. Please let us know the detailed steps to setup a NIS server .

Also, please let us know what entries should go into the different /etc/<file_names>? What is meant by HOSTNAME in the /etc/hosts file?

Is there any other files which need to be changed? Are we missing any steps?

Also to add-on, while executing the ypinit command we faced the following error:

At this point, we have to construct a list of the hosts which will run NIS servers. localhost.localdomain is in the list of NIS server hosts. Please cont inue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: localhost.localdomain next host to add:

The current list of NIS servers looks like this:

Is this correct? [y/n: y] y

Error running Makefile.

View 3 Replies View Related

Debian :: Setup A Squeeze Server For A Friend Of Mine Using Exact Apache2 Settings?

May 31, 2010

I just set up a Squeeze server for a friend of mine using my exact apache2 settings. He has been playing around, having a bit of fun learning HTML, but he ran into a problem where one of his images would not display. I at first figured his HTML was incorrect, but after a very long time of trying to figure out the problem, I still do not know what is going on, so I think it must be an apache2 problem?[URL]..

View 14 Replies View Related

Debian Configuration :: Setup A NFS4 Server (no Security, Local Home Network Behind FW)?

May 30, 2010

I'm trying to setup a NFS4 server (no security, local home network behind FW). It seems that I'm missing something because 'rpcinfo -p' does not list v4 for NFS: petit-pois:/home/eric# rpcinfo -p

[Code]...

View 3 Replies View Related

General :: Setup A SMS Server, Appropriate Distribution To Setup A SMS Server?

Oct 22, 2010

How to setup a SMS server using Linux, also want to know the appropriate Linux distribution to setup a SMS server.

View 2 Replies View Related

Server :: Setup Master / Master Mysql In HA Setup Without Use Of Load Balancer Provided By Host?

Mar 31, 2010

I have a load balancer with 2 web servers behind it. The web servers rsync with cloud storage to update their apache directories 1 time every hour. Apache is just running php pages that pull/push data to a DB so they dont need to be updated that often. However I need to figure out how to implement a Master/Master MySQL setup to have my web servers point to for the PHP stuff. I need to implement it without having a single point of failure. The Load balancers are useless for failover as they only detect availability based on Ping request. So putting a master/master setup behind a Load Balancer is out. what is the best way to setup the master/master mysql in a HA setup without the use of a load balancer provided by the host?

View 2 Replies View Related

Server :: Setup RAID 1 On CentOS 5 Server For A Zimbra Email Server

Feb 7, 2011

I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.

View 1 Replies View Related

Server :: Setup An Ssh Server That Doesn't Require A Username,password Or Cert To Login?

Jun 22, 2010

Is it possible to somehow setup an ssh server that doesn't require a username,password or cert to login?I wish to provide shell access to a console program, which will prompt for a username and password.Encryption is essential though, and users must not be able to snoop in on each other

View 9 Replies View Related

Programming :: Java Servlets: Setup The Server Side Configuration On Fedora Web Server?

Jan 4, 2010

If you hadn't guessed it from my last 3000(ish) java-related posts, I'm a Java n00b writing a Java Applet for a work project. I got to the part was I was about to write the applet code that would send HTTP requests to my CGI scripts. But I read some paragraphs in a book praising Java servlets as better that CGI because they are easier to use and give much better performance server side. My server load isn't very big, though, and I was wondering if it would be worth taking the time to learn about Java servlets and how to set up the server side configuration on my Fedora web server.

View 3 Replies View Related

OpenSUSE :: FIrewall Setup / Client Computer Cannot See NFS Server When Scanning For Server - OSE 11.2?

Apr 21, 2010

I have a small home-office network. On that network I have two linux computers, one is a client the other a server.

On the server I have NFS Server setup and mount some NFS exports on the client computer.

On the server I have the firewall on and here it becomes a little tricky.

Since both the server and the client connect to the router the interface (eth1) is theoretically both an internal & external zone.

The router is commercial grade and therefore has a good firewall on it which is also setup. Therefore the firewall on the server is really more of a backup than a necessity. But that's fine, and by having the server's firewall on 'fail2ban' is able to work which I like to have working so I don't want to just turn off the server firewall even though I have good security from the router.

However, when I turn on the server's firewall, the client computer cannot see the NFS server when scanning for server -- done by: clicking on "Choose" next to "NFS Server Hostname" when adding an NFS share in the NFS Client in YaST. Clearly something is being blocked even though I have both "NFS Client" and "NFS Server Service" allowed in the server firewall. The Firewall config. files for these are below.

The Firewall configuration is pretty much "out of the box". That is I have the services I need opened up for the external zone, the other zones are left at their default which means the internal zone, although not used (i.e.: attached to any interface), is completely open.

The perfect solution I guess would be to setup my client computer to connect through a different NIC (perhaps eth0), make that the "Internal Zone" and therefore allow all traffic through to it while still blocking the server from the external zone. However, I cannot make that physical change to my network for now so I am looking for an in between (non-perfect) solution.

In this case I am guessing that means opening up extra NFS ports to the external zone so I have full NFS functionality. I don't mind this because like I said, the router firewall is the main line of defense anyway.

So, given all of the above could someone tell me what I would need to additionally open up in the server firewall to make the NFS server detection work on the client while the firewall was on. Or, if you have a cleverer/better solution without me changing my physical network that would be great.

Hopefully I have written this in enough detail and clearly enough so that all the parameters are clear but if not, feel free to ask me what you like and I'll try to make it clear.

Code:
## Description: Firewall Configuration for NFS kernel server.
#
# Only the variables TCP, UDP, RPC, IP and BROADCAST are allowed.
# More may be supported in the future.
code....

View 6 Replies View Related

OpenSUSE Network :: Mulit Server Setup \ Server Machine Has No Internet?

Mar 27, 2010

I want to set up the following server in open suse:dhcpopenldapnfs (to allow users to mount their home directories from the serverI started off with the openldap server. I configured it with dc=localdomain,dc=local as its domain. As the server machine has no internet. Though when I go to add a .ldif file with the following command

Code:
ldapadd -x -D 'cn=Administrator,dc=localdomain,dc=local' -f /home/base.ldif -W
It returns this

[code]....

View 9 Replies View Related

Ubuntu :: Web Server - Setup Model And Need To Give Computer Some Capability To Act As A Server

May 19, 2010

I want to set up moodle and need to give my computer some capability to act as a server. I am following the steps at [URL] although my question is not really related to moodle. Here is the problem: setting everything up to make my computer accessible from outside has worked so far. I got myself a static IP address using a dynamic dns server and can ssh into my computer from any other computer connected to the www. So,

[Code]....

View 3 Replies View Related

General :: Setup Dedicated Server Using Ubuntu Server Or Equivalent Opensource OS?

Jan 16, 2010

How to setup Dedicated Server for Web Hosting using Ubuntu Server or equivalent opensource Operating System? And how to make secured my Dedicated Server on public?

View 1 Replies View Related

General :: Setup Remote Access Server On Red Hat Enterprise Server Release 5.1?

Aug 30, 2009

how i have a machine installed Red Hat Enterprise Linux Server release 5.1 with 2 modem (usb & com port) still i want to configure RAS server so some pple able to connect my server and send me some files.

View 4 Replies View Related

Server :: Setup A VPN Server At Work For Resource Sharing - Connect Keep Failing

Aug 29, 2010

I need to setup a Linux VPN server at work for resources' sharing, I currently have a server running CentOS 5.4, and tried endless tutorials on the web, but to no avail, and can't find where the logs are kept for the VPN server to check where the error is. But all my attempts to try to connect keep failing.

View 9 Replies View Related

Server :: Server Setup Using Ubuntu For SSH Account Hosting For Socks Proxy?

Mar 21, 2010

I have a few friends that have seen me bypass firewalls with a socks proxy (SSH). I explained on how it works and how secure it is for browsing the Internet and checking your email in public places. I had at least 6 asked me if I could set up an account on my server for them and they would pay me! Now what I wanted to know was how I can set this up in a server and website where they can register an account and pay me through PayPal! I don't need help setting up the site! Just on how to set up the server to automate this. What tools are needed (ex. ISPConfig, jailkit.... stuff like that?) I don't mind doing this manually but if I get more people that would like this I don't really want to do every single one.

View 1 Replies View Related

General :: Setup Server To Automatically Synchronize Its Server Clocks?

Oct 5, 2009

How can I setup my Linux server to automatically synchronize its server clocks? We need to ensure our server clocks are set to the correct time always.

View 2 Replies View Related

General :: Setup A Sendmail Server On Dedicated Server And Exim

Mar 16, 2010

I am trying to setup a sendmail server on my dedicated server. It was pre-configured to use exim from cpanel. Is it possible to use exim for all emails from a a certain domain i setup on the server and sendmail for others?

ex.
domain1.com -> exim
domain2.com -> sendmail

If it is possible can someone let me know how i would go about doing this? If it is not how would i disable exim and use sendmail for all mail?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved