Most Popular
1500 questions
104
votes
2 answers
How can I connect to a Windows server using a Command Line Interface? (CLI)
Especially with the option to install Server Core in Server 2008 and above, connecting to Windows servers over a CLI is increasingly useful ability, if not one that's very widespread amongst Windows administrators.
Practically every Windows GUI…
HopelessN00b
- 53,795
- 33
- 135
- 209
104
votes
12 answers
df says disk is full, but it is not
On a virtualized server running Ubuntu 10.04, df reports the following:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.4G 7.0G 0 100% /
none 498M 160K 498M 1% /dev
none …
Chris
- 1,041
- 2
- 8
- 3
104
votes
11 answers
How to zip/unzip files in Powershell?
Is there a one-liner that will zip/unzip files (*.zip) in PowerShell?
BlueGene
- 2,241
- 9
- 30
- 33
104
votes
12 answers
nmap find all alive hostnames and IPs in LAN
How can I issue a nmap command that shows me all the alive machines' IP addresses and corresponding hostname s in the LAN that I am connected?
(if this can be done in another way/tool you surely are welcome to answer)
şaloma
- 1,197
- 2
- 10
- 9
104
votes
8 answers
What limits the maximum number of connections on a Linux server?
What kernel parameter or other settings control the maximum number of TCP sockets that can be open on a Linux server? What are the tradeoffs of allowing more connections?
I noticed while load testing an Apache server with ab that it's pretty easy to…
Ben Williams
- 2,376
- 4
- 21
- 17
103
votes
8 answers
Is a wildcard CNAME DNS record valid?
I know it's valid to have a DNS A record that's a wildcard (e.g. *.mysite.com). Is it possible/valid/advised to have a wildcard CNAME record?
Ben Mills
- 1,163
- 2
- 8
- 9
103
votes
2 answers
IPTABLES - Limit rate of a specific incoming IP
I do not wish to limit the rate of a specific service. My goals is to limit rate based solely on the incoming IP address. For example using a pseudo-rule:
john.domain.local (192.168.1.100) can only download from our httpd/ftp servers at "10KB/s"…
James
- 1,117
- 3
- 10
- 16
103
votes
11 answers
Cooling Server Closet - No A/C Is Possible
We're moving into a new office in an old building in London (that's England :) and are walling off a 2m x 1.3m area where the router & telephone equipment currently terminates to use as a server closet. The closet will contain:
2 24-port switches…
JamesCo
- 993
- 2
- 7
- 9
103
votes
5 answers
Should a wildcard SSL certificate secure both the root domain as well as the sub-domains?
I ask this question, because Comodo are telling me that a wildcard certificate for *.example.com will also secure the root domain example.com. So with a single certificate, both my.example.com and example.com are secured without warning from a…
josswinn
- 1,145
- 2
- 7
- 4
103
votes
6 answers
list all packages from a repository in ubuntu / debian
is there a command to see what packages are available from a certain ppa repository?
opensas
- 1,161
- 2
- 8
- 7
103
votes
2 answers
What is .crt and .key files and how to generate them?
I've the following configuration:
SSLEngine on
SSLCertificateFile /etc/httpd/conf/login.domain.com.crt
SSLCertificateKeyFile /etc/httpd/conf/login.domain.com.key
SSLCipherSuite ALL:-ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
but I don't know how to…
Mohammad Ali Akbari
- 1,763
- 5
- 20
- 24
103
votes
6 answers
Tips for Securing a LAMP Server
This is a Canonical Question about Securing a LAMP stack
What are the absolute guidelines for securing a LAMP server?
Aditya Shukla
- 1,031
- 3
- 8
- 3
103
votes
4 answers
How to reload screenrc without restarting screen?
After modified screenrc, how to see the changes without restarting screen?
garconcn
- 2,388
- 8
- 35
- 46
103
votes
2 answers
How to make PuTTY settings persistent?
Some PuTTY settings are valid only for the current session, and when I start it again, they are at the default value again. How can I change the default values?
Jader Dias
- 4,705
- 19
- 50
- 51
103
votes
6 answers
Adding a directory to $PATH in CentOS?
We just got our new server(s) up and we're running CentOS on them all. After successfully installing Ruby Enterprise Edition, I would now like to add the REE /bin (located at /usr/lib/ruby-enterprise/bin) directory to make it the default Ruby…
vonconrad
- 1,281
- 2
- 9
- 9