Server :: Setting Up Home Webserver (for Testing)?
Jun 28, 2010
I am interested in setting up a webserver on a PC I have laying around...more for the experience and knowledge of learning it from scratch. I have used dedicated servers before with webhosting, but did not do the installations of apache and other items. The server we had purchased had CentOS installed.
My question is, can I use this desktop I have to simply install the CentOS DVD torrent off their website, and start from there, with installing apache, and all the other items associated with a server environment to test/play around, or is there a difference and something I am missing with my plan to do this?
The end result will be having my desktop setup as a "server" I can ssh into and screw around with just to learn more about it.Sorry for the basic question. (i posted this here instead of the "newbie" section, since i figured it would get moved here)
View 6 Replies
ADVERTISEMENT
Apr 20, 2010
I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.
The easiest way to do this would seem to be to just change & export $HOME, eg
cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions
However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?
View 1 Replies
View Related
Jun 21, 2010
Im trying to make a webserver at home. I have a static IP Address of my ISP (o2) I have built a server ( 2.8 p4HT, 2GB Ram, 500GB HDD) Just to test... But, i dont know what to do in the IP Address settings for the IPv4 ( I think thats what it is) Do i put my static IP address in my ISP gave me, or the local IP of the server ( Wich is 192.168.1.72) Im realy confused. Ive tried everything i can think of, Reinstalled the os about 40 times up to now...
View 1 Replies
View Related
Dec 18, 2009
Ok let's say I have Apache Webservers on 2 different machines within my network, I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.
But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available. I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com
I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.
View 1 Replies
View Related
Nov 17, 2010
how to create an entire server from scratch using a minimal install. I know Ubuntu Server 10.04.1 comes with packages that can be included during install but for the sake of learning I only installed SSH access.
I was able to get Apache2, MySQL, PHP5 installed and running fine. What I'm trying to do next is setup DNS so I can point fragdata.com to my Ubuntu server and have other people see my test site.
I have registered the nameserver ns1.fragdata.com with my IP and updated DNS in my registrar. I followed the tutorial but "dig fragdata.com" gives me the following:
Code:
root@linux-server:/home/syvil# dig fragdata.com
; <<>> DiG 9.7.0-P1 <<>> fragdata.com
;; global options: +cmd
;; Got answer:
[Code]....
View 9 Replies
View Related
Sep 1, 2010
i am planning to setup a Web server on AWS Cloud Platform.The requisites are
ubuntu karmic 9.10
Java - 1.6.0_20
Tomcat - 6.0.29
Apache - 2.2.14
Mysql - 5.1.41-3ubuntu12.6
Since i am not much familiar with Ubuntu,Shall i go for apt-get install or download source and compile each application.
View 4 Replies
View Related
Oct 29, 2010
using Ubuntu 10.10 server edition I guess on my Dell Dimension 5150. 3Ghz P4 with 2Gb DDR2 6400. A ATI HD3870 512Mb and a 450watt brick. 1.5 Terabytes of hard drive space. What I would like to do with this is set it up so that I can log into this machine through my laptop or other computer on the network and watch the movies off my hard drive. Basically have a headless server that 5 to 6 computers can access and it not slow down of mess up the audio track on the movie. Is there any software I need or is this a big project that requires a whole bunch of settings?
View 2 Replies
View Related
Jan 3, 2011
I have 2 windows pc's in my home and an office computer that have my files strewn about. I wanted to have them all in one central location that keeps a backup copy, so i used an old machine to start building a file server. I installed debian 5.0 on the machine, command line interface only. I have gotten ssh working so that i can do all my work on the box from one of my windows pc's by logging in with putty.my current problem is how to easily use the box hard drive for storing my files in an easily accessible way. i'm still working on getting samba to work so that i could map the /home directory to a drive letter on my two home pc's, but i'd also like to access files from my work pc. Before i do that, though, i wanted to know if this is safe and secure to map a drive on a remote machine through the internet? Are there any other security concerns I need to be addressing by having this file server set up?
View 7 Replies
View Related
Dec 13, 2010
I am wanting to turn an old desktop to a small file server, just the usual movies, music, pictures, etc. I want to be able to access this not only on my home network I want to be able to access it online so there is a way to get to my files remotely if needed. I was wondering if ubuntu server is what I must use or would the desktop edition do the trick?
View 2 Replies
View Related
Mar 2, 2011
I've been looking for the last few days for a good how to on setting up a home server using Ubuntu 10.10. I have found several and looked them over and have installed the server on to a system and started to get it setup. Now though I cannot access anything via http, even the php info. I want to start from scratch on this but finding the best tutorial on how to do this. The idea on what I plan to do is set it up to be able to hold mp3's on and allow them to be downloaded or played on other computers on the home network. Also will be looking to setup to have other items done as well such as a database that can accessed. I would like to be able to use both Http and Ftp on this if possible.
View 3 Replies
View Related
Jul 9, 2010
I am having trouble setting up name based virtual hosting on my Linux Webserver. I have two websites: I need the lowcostchemicals site to use a SSL certificate which I have already created and added to a folder [URL] The lowcostchemicals site needs to go into the folder:[URL] The [URL] site needs to go into the folder [URL] I have tried to set up the virtual hosts but all of the sites go to the root folder: var/www/html/
View 1 Replies
View Related
Jul 16, 2011
I previously installed centos using DHCP. Now I purchased a domain name and want to set it up as a webserver. if I choose the static ip address based on the existing DNS server given to me by the domain company, it will ask for the subnet mask, default gateway and i do not have them.
View 6 Replies
View Related
Aug 24, 2010
I would like to build a server to act as a file/print server for my home. My wife, sister in law, and myself would use it. I would like it to be friendly to both windows and linux. My sister and I are both dual boot and for now my wife is windows only. Pretty soon though I plan on setting her up on linux as well. What would I need? And are there any "good" guides to setting something like this up?
I would like to use the system to:
- Store media / files
- Maybe have KMyMoney on it and share with the wife
- Hook a printer to and use as common printer
View 2 Replies
View Related
Mar 7, 2010
I've played with ubuntu for quite a while now and i picked up a atom core mini pc for cheap so i thought i'd make a hobby in setting up a simple server to store files on, access files on my xbmc enabled xbox and download torrents whilst i'm at work though the torrents can wait for future projects though i installed ubuntu server 9.10, i'm aware it's CL only, anyway thus far i've managed to set up the ipaddress of it and make it fixed i'm not sure of what to do with hosts at the moment, reading on it isn't making much sense of it's purpose or layout so i've left it as is i permenently mounted a fat32 partition to /media/stuff and changed permissions to 0777 only have one user on it, myself installed samba smbfs smbclient and an openssh server, and can do all the terminal stuff from my normal pc my current issue lies with samba, with gnome desktop i've never had TOO many problems with sharing folders, however i'm stuck where to proceed in regards to editing smb.conf as there's a lot of options, some of which i'm not sure i need
- I've changed the workgroup to home
- under authentication i have security = share
- i added the following section
Code:
Anyway on my windows xp pro machine, i can access \thork which is the machine and i see 'media-stuff' which is a start i guess, but im refuesed access automatically.
View 9 Replies
View Related
Jul 18, 2010
Set up my own web server hosted at home that I can use a genealogy program such as GRAMPS or PHPGedView with so that family members and I can store, view and upload information online viewable only to other family members.I have a old Dell server from work to use as a server (I know specs are helpful but don't have them at the moment.)I know that there are web hosting sites that this can be accomplished with easier and cheap but I mostly want to use this as an opportunity to learn.I am extremely new to Linux but the love the power it offers as well as it's philosophy.So far I've installed Ubuntu 10.04 Server on the machine.
I installed Apache, MySql, PHP and various other things with it.I got all the way through but have some errors with ISPconfig set up and some when I reboot.My main question at this point is, is this the best approach for what I want to do? And then once it's set up where do I go to learn how to use my system.
View 2 Replies
View Related
Jan 31, 2010
I'm trying to setup a server at home, it has some practical implications, but largely it is just to take a stab at it. But I need the help of someone with more experience than I in defining exactly what I'm looking to do.
Here's what I have: old PC running Gutsy server connected to router. Several laptops at home connected via wifi to router. All laptops running either Windows or Ubuntu. Here's what I'm looking for: The server centralizes file storage for all clients. I would likely incorporate a RAID and some synchronised imaging of the files. I also want the server to create disk images of the clients hdd, regardless of client OS.There would also be some shares that would be publicly accessible (myself and friends accross the country would be able to access the same drive).
So I was thinking something like what corporate environment would be nice, you log into a profile that exists on the server. Like a dumb client...all data would be stored on the server. But I'm thinking that's more like a network boot and wouldn't work via wifi (or would it?). Also that wouldn't lend itself well to laptops used on the road in areas without net access. now I'm thinking each client would have its own locally installed OS, and they would just access networked shares. I could store sensitive files on the shares, but that wouldn't provide complete backup solution for each client.
Without rambling on anymore, anyone care to throw out some ideas? I'm really just looking to see if I can do what I want. The focus is on centrallizing files, securley backing up data and client OS's and ability to restore said images quickly.
View 3 Replies
View Related
Aug 21, 2010
I have installed apache php and mysql on my pc during debian installation... some of my friends complain they cannot access my webserver from their home and it's available only within my local network... Please help regarding this...
View 6 Replies
View Related
Jul 12, 2010
I am setting up a web server and SElinux keeps stopping httpd/appache and making it fail. Everything works fine when SElinux is set to permisive, so I know it is SElinux causing the problem. I have all the apache/httpd items allowed in the SElinux bool and even added the line the troubleshooter told me to add but the problem still persists. Here is what SElinux puts out:
[Code].....
several times and it does nothing. I have all the permissions set to Apache as owner and group and allow execution on all the files.
View 1 Replies
View Related
Mar 30, 2010
I am interested in doing some testing for Fedora. I want to be able to test nightly builds of fedora. I currently am running F12 and depend on it to do daily work and don't want to risk breaking it just for testing. I wanted to know how fellow fedoraforum members do testing of new fedora builds? Do they have several root partitions to install a working and testing install? Do they put in a virtual machine?
View 3 Replies
View Related
Apr 17, 2016
I'm having trouble figuring out how to edit the sources list to use Jessie testing.
The usual online generator i use is busted, this is how i imagine it working:
Code: Select alldeb http://ftp.au.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.au.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
View 12 Replies
View Related
May 17, 2011
EDIT: This thread has taken a different turn, please go down to viewtopic.php?f=30&t=64242#p370832 Below is I originally wrote, now totally irrelevant.:D I am delighted/bored with my one Debian Squeeze install, so I've decided to free up a partition to play with another configuration of the universal OS.At the moment I am liking the looks of the supposedly not so unstable Sid; what's the ideal download/install path to get Sid up and running? Is it:1) I already have a live Squeeze GNOME DVD lying around; should I install that again and upgrade to Sid?
View 6 Replies
View Related
Jan 22, 2010
Now that I've [url="http://forums.debian.net/viewtopic.php?f=10&t=48745"]destroyed[/url] the installation on my notebook, and a fresh install of Lenny with upgrade to Squeeze (to try out smxi) didn't work, I wanted to install Squeeze fresh.But not from a CD. That's too tired, and I've never actually installed from a USB stick.So I set out to do this, for it doesn't seem hard at all:
http://d-i.alioth.debian.org/manual/en. ... 04s03.html
I even get to use cool-sounding commands like zcat, so this is way hipper than burning CDs, of which I have far too many lying around. Now here's the thing, it boots up and gets started, but the versions of don't match. I got both of them from the [url="http://www.debian.org/devel/debian-installer/"]Debian-Installer page[/url] from netinst , both amd64, specifically: http://d-i.debian.org/daily-images/amd6 ... oot.img.gz (30 MB, don't click)
and http://cdimage.debian.org/cdimage/daily ... etinst.iso (139 MB, don't click)
How on man's green web,then,do I make sure that I match up the correct versions of the netinstall image and the installer files?hangs head and slooowly reaches for CD spindle...
View 4 Replies
View Related
Jun 3, 2010
This is my first ever time trying out a Linux based system and I would like to ask a quick question. When you plug in your cd/flash drive it comes up with the option to try Ubuntu before installing it on your hard drive. When I go to try I can't connect to my home network. Is this because it is in the try mode? Or something else?
View 4 Replies
View Related
Jan 29, 2011
Which distro is the best for a webserver? and are there any specifics I should keep in mind choosing one?
View 1 Replies
View Related
Sep 3, 2010
I have one desktop machine with fedora 11 installed and a Laptop with both linux and Windows Xp. I use the laptop as my client machine.
I want to set up both a dns and web servers on the same machine for testing and practise purposes.
how to do it bcoz I can set up the webserver but I can't browse the website on the Fedora machine when I use my laptop. I have learnt that I should set up a Dns server.
View 1 Replies
View Related
Jul 30, 2011
What's the best way to move over 500 sites from a webserver with apache and mysql on the same server.. to a new server?
View 1 Replies
View Related
Mar 31, 2011
I am using squid3 on ubuntu server 10.10, publish my webserver running on other machine on ubuntu10.10 desktop. My server is configured for squid3 transparent proxy which is running successfully.
Now I need to publish my other machine which is running with apache2 webserver.The local IP is 192.168.1.5, I need to assign a public IP as 61.8.153.212 provided by ISP.
use my webserver machine outside the LAN using internet, through ubuntu server 10.10 squid3.
View 3 Replies
View Related
Mar 3, 2011
The server I'm running runs Debian Etch, Squid and Shorewall. Every 24 hours the server gets a new internet IP so I need to use dyndns to keep the dns pointing to the correct PC.
I have a webserver that is running behind the debian server and am having trouble with it. When I enter the web address, it gets a timeout.
View 3 Replies
View Related
Jul 16, 2011
I have a dedicated server which I run on him only one website which has about 11k-15k unique visitors per day.
The httpd processes stuck it almost everyday and I can't understand why... I fix it via "killall -9 httpd" and then "service httpd start". code...
View 2 Replies
View Related
Feb 22, 2011
I have a Ubuntu server (10.10) setup with apache and is being port NAT'ted via firewall from outside to the webserver.I am able to access the webserver from inside LAN but not from outside. NATs are working fine because I can see the traffic come through on tcpdump but the webserver will not respond to the request from outside ip address.Here are the tcpdumps.
10:11:58.939005 IP 12.xxx.xxx.6.10146 > 172.16.2.100.80: Flags [S], seq 3098920688, win 65535, options [mss 1380,nop,nop,nop,nop], length 0
10:12:01.898852 IP 12.xxx.xxx.6.10146 > 172.16.2.100.80: Flags [S], seq 3098920688,
[code]....
View 4 Replies
View Related