Most Popular

1500 questions
58
votes
1 answer

Block select on a Linux console?

Is there any Linux console (konsole, gnome-terminal, etc.) that allows selecting text in a block mode, like you can in a Windows cmd.exe window, using Mark and drawing a rectangle?
Unknown
  • 1,361
58
votes
11 answers

Good reasons to keep 32-bit Microsoft Windows desktop OSes

This question is from 2012. If you are reading this in 2019 or later, then the answer really is: No. There is no good reason in 2019 to be maintaining 32-bit desktop operating systems. Original question below: Server software has been 64-bit only…
58
votes
3 answers

Is there any harm in disabling the idle timeout for an application pool?

I'm currently fighting an issue with ASP.Net taking minutes to load a page for the first time. Through playing with settings I've found that disabling "Shutdown worker processes after being idle for (time in minutes)" stops the issue from…
djdd87
  • 693
58
votes
4 answers

Why is my rsync so slow?

My Laptop and my workstation are both connected to a Gigabit Switch. Both are running Linux. But when I copy files with rsync, it performs badly. I get about 22 MB/s. Shouldn't I theoretically get about 125 MB/s? What is the limiting factor…
iblue
  • 854
58
votes
3 answers

Do I need to refresh or restart anything after I add/update a crontab in Ubuntu Server 8.04?

When you change something in Apache you need to reload or restart apache. Does anything need to be refreshed or restarted in Ubuntu Server 8.04 after I add/update the crontab? Thanks a bunch for your help.
58
votes
14 answers

Templating with Linux in a Shell Script?

What I want to acomplish is: Having a config file as template, with variables like $version $path (for example apache config) Having a shell script that "fills in" the variables of the template and writes the generated file to disk. Is this…
Markus
  • 937
58
votes
2 answers

Ubuntu Server message says packages can be updated, but apt-get does not update any

Possible Duplicate: updates in amazon-ec2 ubuntu 10.04 server When I log into an Ubuntu 10.04.2 LTS server, I see the message: 42 packages can be updated. 18 updates are security updates. But when I try to update this, nothing gets upgraded as…
Mike T
  • 761
58
votes
4 answers

What is the best nginx compression gzip level?

I'm using nginx reverse proxy cache with gzip enabled. However, I got some problems from Android applications HTTP-requests to my Rails JSON web service. It seems when I turn off reverse proxy cache, it works ok because the response header comes…
Chamnap
  • 825
58
votes
12 answers

What should I pay attention to when I'm buying a network switch?

Since I'm not a hardware expert, I don't know what features make a network switch a good network switch. What should I pay attention, when I'm comparing the different models from different vendors?
splattne
  • 28,776
58
votes
4 answers

MySQL: creating a user that can connect from multiple hosts

I'm using MySQL and I need to create an account that can connect from either the localhost or from another server, i.e. 10.1.1.1. So I am doing: CREATE USER 'bob'@'localhost' IDENTIFIED BY 'password123'; CREATE USER 'bob'@'10.1.1.1' IDENTIFIED BY…
58
votes
2 answers

CNAME record/alias in windows hosts file?

Is it possible to enter some sort of CNAME record or alias in the windows hosts file (C:\Windows\System32\drivers\etc\hosts)? Basically I want to forward all requests made to host A to host B, without having to hard code the IP address (which…
MEMark
  • 681
  • 1
  • 5
  • 8
58
votes
6 answers

Bash Loop - How to stop the loop when I press Control-C inside a command?

I am rsyncing a few directories. I have a bash terminal open and am executing something like this: for DIR in * ; do rsync -a $DIR example.com:somewhere/ ; done However if I want to stop the whole things, I press Control-C. That stops the rsync,…
57
votes
1 answer

Pros and cons of using Windows containers instead of Linux containers for Docker?

I'm installing Docker for Windows (CE) on Windows 10 and the first screen asks me: [  ] Use Windows containers instead of Linux containers (this can be changed after installation) This seems an important decision, yet the Docker documentation, FAQ…
57
votes
10 answers

Why not block ICMP?

I think I almost have my iptables setup complete on my CentOS 5.3 system. Here is my script... # Establish a clean slate iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT iptables -F # Flush all rules iptables -X # Delete…
Agvorth
  • 2,449
57
votes
9 answers

How can I disable TLS 1.0 and 1.1 in apache?

Does anyone know why i can't disable tls 1.0 and tls1.1 by updating the config to this. SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 After doing this, i reload apache I do an ssl scan using ssllabs or comodo ssl tool, and it still says tls 1.1…
David
  • 693