438 reputation
26
bio website
location
age
visits member for 2 years, 1 month
seen May 23 at 1:38

May
18
awarded  Yearling
Jan
18
awarded  Student
Jan
18
asked Linux KVM disk cache balancing between host and guest
Jan
6
answered Server is accessible through domain name from Outside, but not from inside the Intranet
May
18
awarded  Yearling
Apr
30
comment Whats wrong with my iptables?
Ran out of room in the previous comment -- but to answer your question, yes you can also specify "10.14.4.0/24" and leave off the --dport (or specify a range), and what would allow packets in to any host you set up a forward rule to. I normally don't do that, so I don't have any verified examples handy and wanted to make sure I posted a working example. But if you still have trouble I'll work out an example in my lab tomorrow and update the post.
Apr
30
comment Whats wrong with my iptables?
I'm assuming your internal host is 10.14.4.5 (the messages has "10.4.45"). So yes, this is in the Filter table (the default table if no "-t ..." flag is specified), and specifically in the FORWARD chain (section) of the filter table. The FORWARD chain examines any inbound packet that is getting forwarded to somewhere else. So the 10.14.4.5/32 says to look at only packets bound for ip address 10.14.4.5, and where the destination port is 80, and allow them through. So as long as this appears before the final "FORWARD...REJECT" line they will go through.
Apr
30
answered Whats wrong with my iptables?
Apr
17
answered Sar: Free memory statistics (including buffers, cache)
Mar
25
answered Copy entire Centos server to another
Feb
17
comment Backing up multiple git repos of the same project (deduplication)
Which backup software are you currently using? I believe a number of the heavy-weight ones supports at least file level de-duplication, so the only files that would be duplicated are ones that have current edits in them (but the entire repositories wouldn't take up much additional space).
Jan
22
comment ssh tunnel and rdesktop in one line
You can also use the "-f" and "-N" flags (background, and no remote command execution), then you can run ssh first and rdesktop afterwards without a need for the sleep command.
Dec
1
revised Resize Debian in VirtualBox
Added important safety note.
Dec
1
comment Resize Debian in VirtualBox
No problem, glad to help if I can. I think I figured out what went wrong. When I tried it with Debian (instead of Fedora), I found that the Debian installer puts the first sector of partition 1 on block 2048, whereas if you take the default with fdisk, it goes on block 63. If you wrote it out with the wrong starting sector, it is still fixable -- just delete and recreate partition 1 starting on block 2048. I'll add a note to the answer so it doesn't catch anyone else by suprise.
Nov
29
answered Error while trying to unrar
Nov
29
revised Resize Debian in VirtualBox
Added a log of commands to accomplish this goal on a like VM
Nov
29
awarded  Scholar
Nov
29
accepted Private subnet for VM server host-only network
Nov
29
comment Resize Debian in VirtualBox
When you recreated the sda1 partition, did you happen to notice if it was bootable? If not, you can recover your system by booting from a rescue cd image, use fdisk and the a parameter to mark it as bootable.
Nov
28
comment Resize Debian in VirtualBox
I just ran through a quick test, installed RedHat on a 3GB VM, and VirtualBox didn't let me resize the vdi file while it was in use (it actually tried, but the tool crashed). But it did let me resize it with the VM shut off. And after booting the VM, cat /proc/partitions showed the larger space. I deleted the swap partition and extended partition (/dev/sda5, /dev/sda2), deleted /dev/sda1 (root), recreated /dev/sda1 covering the extra space, put swap back in place, rebooted, ran resize2fs, and the extra space was then available. I'll record a screen session, and update the answer tonight.