Is it better to run a VM on a dual core hyperthreaded machine as a four core or as a two core VM.
The hyperthreaded 'virtual' cores are not as fast as the real cores. Does this effect the VM?
After imaging a 100GB hard drive into an image file with dd, I dd'd the image to a larger hdd
After boot get mkrootdev: label / not found
I have gone in with finnix and relabeled the partition to the same label with e2label and still have problems.
Has anyone resolved this before?
I set up a local server without MAMP, for various reasons. I used this tutorial: http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion
I'm just wondering why the local IP and localhost resolve to two different locations. Right now the IP resolves to a Virtual Host I set up and the localhost resolves to the DocumentRoot established by httpd.conf
I have a Debian VPS with an assigned static IP. I want to setup a virtual interface (with an ip like 192.168..) on my laptop (Ubuntu, dynamic IP) linked to the remote VPS, so that if I bind sockets to it the traffic is tunneled to the VPS and sent to the Internet from there. Port forwarding must be available.
This looks like a job for a VPN software, but I'm clueless about the pieces of software needed. Any advice?
Can a 300GB 15K RPM SAS (Serial Attached SCSI) Hard Drive work/be configured if i put it in an extra slot on a server that uses a DELL PERC 6/i Integrated RAID Controller?
We use Apache 2.2 to host SVN repository on a Windows 2003 machine.
Works fine except that over a couple of weeks the httpd process inflates and starts consuming something like 1.5 gigabytes of virtual memory. All operations with the repository become very slow.
What to tweak to prevent httpd from cosuming so many resources?
I have the 'Safely Remove Hardware' tray icon set to 'Show icon and notifications' to save a mouse click when removing a USB device but every few weeks the setting reverts to 'Only show notifications'. Does anyone know what causes this and/or how I can prevent it?
I'm using Windows 7 SP1 64bit with a fairly bare installation (the machine hosts a set of virtual machines that I use to do my work).
Thanks!
Hi guys,
Is there a quick way to give the local administrator full rights to all folders on the C drive? I am having really hard time with that, I try to give it full rights to some folders (user profiles) but I can't even modify the NTFS permissions in some cases, I get "permission denied"
Is there some soft of tutorial or script that will just give the administrator full rights on all folders in the C driver?
Many thanks for your help!
Toast
I'm looking for music player software that I can install on a 4GB thumb drive, it has to be small (so I have more room for music) and use as little system resources as possible. If it was compatible with Linux and Windows that would be great, but if not I would prefer it be compatible with Windows.
I have been looking around, but I do not have time to try out every option available, so I thought this would be a good place to get some help. So what are some of the best options?
A program has installed c:/windows/syswow64/msxml4.dll on my hard drive. Sadly this is an old version (4.30.2100.0) with a security problem therefore I really wants to remove the file and the program that installed it.
MSXML4 is not in the list of programs that I can uninstall under "Programs and features". Is there a way to find the program that installed it in windows 8.1?
Hope some of you can help.
What is the best way of ensuring my xcode projects are backed up. I am new to Mac and I see there is a timemachine programme, but isn't that for all files?
I just want to make sure my xcode files are backed up on a network drive because this is for work not pleasure.
The rest of team uses TFS and CVS etc.
I really hope this question doesn't come across as trolling or asking for buying advice. It's not intended.
I've just started working for a small ad agency (40 employees). I actually quit being a system administrator a few years ago (too stressful!), but the company we're currently outsourcing our IT stuff to is doing such a bad job that I've felt compelled to get involved and do what I can to improve things.
At the moment, all the company's data is stored on an 8TB external firewire drive attached to a Mac Mini running OS X Server 10.6, which provides filesharing (using AFP) for the whole company. There is a single backup drive, which is actually a caddy containing two 3TB hard drives arranged in RAID 0 (arrggghhhh!), which someone brings in as and when and copies over all the data using Carbon Copy Cloner. That's the entirety of the infrastructure, and the whole backup and restore strategy. I've been having sleepless nights.
I've just started augmenting the backup process with FreeBSD, ZFS, sparse bundles and snapshot sends to get everything offsite. I think this is a workable behind the scenes solution, but for people's day to day use I'm struggling.
Given the quantity and importance of the data, I think we should really be looking towards enterprise level storage solutions, high availability and so on, but the whole company is all Mac all the time, and I cannot find equipment that will do what we need. No more Xserve; no rack storage; no large scale storage at all apart from that Pegasus R6 that doesn't seem all that great; the Mac Pro has fibre channel, but it's not a real server and it's ludicrously expensive; Xsan looks like it's on the way out; things like heartbeatd and failoverd have apparently been removed from Lion Server; the new Mac Mini only has thunderbolt which severely limits our choices; the list goes on and on. I'm really, really not trying to troll here. I love Macs, but I just genuinely don't know where I'm supposed to look for server stuff.
I have considered Linux or FreeBSD and netatalk for serving files with all the server-y goodness those OSes bring, but some the things I've read make me wonder if it's really the way to go. Also, in my own (admittedly quite cursory) experiments with it, I've struggled to get decent transfer speeds. I guess there's also the possibility of switching everyone off AFP and making them use SMB or NFS, but I understand that this can cause big problems with resource forks and file locks.
I figure there must be plenty of all Mac companies out there. If you're the sysadmin at one, what do you use? Any suggestions very gratefully received.
Hi,
Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here:
http://community.wdc.com/t5/Desktop/Problem-with-WD-Advanced-Format-drive-in-LINUX-WD15EARS/m-p/10920#M631
So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. But now when I try to boot, I get my old grub menu but after selecting my kernel version it hangs... Any idea how I can fix it?
I noticed a bunch of folders in the root of my hard drive named with a string of hex digits that contain files named with a GUID ending with "mpasdlta.vdm" and "mpavdlta.vdm". From some Googling, I've determined that these files are spyware and virus definition files used by Microsoft Security Essentials. Are these files safe to delete?
(Why doesn't Microsoft follow their own guidelines and store application data in the folders intended for that purpose? grumble grumble)
What is the standard/correct way to re-install grub2?
I am using liveusb right now and i am unable to boot into Ubuntu on my hard drive.
Partitions are as follows:
/dev/sda1 1 3917 31463271 7 HPFS/NTFS
/dev/sda2 3918 10444 52428127+ 7 HPFS/NTFS
/dev/sda3 10445 15671 41985877+ 7 HPFS/NTFS
/dev/sda4 15672 19457 30411045 5 Extended
/dev/sda5 * 15672 17711 16386268+ 83 Linux
/dev/sda6 17712 19457 14024713+ 83 Linux
Pleas help.
thanks
I have a fully working Joomla 2.5.6 install driven by a local MySQL server, but I'd like to test nginx to see if it's a faster web serving experience than Apache.
\ PHP 5.4.6 (PHP54w)
\ CentOS 6.2
\ Joomla 2.5.6
\ PHP54w-fpm.i386 (FastCGI process manager)
\ php -m shows: mysql & mysqli modules loaded
Nginx seems to have installed fine via yum, it can process a PHP-info file via FastCGI perfectly OK (http://37.128.190.241/php.php) but when I stop Apache, start nginx instead and visit my site I get: "Database connection error (1): The MySQL adapter 'mysqli' is not available."
I've tried adjusting my Joomla configuration.php to use mysql instead of mysqli but I get the same basic error, only this time "Database connection error (1): The MySQL adapter 'mysql' is not available" of course!
Can anyone think what the problem might be please? I did try explicitly setting extension = mysqli.so and extension = mysql.so in my php.ini to try and force the issue (despite php -m showing they were both successfully loaded anyway) - no difference.
I have a pretty standard nginx default.conf:
server {
listen 80;
server_name www.MYDOMAIN.com;
server_name_in_redirect off;
access_log /var/log/nginx/localhost.access_log main;
error_log /var/log/nginx/localhost.error_log info;
root /var/www/html/MYROOT_DIR;
index index.php index.html index.htm default.html default.htm;
# Support Clean (aka Search Engine Friendly) URLs
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
# deny running scripts inside writable directories
location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ {
return 403;
error_page 403 /403_error.html;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi.conf;
}
# caching of files
location ~* \.(ico|pdf|flv)$ {
expires 1y;
}
location ~* \.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$ {
expires 14d;
}
}
Snip of output from phpinfo under nginx:
Server API FPM/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
Additional .ini files parsed /etc/php.d/curl.ini, /etc/php.d/fileinfo.ini, /etc/php.d/json.ini, /etc/php.d/phar.ini, /etc/php.d/zip.ini
Snip of output from phpinfo under Apache:
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
Additional .ini files parsed /etc/php.d/curl.ini, /etc/php.d/fileinfo.ini, /etc/php.d/json.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_sqlite.ini, /etc/php.d/phar.ini, /etc/php.d/sqlite3.ini, /etc/php.d/zip.ini
Seems that with Apache, PHP is loading substantially more additional .ini files, including ones relating to mysql (mysql.ini, mysqli.ini, pdo_mysql.ini) than nginx.
Any ideas how I get nginix to also call these additional .ini's ?
Thanks in advance,
Steve
I have a postfix + virtual users setup. I have enabled maildrop as the delivery agent. How can I write a filter for a user so that if mail comes from a particular domain to that user a copy also goes to another email address.
The Safely Remove Hardware icon in Windows 7 offers the ability to eject my SATA drives, including the boot drive. I don't see myself ever needing this - especially not from the convenience of the tray icon. Is there perhaps a common BIOS setting to disable hot-swappability?
Some OEM include energy saving apps that can switch off certain devices such as webcam or optical drive. Is there any brand-agnostic app out there that can do it? If the list of disabled device is customizable, it would be useful too for mitigating DMA attack (disabling Firewire, PCMCIA, SDIO, Thunderbolt, etc). Even better if it can recognize lock/logoff event, to mimic OSX behavior in mitigating the DMA attack.
Feeding off of this post.
I have a domain with Dreamhost and i've purchased SSL certificate for it.
I am moving over the server files to Linode but and setting the DNS in dreamhost to point over.
Linode provides a ip but it's not dedicated.
What is going to happen to SSL on that dreamhost IP when I switch over the DNS to linode?
I have one virtual host can I host multiple domains while using SSL for one?
Postfix serves for my virtual domains and works fine.
But for one of my domains:
- it bounces mails targeted at [email protected]
- it rejects mails targeted at [email protected]
problem is, [email protected] does not exist either.
here is my postconf
why does it bounce [email protected], and reject other non existing mails?
Thanks.
Some sub-folders from my iTunes music folder have been deleted from my hard drive, but are still present into my iTunes library (with a "!" sign next to it, showing me that there is a problem with that song).
I have a lot of those unplayable songs on my library... Is there a way to rid of all those songs ?
A friend has a site developed in ColdFusion with MySQL and is looking for better cost-effective hosting as the traffic scales up rapidly. Azure comes to mind.
I haven't used Azure myself, however, I believe it is possible to setup and interact with the web-server via RDP into a hosted Virtual Machine?
I am curious if ColdFusion can be installed in the hosted Azure VM. Also, would the site have to be tweaked to run on Azure SQL, or could it continue to use MySQL?
Thanks.