Memcached seems to be preinstalled with Xcode on OS X, according to Apple’s documentation. To make sure I’m not hallucinating, I checked Apple’s developer tools documentation. Yes, memcached is supported and documented by Apple: Apple Developer Library : memcached(1) Apparently, memcached is installed with Xcode since at least 10.6 onwards. The reason I’m asking this is that on the Web and on SO there are lots people asking how to install memcached on OS X [...]Continue Reading »
I’m using OpenVPN through Tunnelblick on MacOS X Lion. I need to set specific DNS (with local IP, which works only when VPN is up) for the duration of this VPN session only. I do not have access to the OpenVPN server configuration. Only client config. Also, DNS from the server doesn’t work. So it works like this: I connect to VPN, go the Network preferences and manually set DNS. After VPN is disconnected, I [...]Continue Reading »
I’m an iOS developer, so I have very little experience with Apache and RoR, and it’s the first time I’m trying to use Mac OS X as server. http://rubyonrails.org/deploy recommends using Phusion Passenger (mod_rails) with Apache. So that’s what I’m trying to accomplish, but I’ve hit a dead end. This is what I’ve done: I’ve enabled Apache (check box in settings) and pointing my browser to localhost gives me the text “It works!”. I can [...]Continue Reading »
NGINX doesn’t seem to recognize my HTTP_PROXY setting in bash profile, is there something I need to do here? Running on OSX Lion. Just to clarify, I’m setting a reverse proxy that will host static files and route requests to our app qa server which is outside of our network. I just need to know how to get nginx to obey proxy settings. Asked by mrjoshua You can’t do that. nginx was designed and intended [...]Continue Reading »
$ mv ‘Assignments’ ‘assignments’ mv: cannot move `Assignments’ to a subdirectory of itself, `assignments/Assignments’ Trying to rename Assignments directory to assignments Asked by Doug The OSX HFS+ filesystem is case-insensitive, so it’s interpreting Assignments and assignments as the same name. I would try: $ mv Assignments tempdir $ mv tempdir assignments Answered by daveadams Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers [...]Continue Reading »
On a Snow Leopard machine, at the Terminal: la ~/src/rmcl/ | grep RMCL -rw-r–r–@ 1 claytonstanley staff 6766167 Nov 13 2009 RMCL What is that ‘@’ attribute? This file is part of an older OS X program that runs under Rosetta. I’m having issues where some older programs running under Rosetta require the @ attribute when opening files. But I’m not sure what that attribute is, so I have no way to know how to [...]Continue Reading »
I want to store the network data received and data sent information on a variable or in a file. Using the below command I can grep it and print the line on screen. But I’m not able to store the info in a bash variable. top -l 0 -n 1 -c d | grep -e ‘^Networks:’ Is there any better approach? (on Mac OS X) Asked by abhiomkar This should work for you: netstat -bi [...]Continue Reading »
How to reach a virtualized application server running on Mac OS X from an outside computer or tablet
After Googling for hours on end looking for a solution I decided to leave a message on this forum. I hope you guys can give me a push in the right direction to solve this issue. I am using a Macbook running OS X 10.6.8 (Snow Leopard). This machine is connected with a wifi router and has a local IP address: 192.168.104.172. On this Macbook I am running Windows 7 using Parallels Desktop. (Don’t make [...]Continue Reading »
I wanted to transfer files between two mac computers. The network is wireless-N and both computers have wireless-N modules in them. The problem is that when I transfer files between them, via file sharing (afp) the network speed caps at 2 megabytes/sec. Just downloading files from the internet I can get faster speeds, so this isn’t a constriction of my wifi bandwidth, it appears to be a constriction of the protocol being used. My wifi-n [...]Continue Reading »
PHP5.4 has been available for sometime now and Macport recently caught up with the release of port php54 but the process of upgrading is not as clear as possible. Even worst for those who are new to maintaining multiple versions of PHP on the same machine. I am keen on trying out some of the new features in PHP5.4 like traits, new array form etc but falling back on to php5.3 for other compatibility stuff. [...]Continue Reading »
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?