Sometimes it’s necessary to limit traffic bandwidth from and to a container. You can do it using ordinary tc tool.
Archive for the ‘ vps ’ Category
OpenVZ: Traffic shaping with tc
Author: adminJan 18
PPP in container
Author: adminJan 18
Our goal is to start the pppd daemon in a virtual machine. Then it is possible, for example, to connect to your DSL provider in a VM.
Caveat
This feature is experimental. It currently requires a version of vzctl patched with this patch.
It is also necessary to run one of these 2 kernels :
- 2.6.27 briullov.1 or later
- rhel5 064.4 or later
Monitoring bandwidth of containers
Author: adminJan 18
Use the /proc/net/dev inside a container, dump stats into a round robin database (rrd)
Read the rest of this entry
Error: yasm not found, use –yasm=” if you really want to compile without
Author: adminJan 15
Got a problem when you install mplayer:
Checking for yasm …
Error: yasm not found, use –yasm=” if you really want to compile without
Check “config.log” if you do not understand why it failed.
Read the rest of this entry
Upload or Download Multiple Files (recursive) using Command-line FTP
Author: adminJan 13
Problem is I can’t upload directory including sub-directories and files using command-line ftp. I searched for similar problem and looks like you can’t do this using command line ftp, unless you create a script. One solution I found is the use of “lftp“.
(download entire directory tree)
# lftp ftp_host
user ftp_user ftp_pass
mirror source target (reverse mirror; upload entire directory tree)
mirror -R source target
Usefull when transferring files between servers where you only have ftp access.