Most Popular
1500 questions
117
votes
12 answers
How to start/stop iptables on Ubuntu?
How can I start/stop the iptables service on Ubuntu?
I have tried
service iptables stop
but it is giving "unrecognized service".
Why is it doing so? Is there any other method?
neha soni
116
votes
10 answers
What does this nginx error "rewrite or internal redirection cycle" mean?
tail -f /var/log/nginx/error.log
2013/05/04 23:43:35 [error] 733#0: *3662 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 127.0.0.1, server: _, request: "GET /robots.txt HTTP/1.1", host:…
pavs-maha
- 1,163
116
votes
12 answers
How can I prevent the warning No xauth data; using fake authentication data for X11 forwarding?
Every time I initiate an ssh connection from my Mac to a Linux (Debian) I do get this warning:
No xauth data; using fake authentication data for X11 forwarding.
This also happens for tools that are using ssh, like git or mercurial.
I just want to…
sorin
- 8,454
116
votes
4 answers
Tell Jenkins to run a specific project on a particular slave node
How do I tell Jenkins to run a specific project on a particular slave?
I've set up a Jenkins master node, and a slave node that I want to use for staging an application. But I can't figure out how to configure the project to run on the slave node I…
Lorin Hochstein
- 5,236
116
votes
2 answers
How to re-order windows, change the scroll shortcut, and modify the status bar contents in GNU Screen?
I learned to use gnu-screen and have been using it for the past several weeks. I got a grip of the basics now, and would be very helpful if I get these queries clarified:
How do I rename / reorder / move windows in Linux screen utility?
For eg.,…
Rangzy
- 1,261
116
votes
6 answers
How to let 'cp' command don't fire an error when source file does not exist?
I'm using Mac OS X.
I'm trying to copying some files with cp command for a build script like this.
cp ./src/*/*.h ./aaa
But this command fires an error if there is no .h file in ./src directory.
How to make the command don't fire the error? (silent…
Eonil
- 11,009
115
votes
6 answers
how to create a cron job that runs on the first day of month
There are fields on my server's control panel like this
Minute - Hour - Day of month - Month - Day of the week - Command
How can I create a cron job runs on first day of the month with this fields?
Utku Dalmaz
- 1,399
115
votes
3 answers
Is there a way to see the execution tree of systemd?
What I mean under the question is: is there a way to dump the ordered list (like pstree does for processes) to see how systemd executed the supplied set of units, i.e. the tree after the dependencies were resolved and jobs were queued for the…
galaxy
- 2,227
115
votes
9 answers
Can you mount a network switch upside down?
We just took delivery of a new Avaya 2500 48-port switch, that has 24 PoE ports. The problem is that all the PoE ports are on the left-hand size of the switch, and our PoE device cables can only reach the right-hand side of the switch (we're…
Mark Henderson
- 69,480
115
votes
9 answers
Can I send some text to the STDIN of an active process running in a screen session?
I have a long-running server process inside a screen session on my Linux server. It's a bit unstable (and sadly not my software so I can't fix that!), so I want to script a nightly restart of the process to help stability. The only way to make it do…
Richard Gaywood
114
votes
9 answers
Allow SFTP but disallow SSH?
I'm starting a very little hosting company for a few friends and little clients, nothing big.
I want to give my "clients" the right to manage their files on the server. I hate FTP as it is not secure and it's in my opinion obsolete.
So I'd like to…
Tommy B.
- 1,464
114
votes
6 answers
Why is Enterprise Storage so expensive?
This is a Canonical Question about the Cost of Enterprise Storage.
See also the following question:
What's the best way to explain storage issues to developers and other users
Regarding general questions like:
Why do I have to pay 50 bucks a…
Mark Henderson
- 69,480
114
votes
12 answers
How do I prevent apache from serving the .git directory?
I have started using git for deployment of websites for testing. How do I prevent apache from serving the .git directory contents?
I tried
Order deny,allow
Deny from all
with no success.
I know that…
Shoan
- 1,765
114
votes
13 answers
How can I tell what version of IIS is installed?
I've got a box running Win2k3 and some directions from Microsoft KB about SSL certificates, for IIS 5.0 and 6.0. How can I tell which version of IIS is currently installed?
jldugger
- 14,602
113
votes
8 answers
Best practice: Should I always install a fresh OS for new employees?
I had an argument with a superior about this. Though at first glance the prior user of a laptop only did work in his own documents-folders, should I always install a new OS for the next user or is deleting the old profile enough? The software that…
ExNought
- 1,143