Tagged Questions
5
votes
3answers
3k views
Moved bin and other folders! How to get them back?
I accidentally moved all folders from root to a subfolder. (/bin, /etc, /home, /lib, /usr... all moved) The only ones that were not moved, since they were in use, are /bak, /boot, /dev, /proc, /sys.
...
5
votes
2answers
1k views
Why is there a discrepancy in disk usage reported by df and du?
I have a Linux(CentOS) server, the OS+packages used around 5GB. Then, I transferred 97GB data from a Windows server to two folders on this Linux server, after calculated the disk usage, I see the ...
11
votes
5answers
7k views
How can I limit the bandwidth used by a process?
I have a CentOS 5.7 server that will be backing up its files nightly. I am concerned that visitors to the various sites that the server hosts will experience degraded performance while the backup is ...
12
votes
2answers
8k views
How to colorize output of ls ?
I'm running CentOS in Linux text mode. When I run the command ls /usr/, the output is too hard to read (dark blue on black). How can I change the text coloring?
5
votes
7answers
179 views
Are there additional ways to protect SSH connections besides firewall and RSA Keys?
Sometimes I don't have a static IP and need to administrate my web server remotely. I'm looking for any additional layers of protection I could add to make opening port 22 safer.
Currently I have ...
2
votes
1answer
3k views
CentOS doesnt know what the internet is
So I have done my share of investigating this problem...
I just recently created an CentOS 6 VM on my LinuxMint box using VirtualBox. I left all the recommended values the same upon creation (8GB ...
2
votes
2answers
5k views
No network connection in CentOS 6.3 Minimal under VMWare Player
I'm trying to replicate in VMWare Player the exact same conditions I have under my Dedicated Server for testing purposes.
Now, the thing is that that when I try to install something, or ping ...
5
votes
1answer
134 views
Limit Outgoing Bandwidth on an interface
I would like to know the easiest way to limit outgoing bandwidth for an interface. I want to cap the outgoing port speed so that file transfers between my servers don't fail during busy hours.
What's ...
5
votes
3answers
4k views
What prevents a machine from responding to pings?
I have a CentOS release 5.4 linux box on Amazon EC2 that I'm trying to set up to be monitored via Nagios. The machine is in the same security group as the nagios server, but it seems to be ...
3
votes
2answers
619 views
No font in emacs on CentOS
When I open emacs over an SSH connection I get this error
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string ...
3
votes
1answer
1k views
User logged in by sftp does not show up in `w`
My server is Centos 5. I have a chroot environment set up with the following in my sshd_config
Match group sftponly
ForceCommand internal-sftp
ChrootDirectory %h
AllowTcpForwarding no
...
3
votes
1answer
5k views
How to install KVM on CentOS 6
I can't install kvm on CentOS.
I got these errors:
[root@localhost etc]# yum groupinstall kvm -y
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: ...
0
votes
0answers
37 views
How can I add PAM functionality in netkit-rsh-0.17
I am using CentOS. In my project, that is working on a network, I need an rsh utility. I downloaded netkit-rsh-0.17 for that and until recently all worked fine.
But now I found that this utility ...