Fedora Servers :: Setting Up Vhosts On F10?
Dec 10, 2009
I'm tring to setting up some subdomains but it won't work and I don't understand why.I've got the [URL]. Now I want to setup some subdomains for example with test.domain.de I made an entry in my http.conf which looks like this:
[Code]...
View 5 Replies
ADVERTISEMENT
Jul 13, 2010
What I want to do now is make nicmatthew.co.cc point to /var/www/nicmatthew/html and make rielworld.co.cc point to /var/www/jimriel/html. I have created the apache vHosts nicmatthew.co.cc and rielworld.co.cc containing this:
Code:
<VirtualHost 67.23.224.90:80>
ServerName nicmatthew.co.cc
ServerAlias nicmatthew.co.cc
ServerAdmin nmatthew@nicmatthew.co.cc
[Code]...
So now I would like to know how to make rielworld.co.cc and nicmatthew.co.cc point to the correct places. Do I somehow set up nameservers? Do I make an A record?
View 1 Replies
View Related
Oct 23, 2010
I have an urgent issue with my apache. Since last night approximately 50% of my vhosts are responding very slowly. That means I see a blank page for 1 minute and then the content comes up real quick.I restored the httpd.conf file but it didn't solve the problem.
View 4 Replies
View Related
May 13, 2009
We are looking at setting up an SVN or CVS repo
We were also asked to research which is the best and easiest to work with/ setup. So I came here instead of google as no doubt many have used both and have their views of whats what.
View 2 Replies
View Related
Sep 4, 2009
I will be getting an old and decrepit laptop (the PS2 channel went out). I have decided that I would like to set it up to be an email and minor data server. The only problem exists that I have never setup a server, yet alone a linux server before.
I want the server to allow user authenticated access to a certain folder on the machine where other clients can go and copy and paste files for the data server portions and I want it to download emails from multiple domains (Gmail, a Microsoft Exchange Server, and from a private domain) and then allow other clients to log in and download those messages (I would like to keep each domain's emails separate so the client has to specify which domain's emails to download).
View 2 Replies
View Related
Oct 25, 2009
I have a small home network running mail agents Evolution and Thunderbird, and connected to the internet via Comcast. Originally I used my campus office computer as a mail server, but encountered problmes because Comcast started blocking port 25, allegedly because of span problems. I need to change the setup on my campus office computer so it uses port 587 when functioning as an outgoing mail server.
Can anyone recommend a tutorial which tells me everything to do in order to accomplish that?
At present I'm, using Comcast's outgoing mail server, but I started having problems with sporadic blokage of outgoing mail with attachments, which Comast can't explain.
View 7 Replies
View Related
Feb 27, 2011
I'm hoping its the right place to ask the question: I have Fedora 8 server acting as a web server. It is a VM hosted at Amazon. I'm trying to use their SES service and using their ses-send-email.pl file to send a mail.I'm getting the following error: "Can't locate Digest/SHA.pm in @INC" I tried installing the Digest-SHA module but I'm not sure how to do it. All manuals and how-to's I found looks like they are intend for development servers not production (meaning I found myself installing alot of packages not sure they are all necessary). What should I install (and how) in order to make it work?
View 1 Replies
View Related
Mar 2, 2010
I want to set up a cluster for scientific computing (mainly statistical stuff with R). I have a few conceptual questions. First, is there a difference between a Beowulf cluster and a cluster that has single-system image ("SSI," e.g. using openSSI or LinuxPMI)? If so, what's the difference? Second, if there is a difference between Beowulf and SSI, which one is better for scientific computing? Third, does using Eucalyptus make sense for scientific computing or is this more suitable for IO-oriented operations such as web service or databases
View 2 Replies
View Related
May 29, 2011
I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files.
Here's my smb.conf as it stands.
Code:
[global]
workgroup = WGRP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
unix extensions = no
[tmp]
comment = Temp Directory
path = /var/tmp
public = yes
guest ok = yes
writeable = yes
browseable = yes
[sites]
comment = Sites Directory
path = /var/www/sites
public = yes
guest ok = no
write list = siteusr
writeable = yes
create mask = 0777
browseable = no
security mask = 0777
directory security mask = 0777
note that the drive is mapped as user siteusr
What I can do to open it up more?
View 5 Replies
View Related
Aug 19, 2011
I have just been gifted with a Linux dedicated server for the next six months, with an option to renew after that time has expired, and I'd like to set it up for FTP/P2P use. I do have some familiarity with Fedora from work, but only as a pre-installed desktop OS. The company providing the server has asked me to choose a OS, so of course I picked the one with which I already have some knowledge. They've also asked me to provide partition and mount point information, and it's here that I'm having some problems. I've spent most of my free time today reading everything I could about partitioning for a server, and I'm still not comfortable making this decision on my own.
The server comes with two drives - one 500GB and one 1TB, and 8GB RAM. My thinking is to use the 500GB drive for the OS, and the 1TB for media storage. I know I still have a good bit of learning to do, but I just want to get the blasted thing set up so I can get on with the hands-on part of figuring out how it works.
View 14 Replies
View Related
Jul 11, 2010
I have a Fedora server at home. I don't want it to be running all the time to reduce the power usage and be more green It only works , whet it is really needed. So when it is not in use (no ssh or http connections have been active for some time), a custom python script suspends it. I have set it to wake up on unicast messages, so when somebody connects to it, the server wakes up.In Fedora 12 everything worked fine: when the server was sleeping and you connected to it using ssh or a web browser, the client waited for couple of seconds until the server was up and then connected (actually it worked even when server was turned off: the command "ssh [user]@[server]" just waited until server was booted up and then connected.)
Now I installed Fedora 13 on the server. When I try to connect to the server when it's sleeping, the client waits for some time (and server wakes up), then the connection just times out. When I try to connect again, it works. When server is up and running, I can connect to it. So when it is sleeping I have to connect twice: first to wake it up and then connect again to log in.Do you have any ideas what is causing this problem, as it is really annoying for me and I don't want to have it running all the day.Also, I have not set up the network in the best way, I think. To start the network at boot, i have put the command
Code:
ifup eth0
to /etc/rc.local.
To start the network when resurming from suspend, I have creted a script with the same command in /usr/lib64/pm-utils/sleep.d. It works, but it does not seam to be the *right* way to do this. Maybe this is also causing the first problem. So how have you managed to get a working network connection on your Fedora 13 headless server?
View 4 Replies
View Related
Oct 14, 2010
I have recently developed the need for having a file server and am interested in setting up my desktop as a Samba File Server. The problem is that I need to be able to access it from outside networks (physically I'm about 10 miles away from my home network),o I need to also set up some sort of DynDNS service so that I can access the server from anywhere.With this, with setting up a DynDNS, setting up Samba, and setting up my machine to be secure enough for these types of actions. (I just want to make sure it is secure enough since it will need to be detectable from the internet.)
View 8 Replies
View Related
Apr 8, 2011
So I finally managed to get my Samba file server working () but now I have a question. On the server I have 4 folders, each being used for a certain topic. How would I set the folders as read only but not the contents, so that way remote users can read/write to the folder but can't delete or rename the folder itself? Also, if I restart the Linux box it will cease to show on the Windows Network unless I delete the Samba share and remake.
View 1 Replies
View Related
Apr 17, 2010
I have installed Fedora 12 x86_64 and vsftpd. I would like to set up an user for FTP so that he/she could only view/edit files in one certain folder (the one that I set up). How would I go about doing that?
View 2 Replies
View Related
Mar 29, 2011
I'm trying to load a HP Proliant w/ Fedora 11 and setting up as a WFS using Samba. However, I'm a bit confused on how to do it. Right now I have 2 36.4GB drives in RAID 1+0 and 4 146.8GB drives in a RAID 5 config. I wanna use the smaller drive for the OS and the bigger drive for the storage. I've managed to load the OS fine, the problem is I can't figure out how to mount the 4 146.8GB drives as a single logical volume and set Samba to use it. Right now all the RAIDs are setup using the built-in Compaq Smart Array utility (or whatever it's called) that's built into the SCSI hardware or BIOS.
View 1 Replies
View Related
Aug 20, 2010
I'm switching internet providers and right now have service with 2. I tried switching my server over today, and ran into trouble so decided to switch it back. I got everything set up again, and it all seems to work - except for ONE of my vhosts. The others work as expected. One (the only "real" site I host) simply hangs. I am "watching" the log file, and the top-level request for "/" (sometimes) comes through and reports response code 200. But, none of the other files (images, css, etc) get requested, and the page never loads.I'm not sure where to even start. Apache is fine since the other vhosts work. I didn't make any changes to my config - except for changing the ip address in my dns. But, that's the same for all vhosts.
It may be worthwhile to note that I changed it back when I tried bringing up the site with the new ISP and it brought up my (new) modem settings with the url. I panicked and couldn't figure out how to fix it.. I thought maybe someone could have been playing with my modem settings (I was automatically logged in as administrator), so I set it back to factory settings. Then I couldn't get the internet to work at all, and changed it back to my original service. Now everything works except for the one vhost.
View 1 Replies
View Related
Dec 20, 2010
I have a friend that has a problem with his site on my server.He doesn't have any problem on other servers so I guess there's something wrong in the config that I can change.The site is in /html_doc and then he has a couple of other forlders for example, /api
View 8 Replies
View Related
Mar 8, 2010
I'm sorry if this has been posted already but I REALLY did look and couldn't find the same issue(s) addressed anywhere. Similar, but not similar enough, in my opinion, to barge in and switch the subject.
Ok, I have Apache httpd set up so I can use a public_html folder inside of my /home/username directory. Now, I'm about to take a web dev course that teaches JSP/Servlets for building web applications and I'd like to set my environment up so that I can execute .jsps from my web root (/home/username/public_html) just like I would a CGI or PHP script. I have a web host that will give me JSP support for a few extra bucks a month, but I'd rather do it locally... and free.
I have Tomcat installed and running wonderfully. The test page and all the examples work fine and execute immediately. But when I try to execute a .jsp file inside of my web root (/home/username/public_html) I just get the raw Java tags and plain-old HTML rendered in my browser. I pretty much knew that wouldn't work; that'd be way too easy. I just wanted to see what would happen.
I looked through all the tomcat ".conf" files I could find to see if it was similar to setting up httpd inside of my home directory, but I didn't have any luck. It's not a file permissions problem... I've been messing with web "scripts" long enough to check that the files are executable. All of the files needed (borrowed from the examples that come with Tomcat) were in their correct paths inside of my web root, as well. Added :8080 to the end of localhost (like you do to see the Tomcat test page(s) instead of the httpd test page) but that didn't help.
I scoured the web for directions but could only find one solution that was Ubuntu-specific (just install tomcat6-user-something-or-another.deb, which doesn't exist in the Fedora repos), then I looked around here, trying every search term that seemed reasonable to me, and I can't find anything.
I realize I can just write the code and put it in a directory that does allow these things to be executed (var/lib/tomcat6/blah-blah-blah/going-by-memory) and run them from there, but I'd like to be able to just keep all of my web files in the same place; a place where I have full permission to do whatever I want... my home directory public_html.
Is this possible (has to be, right?)? Is this a dumb idea to begin with (I'm prone)? What is the best way to develop JSP/Servlets without having to deal with permissions every time I want to put a new script in a directory outside of my home directory that's already set up to allow the execution of said script?
View 3 Replies
View Related
May 19, 2011
I have a fresh install, everythings working great, just trying to get my vhosts working, i set them up in yast, but all the requests just go to the second vhost.
View 2 Replies
View Related
Mar 30, 2009
having a bit of trouble getting domains to resolve to their own folder properly on my new server.
this is a plesk/centos server that is pretty much out of the box.
Problem I have is that all the domain names I add to Plesk, are all pulling files from /var/www/html . All 5 domains Ive added each got their own /var/www/vhosts/domain.com/* folders created ...
Is there something I am missing in order to have the server grab files from each domains respective folder?
What I noticed was that if I edit /etc/httpd/conf/httpd.conf and add the virtualhost lines to it, then the one domain name resolves properly.
i replaced my domain with 'mydomain.com'
<VirtualHost *>
ServerAdmin youremail@yoursite.com
DocumentRoot /var/www/vhosts/mydomain.com/httpdocs/
ServerAlias mydomain.com *.mydomain.com
</virtualHost>
View 1 Replies
View Related
Mar 30, 2010
I just configured vhost server in my linux server. When trying to access the open source (SugarCRM) application running on it, its giving me the error message that i am not connected to internet. I have restarted apache by no luck.
View 1 Replies
View Related
Sep 29, 2009
I have pear installed, but I'n not sure I have it configured properly.
When I do a phpinfo(), no where are the settings for pear (meaning where it's located). If I recalled there is supposed to be a setting displayed there for PEAR.
View 4 Replies
View Related
Mar 3, 2009
In a little over my head here but eager to learn. Running Fedora 10 on an IBM T41. Trying to set up a local server so that I can run PHP and test webpages locally (I'm a client-side web designer). Went through the SendDerek tutorial and everything went great until I tried to check the port with canyouseeme.org. I get "Connection timed out" every time.
- The httpd service is started via the terminal.
- Port 80 is unblocked via "Firewall Configuration."
- I set up port forwarding on my router.
What am I missing? I just want to be able to have the local computer run my PHP scripts instead of having to upload them to a remote server every time I make a change.
View 10 Replies
View Related
Feb 5, 2010
I'm somewhat new to Red Hat and Linux in general. I've been reading that you can use YUM to update Linux servers. Can anyone point me to a good tutorial on setting this up? Everything I've been reading is general and vague. I'm looking for a way to keep all our Linux servers updated with critical and security patches from Red Hat. Does this require a subscription or is it free?
View 8 Replies
View Related
Jan 25, 2010
how to set up dns/bind but the issue I am hitting is that I want to just create a non internet domain setup ie t60.mysuperlan. desktop.mysuperlan. etc . Using a hosts file isn't the best as its pretty much about learning all the stuff to make it work.
View 2 Replies
View Related
Feb 23, 2010
I managed to install a networked printer to my box by
apt-get install system-config-printer-common system-config-printer-gnome
And using the system-config-printer, I can send print test page and it works.
Now, I noticed that I don't have lpr installed on this box.
So even if I install lpr or lprng I cannot seem to make it work.
Ohh and by the way, the only thing I use to print from that box is Acrobat Reader 9.. it is proprelly installed. I can see the networked printer entry from the program.. but for some reason Acrobat Reader 9 needs to use lpr to send the print job.
I wish to know what I am missing here.
I can do lpstat -v and I see my printer entry from there.
Now: the question: how can I setup lpr to work with my networked printer?
Should I install lpr or lprng?
What is the proper way to install a networked printer under Ubuntu-server?
View 2 Replies
View Related
Apr 4, 2010
Looking for any help I can get here.. We have a 9.10 server with both (ifenslave & VLAN) installed and configured. When we are running in bond mode (bond0) it sets the MTU to 9000 just fine.
iface bond0 inet static
hwaddress ether 00:04:7B:30:4A:AC
address 172.21.2.250
netmask 255.255.255.0
mtu 9000
[Code]...
View 5 Replies
View Related
Jul 15, 2010
I am having trouble setting up my second network interface on Ubuntu Server 10.04. When setting up the machine it did detect both cards but I only picked one to configure, and now I want to setup the second.
I went into /etc/interfaces and basically copied the settings for eth0 but changed the IP and the name to eth1. I then restarted.
Quite honestly it might be working! But when I run ifconfig -a I see no packets I see
Quote:
eth1 Link encap:Ethernet HWaddr 00:0e:0c:59:af:c4
inet addr:192.168.4.21 Bcast:192.168.4.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
[Code].....
isn't that what "UP BROADCAST...." line means?
So perhaps my question is how do I test my 2nd interface? I tried using the 2nd IP with Putty (which is how I usually work on the machine) and couldn't connect.
View 7 Replies
View Related
Jul 21, 2010
I am following this guide on setting up an Openvpn but having a little issue with permission denied.
I am at this step 'Initialize the Public Key Infrastructure (PKI)'
Code:
cd /etc/openvpn/easy-rsa/2.0/
. /etc/openvpn/easy-rsa/2.0/vars
. /etc/openvpn/easy-rsa/2.0/clean-all
[Code]....
View 8 Replies
View Related
Aug 19, 2010
I want to set up Ubuntu Server 10.04 on a computer I have lying around, set up a database for storing information, and a website for accessing it, which is only avaliable on my local network (it would just have an IP address on my local network). How would I do something like this?
I want to set it up on probably a Dell, and I want to be able to have multiple fields on the website that people see when they go to that IP address where they can enter information to be recorded in the database, and then be able to easily access it with a login, which different people would have different ones, so they can see just the information they entered..
View 2 Replies
View Related