I have a computer I use as a simple file and web server. I am simply desiring to be able to monitor load, traffic, memory usage, etc via Server Monitor. I have also downloaded an app for my iPhone which does the same thing, but it uses the same protocol that Server Monitor does.
Is it possible to get Server Monitor to recognize my non-server box as a server so I can monitor this information?
For reference, I am running 10.4.ll on this PPC box.
Thanks in advance!
I am trying to create a demo for a class of mine and I want to configure "fake" domain names on my laptop.
A previous question "Can I specify a port in an entry in my /etc/hosts on OS X?" contained an answer indicating that to do it you must use /etc/hosts plus changes to the iptables
"If OS X uses iptables you could point xyz.com to some ip in the hosts file like 157.166.226.25 and then:
sudo iptables -t nat -A OUTPUT -p tcp --dport 80 -d 157.166.226.25 -j DNAT --to-destination 127.0.0.1:3000
"
Since OS X doesn't use iptables, how do I do the equivalent using the tools available on OS X?
(the original "asker" seemed to know how to do this, so it wasn't explained).
Thanks in advance.
I can't explain it. In OS X 10.6.6 (but also in previous versions; nothing to do w/ latest update), I create some keyboard shortcuts both for individual applications and for "all applications." I use them for a while. Later, sometimes after restart sometimes not, they're gone.
Where'd they go?!?! (More importantly, how do I make them stop disappearing? Less ideal solution: how do I back them up and quickly restore them?)
Thanks!
I want to run fsck on a disk image before I use it to restore (replace) a corrupted volume. Using Terminal, what would be the proper command, syntax, and options for this operation?
I've just recently become acquainted with Terminal and line commands, so syntax and specific options aren't part of my computing vocabulary. I'm using Terminal 2.1.2, bash, OS 10.6.8.
Ultimately, I'm trying to restore an image to a secondary startup volume (external drive). The image is mounted on my desktop and I want to check it for errors before I use it. Disk Utility runs "repair disk" successfully but the integrity of the image is suspect.
When I access http://localhost/ I get 403 Forbidden, but if I access http://localhost/~username it serves up pages. Things I've tried:
Checking error logs
Swapping out with original httpd conf files
Changing DocumentRoot to my user directory (after all that should work if I can access ~username)
I've seen 30 plus Q&A sites that all point to people having trouble with user directories being forbidden. I have the opposite problem, and so I'm tearing my hair out here.
I've upgraded from Snow Leopard to Mountain Lion before. Now, I'm going to Mavericks.
I'm tired of downloading these big installers every time I have to use them. The installers are deleted after using them as far as my experience is concerned.
Where can I find these installers after downloading them from the App Store so that I can copy them and use them in the future? Looking up over the internet did not help.
When my MacBook is connected to my Thunderbolt Display, I want WiFi to be turned off, Bluetooth to be turned on and the screen brightness to be at max. On the road I want WiFi to be turned on, Bluetooth to be turned off and the screen brightness to be somewhere in the middle.
It would be easy if there was an application that would let me create several profiles (like 'Home' and 'On the road'), which I could easily select (from Dashboard or the menu bar). The profile settings would then be applied instantly.
Does an application like this exist?
Can anyone point to a document that describes how to print from a Max OS 10.5.8 to an HP Photosmart C3180 series print connected to Windows 7. I can’t get anything but nonsense to print. I was able to do this with Windows XP, could not do it with Vista and am now hopping to get it done with System 7. HP has been no help at all. Apparently nobody who works for them knows anything about both computers.
I don't have access to Office 2008, but require the information for a project I'm working on. I'm mainly interested in Word, Excel and Powerpoint.
This is the information I have gathered so far...
The preference file is:
~/Library/Preferences/com.microsoft.office.plist
The property keys take the form:
2008\File Aliases\{APP}{n}
2008\MRU Access Date\{APP}{n}
where {APP} represents an Office application, and {n} represents a number starting from 0.
The applications are represented by the following values:
MSWD (Word)
XCEL (Excel)
What value represents PowerPoint?
In the property list I've seen, the numbers represented by {n} range from 0-10 (11 items).
Is 10 the limit? or is this unrestrained?
Finally, I've noticed that Office 2011 does not add its Recent Items to the Apple System menu:
Apple > Recent Items
Is Office 2008 the same?
Hi,
How do I make Time Machine to make a new complete backup without losing older versions of backed up files?
Verbose:
I am using the Time Machine backup on my OS X (Snow Leopard) to backup the whole computer to an external drive. I especially like the "history", i.e. the feature that allows you to restore the older version of a file.
Problem: I had some data corruption on my external backup drive, I repaired it with the System Tool for doing that, it found some faults. I had the disk tool repair the external drive. After that, the external drive was OK and I could use Time Machine again.
I let Time Machine do one more backup.
Now I made a verification according to http://superuser.com/questions/47628/verifying-time-machine-backups,
namely along
sudo diff -qr . $HOME/Desktop 2>&1 | tee $HOME/timemachine-diff.log
However: After doing the command above, several differences and missing files were reported, approx. 200 files in sum.
Whereas some of the missing files were cache or excluded directories, the differences do bother me, especially as some important documents from me are listed as differing.
How can I make sure that the data on the external drive is synced correctly?
Is it possible to have Time Machine to do a complete new backup without losing the history?
Or to have Time Machine compare all files for differences and re-write all files that are different?
Or can I set some flags on the files that do not match to have them copied again? (like the archive-flag in Windows/Dos). I'd rather not touch the files because I would like to keep the date of last change/date of creation)
Thank you for your thoughts!
Is there any way, such as an iPhone app, that will let me connect my iPhone to my iMac via bluetooth, so that the iMac pushes all audio through the iPhone?
Specifically, what I'm looking to do is be able to watch movies on my iMac with the sound being played through my iPhone & in turn the ear buds.
I save my image in Photoshop (No Color management). I put it on the iPhone and it looks brighter and desaturated. Also my blue-green looks more like blue.
I have tried some color profiles on the net:
http://luminous-landscape.com/forum/index.php?showtopic=38121
http://www.colorwiki.com/wiki/Color_on_iPhone
But the images still look different.
I'm going insane with this because its stealing my time away and i can't fix it. Every bit of help would be appreciated!
Do I have to create my own profile? Is there an easy way??
Can someone show me a simplified tutorial that explains how to bind IPs in Linux (Centos / Redhat)?
For example, got a dedicated server with a /29
123.123.123.0/29
So I have to bind that /29 where 123.123.123.2 is the IP I'll access via ssh in order to do so.
Thanks.
I need to redirect e-mail within our MTA when the two following criteria are both true:
When an e-mail is:
Sent from: [email protected]
Addressesd to: [email protected]
Result: redirect e-mail to [email protected].
I don't want to catch *@isp.com and redirect, and I don't want to redirect all e-mail addressed to [email protected] but only redirect when [email protected] sends [email protected] an e-mail.
How do I achieve this within Postfix's configuration. And if it's not possible within Postfix, what may be the best solution?
I don't get it. I just want to do simple searches that work. When I type part of a filename, I want to see all the files that have that part of the filename. I know how to do this in terminal, but it takes time to open and then to track down the file once it finds it. Is there a way to do this from the Finder? I want to be able to do *.doc and get all my docs, or hello*.txt and find all filenames of that form. Am I missing something obvious?
Bonus points if you can tell me how to do boolean searches from the Finder (filename:hello*.txt AND modified:4days) or something.
OSX Snow Leopard.
Thanks!
i deleted an important note on stickies. And i retrieved an old version of it in time machine under preferences / widgets. but the setup appears to have changed in my upgrade to mavericks and I can't open the note. I'm trying to open a "post-mavericks" version in my time machine and I can't find where it is.
i saw a post that said look under Library/Preferences/Container, i have no such folder or binary document. Please help.
I searched a lot for this, but couldn't find an answer. Is there any technical difficulties in networking between these? I know I can run a webserver on any of these and access files, is there a proper way?
Hi,
I would like to set up Exchange so that when a user (e.g. [email protected]) sends an email to somedomain.com Exchange makes the email appear to have come from [email protected].
This would have to be done on a per-domain basis, and invisibly to the user. So all emails come from [email protected], except emails to somedomain.com, which appear to come from [email protected].
If anyone has any ideas I would really appreciate it.
Cheers,
RB.
I have a computer I use as a simple file and web server. I am simply desiring to be able to monitor load, traffic, memory usage, etc via Server Monitor. I have also downloaded an app for my iPhone which does the same thing, but it uses the same protocol that Server Monitor does.
Is it possible to get Server Monitor to recognize my non-server box as a server so I can monitor this information?
For reference, I am running 10.4.11 on this PPC box.
Thanks in advance!
I have the following RewriteRule in place. This rewrites everything that starts with mac, linux or windows:
RewriteCond $1 ^(mac|linux|windows) [NC]
RewriteRule ^(.*)$ /index.php/site/index/$1 [L]
Unfortunately this also rewrites /mac/test/testing. How can I prevent it from applying if there is another segmend after /mac?
Anything built-in? (E.g. command line tools.) Any well-regarded software?
Update: excellent suggestions, thanks guys. I like The Unarchiver, but vote up your favourite, or add it as an answer if it isn’t there.
When testing a production app we occasionally need to pull from a live site and perform tests on a development server.
There are quite a few email addresses stored in the database that we need to modify every time we restore to the development server. Occasionally someone on my team will miss one and accidentally send an email through the distribution list. The email looks legit because it is coming from a clone, it can cause quite the situation.
We have a protocol we follow every time we clone the live app and it has helped a lot but I would feel better if it was impossible for the two servers to communicate. Is there a good way to do this? Can firewall rules block email? Does Plesk have a blacklist?
I have been running PhantomJS 1.9.6 happily on a turnkey Linux server for about 4 months now. Its purpose is to take an SVG file and create different sizes using the page.render function.
This has been doing this but since a few days ago has started to generate a black mono output.
Please see below:
The code:
var page = require('webpage').create(), system = require('system'), address, output, ext, width, height;
if ( system.args.length !== 4 ) {
console.log("{ \"result\": false, \"message\": \"phantomjs.rasterize: error need address, output, extension arguments\" }");
//console.log('phantomjs.rasterize: error need address, output, extension arguments');
phantom.exit(1);
}
else if( system.args[3] !== "jpg" && system.args[3] !== "png"){
console.log("{ \"result\": false, \"message\": \"phantomjs.rasterize: error \"jpg\" or \"png\" only please\" }");
//console.log('phantomjs.rasterize: error "jpg" or "png" only please');
phantom.exit(1);
}
else {
address = system.args[1];
output = system.args[2];
ext = system.args[3];
width = 1044;
height = 738;
page.viewportSize = { width: width, height: height }; //postcard size
page.open(address, function (status) {
if (status !== 'success') {
console.log("{ \"result\": false, \"message\": \"phantomjs.rasterize: error loading address ["+address+"]\" }");
//console.log('phantomjs.rasterize: error loading address ['+address+'] ');
phantom.exit();
} else {
window.setTimeout(function () {
//--> redner full size postcard
page.render( output + "." + ext );
//--> redner smaller postcard
page.zoomFactor = 0.5;
page.clipRect = {top:0, left:0, width:width*0.5, height:height*0.5};
page.render( output + ".50." + ext);
//--> redner postcard thumb
page.zoomFactor = 0.25;
page.clipRect = {top:0, left:0, width:width*0.25, height:height*0.25};
page.render( output + ".25." + ext);
//--> exit
console.log("{ \"result\": true, \"message\": \"phantomjs.rasterize: success ["+address+"]>>["+output+"."+ext+"]\" }");
//console.log('phantomjs.rasterize: success ['+address+']>>['+output+'.'+ext+']');
phantom.exit();
}, 100);
}
});
}
Does anyone know what can be causing this? There have been no server configuration changes that I know of.
Many thanks for your help.
I'm having trouble setting up a report model to create reports with report builder. I guess I'm doing something wrong when configuring the report model, but it might also due to change of primary entity in report builder.
I have 3 tables: Client, Address and Product. The Client has PK ClientNumber. The Address and Product both have a FK relation on ClientNumber. The relation between Client and Address is 1-to-many and also between Client and Product:
Product-(many:1)-Client-(1:many)-Address.
I've created a report model (mostly auto generate) with these 3 tables, for each table I've made an Entity.
Now on the Client Entity , I've got 2 roles, Address and Product. They both have a cardinality of 'OptionalMany', because Client can have multiple Addresses or Products. On both Address and Product I have a Client Role with cardinality 'One', because for each Address or Product, there has to be a Client (tried OptionalOne as well...).
Now I'm trying to create a report in Report Builder (2.0) where I select fields from these three entities. I'd like an overview of Clients with their main address and their products, but I don't seem to be able to create a report with fields from both Address and Products in it. I start by selecting attributes from Client, and as soon as I add Product for example the Primary entity changes as if I'm selecting Products (instead of Clients).
This is a basic example of a problem I'm facing in a much more complex model. I've tried lots of different things for 2 days, but I can't get it to work. Does anyone have an idea how to cope with this?
(Using SSRS 2008)