Most Popular

1500 questions
47
votes
3 answers

UFW Firewall Rules ordering?

I have the following rules on our server within UFW: To Action From -- ------ ---- 22 ALLOW 217.22.12.111 22 ALLOW …
dannymcc
  • 2,727
47
votes
4 answers

Generate an OpenVPN profile for client user to import

Is there any documentation or resource describing how to generate and host a profile for an OpenVPN client to import? Ideally would like my users to not have to separately fetch a .zip file of the .ovpn + certs, extract it to the proper directory,…
xyzzyrz
  • 1,665
47
votes
5 answers

Check the Number of active connections on port 80?

I have a webserver, i need to check number of connections in my server at that given time, i used following netstat -anp |grep 80 |wc -l this returned with 2542 but from my google analytics's i know that simultaneous users is not more than…
mahen3d
  • 4,422
47
votes
3 answers

How do I upgrade from PHP 5.3 to PHP 5.4.6 in Ubuntu?

Is there an easy way out to get the latest PHP? I have tried updating my package but none of it has 5.4.6 yet... if anyone knows on how to do it quickly, can it be shared here? I've tried compiling from the source, but I am constantly getting: …
user79356
  • 627
47
votes
7 answers

How can one efficiently use S3 to back up files incrementally?

I understand how rsync works on a high-level, but there are 2 sides. With S3 there is no daemon to speak of — well there is, but it's basically just HTTP. There look to be a few approaches. s3rsync (but this just bolts on rsync to s3). …
47
votes
6 answers

Apache "Client denied by server configuration", despite allowing access to directory (vhost configuration)

in Apache on Ubuntu I've set up a vhost, but in the browser I keep getting a "403 Access forbidden" error; the log says "Client denied by server configuration: /home/remix/". Looking for the solution online I found many posts about the directory…
47
votes
7 answers

How to update cURL CA bundle on RedHat?

I am running into issues where the CA bundle that has been bundled with my version of cURL is outdated. curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate…
Andrew
  • 3,573
47
votes
1 answer

mount: unknown filesystem type 'linux_raid_member'

I have Suse Linux 12.1 and i am trying to mount a single RAID 1 disk, to explore the files in it. However when mounting it: # mount /dev/sdc1 /mnt/test mount: unknown filesystem type 'linux_raid_member' I started reading around and many…
47
votes
5 answers

User per virtual host in Nginx

Is it possible in nginx configure different user per virtual host? Something like server { user myprojectuser myprojectgroup; ... }
47
votes
1 answer

Curl POST - 411 Length Required

We have a RestFUL API we build in PHP. If we make the request: curl -u api-key:api-passphrase https://api.domain.com/v1/product -X POST We get back: 411 - Length Required Though if we simply add -d "" onto the request it works and no 411 error. Is…
Justin
  • 5,438
47
votes
4 answers

PSCP: Upload an entire folder, Windows to Linux

I am using PSCP to upload some files from Windows to Linux. I can do it fine just uploading one file at a time. But I have some very large directories and I want to upload an entire directory at once. I have tried: pscp -i…
Mechlar
  • 617
47
votes
7 answers

Removing phantom applications from Application Pools in IIS7

I have an application in one of my application pools that has a virtual path of /Site/login.aspx. I want to remove it but it no longer exists on my computer and it's causing me issues setting up AppFabric. I understand that you can remove these…
Col
  • 595
47
votes
7 answers

Why rsync is faster than NFS?

Few days ago I noticed something rather odd (at least for me). I ran rsync copying the same data and deleting it afterwards to NFS mount, called /nfs_mount/TEST. This /nfs_mount/TEST is hosted/exported from nfs_server-eth1. The MTU on both network…
grs
  • 2,245
47
votes
1 answer

How do I tell what is running on which ports in Ubuntu?

How could I tell what is listening on which ports on Ubuntu? In other words, how do I get a list of ports that are in use?
Genadinik
  • 1,143
47
votes
8 answers

Port forwarding on Linux without iptables?

I have a Linux VPS (virtuozzo) server and I need to setup port forwarding, but my hosting provider does not allow iptables-nat kernel modules so iptables -t nat - is not working. I'm looking for other ways how to do it. I know I can forward port…
troex
  • 753
  • 2
  • 7
  • 9