Ubuntu Servers :: Cache The Couple Of Site Because Of Our Country Have Bandwidth?
Mar 25, 2011
I used the Ubuntu server 10.10 for cache and proxy purpose. I install squid 2.7 stable 9. My problem is to cache the some url by force. eg . [URL]...I search the clues by using google. but I only found how to block the url. so I come here and request the advice. I want to cache the couple of site because of our country have bandwidth problem.
View 2 Replies
ADVERTISEMENT
Mar 27, 2010
i Have a Squid Server , i'm Using That for Caching ... i Have 3 Ether on My " Squid Server ". Ether1 : Directly Internet From ISP1 , 2Mbps . Ether2 : Directly Internet From ISP2 , 512 KBps . Ether3 : Connected too LAN . i want All The Files Format with " MP3 , RAR , ZIP , AVI , ... (All Downloads File) " Get From Ether1(ISP1) and WebPages Like " HTML , ASP , CGI , & ... " Get from Ether2(ISP2) i Not Know How to Configure That with My 2 ISP internet.
View 1 Replies
View Related
Jun 25, 2010
I have to ubuntu machine (9.10 and 10.4) with a openvpn tunnel between them.This is the situation:
Code:
NetworkA 192.168.0.0/24
|
UbuntuA br0:192.168.0.3 (openvpn bridge between eth0 and tap0)[code].....
UbuntuA has one only interface etho and there are two openvpn instance: one bridge istance with br0 and another instance with tun0.
UbuntuA is not the gateway for networkA. UbuntuB is the gateway for NetworkB.I need to comunicate between pc on networkB e those on networkA.This is the "ping situation" (no pc tested has an active firewall):
ubuntuA vs ubuntuB: OK
ubuntuB vs ubuntuA: OK
pc on NetworkA vs ubuntuA and ubuntuB: OK[code].....
View 6 Replies
View Related
Sep 27, 2010
In one of our network we are using one firewall which works as gateway. All machines are able to access internet through this gateway. There is no filtering and any internet restriction. I would like to setup monitoring system which monitor and log bandwidth and sites access by client machine. Is there any tool which monitor internet access as well as sites which are access from client machines.
View 12 Replies
View Related
Sep 14, 2010
The following before.rules file will block all connections from:
Korea
China
India
Russia
[code]....
View 3 Replies
View Related
Feb 18, 2010
In the office there is a local network with samba+openldap PDC. The local domain name is company.net. The company desided to create a corporate Website on a remote hosting and desided that the site's domain should be company.net which is same as local network's domain name. So now it is not possible to reach that corporate website from within the company's local network because, as I guess, bind9 which is installed on above menioned PDC looks for company.net on a local webserver. Is there a possibility to let people from this local network browse the remote site?
View 1 Replies
View Related
Jul 29, 2010
My macbook is backed up using timemachine on a samba drive. I used this hack for months [URL]his tuto is based on Netatalk, but works perfectly with Samba (or used to), as described in many others blogs.A couple of days ago, I had a strange message from timemachine, like the backup should be reconstructed to improve the security. The sparsebundle has been deleted, and timemachine try to create a new one now. This step failsI tried to create manually a new sparsebundle, using the tuto. It does not work.I have a backup of the sparsebundle ... I can navigate into it ("enter timemachine"), but I cannot backup anymore.
View 7 Replies
View Related
Oct 12, 2010
I've Ubuntu Server 10.04 and am just using the terminal, no GUI like Gnome. So far it's working pretty great except for one big thing.
Whenever I go to sleep and there's no activity on my servers (it's not a big site so active users drop to 0 during the night), the server kind of disconnects. The only thing that can bring the site back online is to restart the whole server. I've tried disabling powersaving by using setterm but that changes nothing. Even if I wake up the server by pressing any key or so the site wont go back online!
I've tried just restarting both Apache and MySQL (I'm using LAMP-server btw) but not even that works. But as soon as I turn the power off and on at the server, everythings work like normal for a couple of minutes of inactivity (~5-15 minutes I'd guess) and then it's down again unless someone logs in to the site and is active.
View 1 Replies
View Related
Jan 28, 2011
I am running Ubuntu 10.10 and have 5 shares that I have setup for Samba (assume names of share1, ..., share5). I find that shares(2,3,4) are accessible from my MS Windows system, but the share1 and share5 are listed but Windows gives an error accessing them that I may not have permissions.I have reviewed the sharesve the same owner, group, and permissions.Is this a known Samba bug or configuration issue? I have gone through the smb.conf file multiple times as well as examining the directories and do not see what the issue might be.
View 9 Replies
View Related
Mar 17, 2011
I am in the process of setting up a couple of virtual servers in a cloud environment. I am currently working on my application server (Server 1) and am stuck on the creation of my ruleset for this server.
I need to allow SSH, FTP, HTTP, HTTPS, and PING on this server. This server will also need to be able to talk with a couple of database servers as well as a memcache server (all internally within my cloud environment)
I have been reading on iptables, since I have never messed with them before, and have come up with the ruleset I will paste below. I have taken other steps to secure my server...changing ssh port, not allowing root to login via ssh without logging in as a user, turning off unnecessary daemons, editing my hosts allow/deny files, just to name a few.
I am a newbie to iptables, so I would love a bit of helpful advice, criticism, and even a good explanation why I should add or remove or edit something. I really want to know the how AND the why!
[Code]...
View 4 Replies
View Related
Oct 28, 2010
I'm looking for an effective way to manage use of internet bandwidth by users on a local area network. Currently there is a simple broadband router and unmanaged switch, and a standalone Ubuntu Server (8.04) that provides DHCP, DNS and mail for the LAN, and a web server. Ports are forwarded from a static external IP address to HTTP, HTTPS, SMTP, SSH and IMAPS, and some security is provided by IP Tables (managed by using UFW).
There are 5 users on the network, and currently one or two of those 5 are using beyond our monthly download allowance of 30Gb. 1) To be aware of how many users are currently using the internet connection, and to divide the bandwidth between that number (so that if there are, say, 3 active connections, the total bandwidth available is divided 3 ways, rather than one of those users being able to hog all of it).
2) To allow each user to download up to 1/5 of 30Gb each month without any additional throttling (apart from the above), but once they go over that allowance to throttle them individually to, say, 10Kbps until the start of the new month.
I've heard other threads talking about both IP Tables and a proxy server such as Squid. I have no idea which of these would be most suited to the task. Currently, as I said, the Ubuntu server is standalone and only using 1 NIC, but it has 2 NICs and I could be configured to act as a gateway for the LAN, instead of the router, which is set to be the current default gateway.
View 2 Replies
View Related
Feb 8, 2010
I switched on bandwidth monitoring on my Ubuntu Server via Webmin on interface eth1. Unfortunately this has filled my disk by writing huge syslog, debug and kernel.log files. How do I switch it off? I can't see a way of doing it in Webmin.
View 1 Replies
View Related
Mar 27, 2010
I am hosting some websites and i want to monitor who is using more resources from a thoughput standpoint... Would this be bandwidth monitoring. can use to monitor these sites. I am using an uptodate version of apache2 and a single ip vhost setup.
View 9 Replies
View Related
May 19, 2010
I am running Ubuntu server 9.10 and I am trying to find a way to cumulate and visualized bandwidth for all the ips on my network.
I created a server connected to a mirror port of my router and I am running snort and nessus and ntop to monitor and scan my network for security. Everything is running fine and I can see all the traffic happening, ntop creates really nice report of what is going on in the network, snort with base alert me of probable security problem and nessus help me secure the network with weekly scans.
What else do I need ? I really simply need a software that will calculate the total bandwith usage per ip address. Ntop seems to gather all that information somewhere, but there is not simple way to get the information out of it. I was thinking maybe cacti would be the software to use but I am not too familiar with Cacti and it's interface seems a bit daunting still.
I don't need it to be web interface - but it would be nice. I could probably rig up something on a console base program. What I want the output to be should look like tcptrack but with the running totals for last day, last month, last year, and if there could be a graph for it- even better.
View 4 Replies
View Related
Sep 6, 2010
Is it possible to share bandwidth over Internet? A friend of me has made a little radio station with win-amp to screw around with. But as you can guess after 10 users the connection flips due to bandwidth limits. So we where wondering if we somehow can share both our bandwidth. I was thinking about perhaps linking some proxy's and combine that with load balancing... Something like that! But i'm not even sure if it's possible to do so.
View 3 Replies
View Related
Nov 16, 2010
Here is a mail in /var/mail/root which I received in my server logs[URL]I see same packages downloaded many times again and again.The servers which are upgrading are total 5 (4 virtual machines and one hostso is there a way I can save bandwidth on this sort of setup.
View 3 Replies
View Related
Apr 14, 2011
I posted this in the Networking section, but should probably be over here. Couldn't move it. I have a transparent proxy in place. I have Webmin installed on the server. Is there an app that can monitor bandwidth in real time? Also run reports? I have SARG installed, but seems to only monitor HTTP traffic, I need to monitor all traffic. I have a bridged connection, but monitoring the outside interface is fine too.
View 5 Replies
View Related
Apr 24, 2010
Edit: solution is installing older version = "aptitude install autoconf2.13"
sudo aptitude install autoconf
* then rebuilding php 5.3.2 configure script:
rm configure
./buildconf --force
[code]....
View 1 Replies
View Related
Mar 28, 2011
Had anybody ever tried flashcache [URL] under ubuntu? My idea is to increase the throughput of a small server especially for database operations by using an SSD as cache.
View 3 Replies
View Related
Nov 18, 2010
I created a the class like this for shaping the packets with a specified bandwidth rate.....
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 15
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 750kbit ceil 750kbit
tc class add dev eth0 parent 1:1 classid 1:3 htb rate 600kbit ceil 750kbit prio 0
For Our Requirement:-
I dont want to specify the bandwidth rate strictly like this rate750kbit ceil 750kbit,based on whatever speed is coming which should allocate the bandwidth rate for particular class...I need one application for finding the upcoming bandwidth & Is any other method is there for specify the bandwidth rate in a classes.
View 1 Replies
View Related
Jul 19, 2010
I'm migrating a site from one VPS to another, and I'm having trouble understanding what I need to do with DNS. I haven't even gotten to the nitty-gritty of it: I don't understand it at a very high level. My host sent me this email explaining what I need to do, and I don't even know what questions to ask.
Quote:
Your registrar has MyHost's nameservers listed for your domain name.
All DNS-related info for mysite.com and everything inside that zone is defined in your zone file which is currently on your VPS "myserver1" and is being rsynced to [our] servers.
I'm suggesting that if you don't want to spend any of your migration time setting up a DNS server then you may wish to just make the changes in that file, since that is the method that is currently working.
I've come up with two possible interpretations of this situation, and perhaps neither is correct.I need to set my new VPS to be its own nameserver, and have my registrar point mysite.com to my VPS. I need to set up a DNS server to somehow interact with MyHost's nameservers (something about a zone file). Do either/both of these sound plausible? I thought DNS made a server into a nameserver, is that not right?
View 6 Replies
View Related
Jul 29, 2011
Im trying to just set up my web page so it can be seen on my local home Lan (then Ill try to get it on the internet). I can see the site it on my pc but other network users cant.
They can ping my computer but cant telnet to it on port 6060 (thats the one is set the server up on)
What's wrong with my configuration its mostly the default with a few changes that I hoped would make the site work.
My ip 192.168.1.10
Here is the sites-available default file
Quote:
View 7 Replies
View Related
Jan 7, 2010
I'm installing a server to act as a firewall between a local network and internet. I've installed Firestarter becaused it worked straitgh away (it seems that FS is configuring the routing as well). I've tried to remove it, and then I lost the access from LAN to Internet. (I don't know why -perhaps the routing is disabled then- , so I prefer to keep it).
The problem is that Webmin Bandwidth Monitor (bandwidthd) is not logging anything when FS is active. Does someone has an idea on how I could make it work? I've tried cacti and some other stuff, but it is far too complicated for me.
View 2 Replies
View Related
Aug 20, 2010
Recently our houses internet usage has skyrocketed and i'm trying to keep an eye on it using bandwidthd (installed on the server). It installed fine and counts traffic fine, the problem is we have a server that hosts our music/movies/etc and when people pull music off the server it skews their bandwidth usage. I'm looking for a way to exclude all traffic on the local network and only count internet traffic. This is the filtering part of the config file
[Code]...
View 2 Replies
View Related
Jan 16, 2010
I just wanna clear database(postgresql) cache so how to do that..and also adempiere cache...
View 1 Replies
View Related
Feb 26, 2010
dns cache serThis is probably more of a network question but I figured some one who is a network expert might know. Currently my organization has DNS servers. But my questions is would setting up a cache server improve the performance any? When I first thought about it i thought probably not. But since it stores information in ram that made me think maybe it would improve network performance a little.
View 3 Replies
View Related
Mar 4, 2010
Is it possible to configure a cron script to update the packages in /var/cache/apt-cacher/packages? When a client machine updates a package, apt-cacher checks that it's cached package is up-to-date, and downloads a new version if it is not.
I'd like apt-cacher to check it's cached packages every night and download any updated ones, on the premise that since it exists in the apt-cacher cache, someone has that package installed and is going to want to update it. Is this possible? Does apt-cacher do this anyway, and I haven't noticed?
View 2 Replies
View Related
Dec 6, 2010
I'm working on a web site. I'm sometimes finding that when I update a file, some mysterious force intercepts my changes and refuses to let me see them. I have confirmed that this mysterious force is a server cache.By adding a "?" to the end of the URL, I can see the changes I've made. Is there a way to somehow force my Internet provider to update the server cache?
View 3 Replies
View Related
Dec 7, 2010
I have a NFS server and I'm periodically cleaning the cache by using the following lines:
Code:
/bin/sync; /bin/echo 1 > /proc/sys/vm/drop_caches
/bin/sync; /bin/echo 2 > /proc/sys/vm/drop_caches
during the last days the cleaning process gets stucked at '/bin/echo 2', here's the process data:
Code:
27426 root 20 0 5488 704 576 R 100 0.0 896:06.34 /bin/echo 2
the process keeps running, so I find this more strange since it's not in zombie or D state.
View 2 Replies
View Related
Jan 22, 2009
I have a fedora 9 server. It is used purely as a dedicated server. Until recently I never came close to my allowed bandwidth of 1 TB but I expect that may change in the near future because I will be adding many files for downloading. I have Apache 2.2.9, PHP 5.2.6, mySQL 5.0.51 and Webmin 1.441.
The most critical thing is monitoring total bandwidth and then doing a job, probably using Cron to change a folder's name, to stop downloads before a critical point is reached and my sites shut down. I would also probably eventually like to limit member downloads so all members of the sites get a chance to download and one person doesn't use all the bandwidth. I expect that would be possible using php. to log the bandwidth used by members. I know php but I don't know how to get the bandwidth using php.
View 1 Replies
View Related