Most Popular
1500 questions
61
votes
1 answer
What does the @ symbol mean in a file's permission settings?
I'm on MacOSX, I did ln -s on a directory and these are the results:
-rwxrwxr-x@ 1 shiki admin 970332 Mar 6 16:38 apc.so
-rwxrwxr-x@ 1 shiki admin 653884 Mar 6 16:38 eaccelerator.so
-rw-rw-r--@ 1 shiki admin 60064 Mar 6 16:38…
Shiki
- 820
61
votes
12 answers
Is virtual machine slower than the underlying physical machine?
This question is quite general, but most specifically I'm interested in knowing if virtual machine running Ubuntu Enterprise Cloud will be any slower than the same physical machine without any virtualization. How much (1%, 5%, 10%)?
Did anyone…
Michal Illich
- 711
- 1
- 5
- 5
61
votes
6 answers
The corporate benefits of using MSI files
What are the advantages of using .msi files over regular setup.exe files?
I have the impression that deployment is easier on machines where users have few permissions, but not sure about the details.
What features does msiexec.exe have that makes…
Frode Lillerud
- 1,676
60
votes
5 answers
How do I show the actions that installing a .deb package will take?
I would like to be able to view the scripts/triggers associated with a package due for upgrade so that I can tell, for example, whether it will result in the web server being restarted. I can't find an aptitude option to show me that (or apt/dpkg);…
Sam Brightman
- 925
60
votes
9 answers
Chrome S3 Cloudfront: No 'Access-Control-Allow-Origin' header on initial XHR request
I have a webpage (https://smartystreets.com/contact) that uses jQuery to load some SVG files from S3 through the CloudFront CDN.
In Chrome I will open an Incognito window as well as the console. Then I will load the page. As the page loads, I will…
SunSparc
- 1,088
60
votes
8 answers
Can I create SSH to tunnel HTTP through server like it was proxy?
Say I have a server and client. I need to create connection from client to a website through server like it was proxy.
Is it possible to do this using a SSH tunel, or do I have to install some proxy service to the server?
Jakub Arnold
- 1,854
60
votes
6 answers
"No command specified" from re-imported docker image/container
I am trying to take a docker container from one machine and run it on another and encountering this error: "Error response from daemon: No command specified".
Below is a simplified example showing the problem:
docker --version
Docker version 1.10.1,…
Greendrake
- 1,561
60
votes
4 answers
Start N processes with one systemd service file
I found this systemd service file to start autossh to keep up a ssh tunnel: https://gist.github.com/thomasfr/9707568
[Unit]
Description=Keeps a tunnel to 'remote.example.com' open
After=network.target
[Service]
User=autossh
# -p [PORT]
# -l…
guettli
- 3,811
60
votes
14 answers
64-bit TortoiseSVN on Windows 7 says "file or directory is corrupted and unreadable" then runs chkdsk
I'm using 64-bit TortoiseSVN on a 64-bit Windows 7 Professional. Every so often a checkout or update will fail with an error message like the following.
Error: Can't move
Error: '[...]\\.svn\tmp\entries'
Error: to
Error: '[...]\\.svn\entries':…
David Alpert
- 1,655
60
votes
4 answers
DIMMs: Single vs. Double vs. Quad Rank
What difference does the 'Rank' of DIMMs make to server memory? For example, when looking at server configurations I see the following being offered for the same server:
2GB (1x2GB) Single Rank PC3-10600 CL9 ECC DDR3-1333 VLP RDIMM
2GB (1x2GB) Dual…
MikeyB
- 40,079
60
votes
4 answers
get notification when systemd-monitored service enters failed state
I need to have network messages sent when a systemd service I have crashes or is hung (i.e., enters failed state; I monitor for hung by using WatchdogSec=). I noticed that newer systemd have FailureAction=, but then saw that this doesn't allow…
Display Name
- 831
60
votes
5 answers
How to understand the memory usage and load average in linux server
I am using a linux server which has 128GB of memory and 24 cores. I use top to see how much it is used. Its output is pasted at the end of the post. Here are two questions:
(1) I see that each of the running processes occupies a very small…
Tim
- 1,527
60
votes
1 answer
What's the difference between sudo su - postgres and sudo -u postgres?
PostgreSQL users peer authentication on unix sockets by default, where the unix user must be the same as the PostgreSQL user. So people frequently use su or sudo to become the postgres superuser.
I often see people using constructs like:
sudo su -…
Craig Ringer
- 11,525
60
votes
7 answers
iptables error: unknown option --dport
The command iptables no longer recognizes one of the most commonly used options when defining rules: --dport.
I get this error:
[root@dragonweyr /home/calyodelphi]# iptables -A INPUT --dport 7777 -j ACCEPT_TCP_UDP
iptables v1.4.7: unknown option…
Calyo Delphi
- 711
60
votes
10 answers
How to determine AWS security group dependencies?
Amazon EC2 won't let me delete a security group, complaining that the group still has dependencies. How Can I find what those dependencies are?
aws ec2 describe-security-groups doesn't say.
user14645
- 1,740