Server :: Public_html Setup To Store Few Websites?
Oct 17, 2010
I'm planning on hosting a main website for my school (Wordpress) and a few websites (< 10) for some teachers (Wordpress, Moodle, Joomla). Someone of the teachers needs to access his/her folder via ftp to upload documents, images,... I'am using apache 2 on ubuntu server 10.04 LTS, 4GB RAM, 2 x 500GB Hard disk (RAID hardware).The server is connected directly to the router DMZ (netgear dgn 2000).
1)If I store the teachers' websites in public_html, should I create as many user as the teachers? And how to set permissions? And where to put the main site and moodle?
2)What are your recommendations about security?
View 3 Replies
ADVERTISEMENT
May 22, 2011
i was tasked to setup a proxy server to block access to some websites. i'm using centOS 5 and Squid 7:2.6 STABLE21-6.e15...i appended the following and tested the configuration with the supposed server i am using and the it does seem to work but now i'm wondering how i can test it with a client computer..i have 2 LAN cards and i just connected the other to one PC (can a direct connection work or does it need to pass thru a switch or hub)...i just can't figure out how it should be... how do i configure the 2nd LAN card to use this computer as its proxy server?
View 8 Replies
View Related
Oct 8, 2009
Since Ubuntu and other Linux Distros are free to download and distribute. Would it be illegal for me to have a Small Business of my own that would charge individuals/small-businesses to Install and Setup Linux desktops. I wasn't sure how that GPL license worked. I figured I would be charging individuals for setting up Linux Desktops on their machines or small business/offices and training/teaching them on the various applications they could install on their own.
Also, would it be illegal to create websites using Apache, Tomcat and other Open Source tools and then sell those sites. I figured many people are turned off by learning or installing something other than Windows desktops on their pcs, just because it is different. If this cannot be done under the GPL license, then could someone tell me how I could go about starting my own small business to legally Setup/Install Linux distributions.
View 14 Replies
View Related
Dec 8, 2009
I have two students whose windows laptops are riddled with malware and not working properly. They want me to help them install Linux (which we use in school), but they are concerned about their iTunes.
Having avoided iPods as "defective by design", I know nothing about iTunes whatsoever. However I remember reading about DRM locking and such problems that have me concerned that I won't be able to do it.
Where does iTunes store its stuff?
Can I copy its data store to an external drive, and then into a linux home?
Then will it work on wine, or can another manager (rhythmbox etc) access the itunes data?
Alternatively, if I partition the drive and install linux, can rythmbox/wine/something access itunes data on the win partition?
Supposing they are buying music through iTunes, what will happen to that account?
Finally, one of them has an iphone. Does that work with linux?
Ironic that an apple application is blocking migration away from windows.
View 9 Replies
View Related
Apr 12, 2010
I want to block all websites except desired websites.
View 3 Replies
View Related
Jan 25, 2011
I've got 4 identical 1 TB drives and would like to use them in a software RAID configuration on my home server. I'm running Debian Linux using 'mdadm' utility to manage the software RAID. I don't know how much I've read is fact or dated or even false so I decided I would ask here to get help from people who know more about this than I do. This is essentially just a file server machine to store all my data so being that I've got four identical SATA hard drives, I was thinking about doing RAID level 5. I guess I'll start here and ask if that is the recommended level of RAID. I think RAID level 5 will be fine for my general server usage. My second issue is partitioning the four individual drives to get maximum performance / space from them. Basically just asking here how would you or you recommend I partition the drives? I was thinking about doing three seperate partitions per drive:
/dev/sda1 = 4 GB (swap)/dev/sda2 = 1 GB (/boot)/dev/sda3 = 995 GB (/)Now from that partition schema above, obviously all the types will be 'fd' for RAID and the partition for /boot is going to be bootable. My confusion is that I read Grub doesn't support booting from RAID 5 since Grub can't handle disk assembly. If /dev/sdx2 (sda2, sdb2, sdc2, sdd2) are partitioned for /boot (bootable), how would you guys configure this RAID to match up equally? I don't think I do a RAID level 1 on 4 identical partitions, right?
View 1 Replies
View Related
Feb 21, 2010
I'll preface this by saying i'm by no means an expert on Linux. A competant beginner at most.We have a dedicated server, the 'resolv.conf' was changed, specifically the domain that was listed (this is the primary domain).I only became aware of this change, when we get into work on Friday and all our sites were down - I attributed this to DNS fault as if I changed my host file (I work on a windows machine) and specifically routed to the domains to the correct IP address, the websites were served fine.I tracked down the resolv.conf change by quizzing a collegue. I then switched the resolv.conf file back to it's original state - luckily a backup was made so I am 100% sure that the current resolv.conf is the correct one.
change was made Friday morning, around 9.30am (UK time). It is now 5.05pm (UK time). The original change was made sometime on Weds afternoon, and the sites stopped serving between Thursday night and Friday morning.Does anyone have any idea how long it should take for the fix to be picked up? Will it be picked up? I just started to think that the change can't be picked up due to some DNS related voodoo.
View 4 Replies
View Related
Aug 1, 2011
I currently have a single mysql instance for a couple of websites. Both websites require that the user provide a username.
The thing I just noticed is that two people might choose the same username for both applications. Both of them would have grants to each others' tables, although neither would ever be able to access them, since they can only access through php scripts.
But, I'm now guessing this is not best practice. What does one do? Run multiple instances of mysql for several websites?
View 4 Replies
View Related
Sep 3, 2010
I've set up an postfix+courier imap+mysql server.is it possible to 'move' mailfiles over to the imap store? I have another mail address at my isp provider. And I would like to get rid of my pop mail storing mails locally in my mail client (which is windows; ms outlook). My ISP doesn't support imap, and I would like to store all my mail on one server, which is located in a good server envirmonment. Plus it's nice to have access to all mail from a web interface when it's vacation/travel time. I was thinking something like having a pop client cheking for mail every couple of minutes on the server, some suedo code follows:
Crontab on local server:
0,5,10,15,20..55 * * * * /usr/sbin/checkmail
2,7,12,17,22..57 * * * * /usr/sbin/mv_mail
checkmail:
Checks and downloads popmail from external server
mv_mail:
moves mail from e.x /var/spool/mail/pop/user/cur/* to /var/spool/mail/imap/user/cur/*
Will this kind of setup be possible? is Maildir style popmail compatible with Maildir style imap?
View 3 Replies
View Related
Apr 13, 2009
I am working in DM355 board. CPU is armv5t. I am asked to record the video thats coming from camera using rtsp. I can record the video file in avi format on /opt directory on dm355 target board. Now I have to store this avi file in nas server. My nas server ip is 192.168.1.250. Linux pc,DM355 target board and NAS server on same network. How to write the program to store avi files from DM355 to NAS server.
View 2 Replies
View Related
Jan 15, 2011
I recently upgraded my motherboard which has a different onboard NIC chip than the old one. I donwloaded the NIC driver from the vendor's website and installed it. I tried setting up the new NIC with netconfig. The tool seems to run correctly, but the settings don't seem to do anything. I then tried setting up the interface by editing the info into /etc/rc.d/rc.inet1.confg. That works fine, but there is no place to specify the DNS server address. Where is the DNS address stored?
View 5 Replies
View Related
Jul 15, 2009
I tried to setup a Postfix system as VM Guest, in a single file image. So I want to store the mails on another hosts throught NFS mount. I got various errors when Postfix try to write to the NFS share. Anyone knows what's the correct setup for this? like file permission on the NFS?
View 1 Replies
View Related
Oct 23, 2010
[URL].i used to configure the public_html in my system using the above link. but i did not get the phpinfo page if i run the it will ask download the phpinfo.php file. why this was asking and not showing the public_html files.
View 5 Replies
View Related
Jun 7, 2009
I have installed Bind DNS server in Opensuse 11.1 and it was running fine for two weeks. However starting last week it was unable to resolve a lot of internet sites (e.g. opensuse.org). I can say it is working partiallyI tried restart the named service and it worked fine for only about 15 minutes and back to partial condition.All the records in zone files can be resolved. Only some internet websites not able to resolve. The same sites can be resolve with another dns server internally
View 2 Replies
View Related
Dec 13, 2010
So I'm looking to host potentialy three different...sites...I want to call them from the same machine. One is a radio station and the other 2 are just straight websites. So I wanted to know if I had to use different machines to accomplish this or can I alter maybe the http conf file or what. I did find this in the forums but wasn't quite sure if this applied to me. [URL="http://www.linuxquestions.org/questions/linux-software-2/serving-multiple-domain-websites-on-one-server-329914/"http://www.linuxquestions.org/questions/linux-software-2/serving-multiple-domain-websites-on-one-server-329914/[/URL]
View 1 Replies
View Related
Apr 12, 2010
Dom0 is having public IP. I read a lot of blog and tutorials about name based and IP based hostings and also about mod_proxy. But I am unable to do.
Here is what I am trying to do. I have a webserver on public IP.Which is running Xen on it. There are 4 Guest Operating systems installed on top of Dom0 which are Dom1,Dom2,Dom3,Dom4 These are application servers which are going to serve the requests that come from the main server.Which is Dom0.
All I see is "It works" on all 4 of the hosts. On my LAN on any machine on same subnet if I do [url] of Domu1 message comes
Code:
in browser from LAN gives me a message
Code: It works.
What do I need to do on Dom0 so that requests are forwarded to the appropriate DomUs apache2 is running on all of them including Dom0.Some one suggested me to go for ReverseProxy in Apache2.
View 3 Replies
View Related
Nov 17, 2010
I have a CentOS Server and i use ispconfig 3. I have hosted 10 websites and the other day all my websites went down. I have tried to look at the logs i cant see any thing ISPconfig logs dont have any errors.
View 5 Replies
View Related
Apr 1, 2010
I have managed to configure AWstats to work from one server to access the log files for multiple websites on multiple servers and even managed to write a little front end php site to access all the different conf files. I want to know if there is a way of combing two conf files for the same site but are on two different servers in a loadbalanced situation. so my conf files look something like: [URL].. I have to monitor bandwidth for our websites and its gets tedious switching between the various conf files for the same site and totaling it up so I was hoping I could combine the output of both conf files on screen using some funky command in the awstats.pl script
View 1 Replies
View Related
Mar 4, 2011
I would like to have a script which I can use to test if files on some certain sites are available and if their size is bigger then 0 bytes. I do not want to download them, only check them. If I would use wget they get downloaded I think.
View 1 Replies
View Related
Sep 25, 2010
I've currently got a centos server setup in my home. It has 1 website running on it and I am using DynDNS.com's service to access the server. DynDNS works by redirecting a free url to the IP address of your server. I would like to add a second website under a different url. However, I'm not sure how to add a second IP address (which I would then use with DynDNS to create a new url).
View 3 Replies
View Related
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
Sep 10, 2009
I've just set up apache and can't make public_html dir to work. I followed this tutorial:http://fedoraphprails.blogspot.com/2...user-home.htmlAnd I'm still getting:Quote:orbiddenYou don't have permission to access /~gal/ on this server.Apache/2.2.13 (Fedora) Server at localhost Port 80
View 2 Replies
View Related
Jun 24, 2011
Running Ubuntu 11.04 Server 32bit fresh install
I did this walk-through trying both iptables and ufw
I am able to connect to my VPN server using both windows 7 and Ubuntu desktop just fine, and using wireshark verify that all packets are being compressed and sent through the VPN tunnel.
Many sites work but there are several that will not load while using the VPN, one of them is ubuntu forums also sourceforge.
I can ping the servers while connected but the websites just will not load, and time out. The second I disconnect from the VPN they load instantly.
View 1 Replies
View Related
Apr 3, 2010
Is it possible to store Windows-based documents and data (e.g, Excel spreadsheets, Access databases) on a Linux server, and easy to do so & to retrieve from a Windows client?
View 3 Replies
View Related
Jun 15, 2011
we have purchased the Dell PowerVault NF 500 NAS Storage Box with Window Storage server 2003 is Installed.we have LDAP server for authentication the user in network for accessing network resources.All ubuntu users on client side use ubuntu(LDAP server )for user authentication.when a user logon on client side machine his home directory is created on client machine .
but we want to use the NAS storage device to store the home directories of user.we want to implement that ,whenever a user logon his home directory is created on powerValut NF 500 storage device so that all user data is stored centrally for taking the backup .we want to mount NAS storage device so that user uses when they login and create user profile.
View 1 Replies
View Related
Feb 4, 2010
I started to work on building a ftp by vsftpd in our lab (that's only for our lab members). I am going to setup some the virtual users for each of the member. We have a CentOS5 (without upgrade after the fresh installation). I try several ways to setup the vsftpd for virtual users. 1) with db4 2) with mysql 3) without database and use htpasswd. But all fails. Actually, I don't want to use database, so I am going to find out the reason of failure on 'htpasswd' method
My vsftpd is installed in /etc/vsftpd (for only using ftp account, it is no problem to login).
1) I setup an account called vftpuser and build the corresponding home (/home/vftpuser), and then I setup another account call usera and also create a directory within /home/vftpuser.
2) I use htpasswd to add passwd to usera and store the passwd in /etc/vsftpd/passwd.
3) I added the name of usera to /etc/vsftpd/user_list
4) I create a directory /etc/vsftpd/user to store a unique conf for each user (for usera, the conf named usera) which contains the local root for users, which is
[Code]....
View 1 Replies
View Related
Jun 15, 2011
I cannot get apache to show the files in ~/public_html it gives me this error
Code:
Forbidden
You don't have permission to access /~george/test.txt on this server.According to the .conf file it should have read access...
View 9 Replies
View Related
Jun 30, 2010
I'm having some problems allowing websites with the word essex in the domain name. I've been running dansguardan for some time now and have managed to make rules to allow and disallow sites, but I've now hit a brick wall on the latest request from staff here. which config file i need to edit.I've tried adding *essex*.* to the exceptionsitelist, but these sites are still blocked. Example sites are [URL]
View 1 Replies
View Related
Oct 8, 2010
We use a reverse proxy to forward a lot of websites via 1 central place.so hould forward to an internal server.I already managed to forward a lot of website correctly, except for this one:hen I type:ttp://blablahblah/smt/webtier-7-11 it doesn't work correctly, but How can I make the first url to work ?
ProxyPass /smt http://192.168.10.38:8080
ProxyPassReverse /smt http://192.168.10.38:8080
ProxyPassMatch ^/((smt|webtier-7.11)(/.*)?)?$ http://192.168.10.38:8080/$1
[code]....
View 5 Replies
View Related
Jul 17, 2010
i have been looking up ways to block websites in linux but most all of the free ones only block the sites the software makers want to (or you can't block just the sites you enter without blocking the sites that it wants to)i need to know how to block only websites i enter with squid using webmin
View 3 Replies
View Related