Jump to content

Leon

Administrators
  • Posts

    1235
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Leon

  1. Note: Mac OSX 10.5.x “Leopard” may not need this - however some users have reported it still adds value. Apple seem to have made some changes in the way Leopard interacts with the file system making automatic refreshes far more instant. A small but annoying thing about Mac OSX is that sometimes it doesn’t refresh itself when a file or folder is changed - especially when dealing with SMB (Windows) share drives. In Windows you can hit F5 to refresh the current Window, but Apple seemed to have forgotten to add this feature to Mac OSX. Well I searched the web and finally found an Applescript to do this which is here: tell application “Finder” tell front window update every item with necessity end tell end tell Now thats fine, but I wanted something that would tie into the Finder window. So I grabbed the refresh icon from a Firefox theme (GrApple) and made an Application Package in Script Editor. So here it is for people that want it: Download: Finder-Refresh-1.4.zip To install: 1. Unzip to your Applications Folder * 2. Open a Finder window. 3. Go to Applications and scroll to “Finder Refresh” 4. Left-click & drag Finder Refresh to the Finder window toolbar - you should see the other icons spread out. 5. Let go of the mouse button and there you go - should look like below. * If your web browser auto-unzip’s (ie Safari) then “Finder Refresh” will be in your download directory so you can skip Step 1 From then on just click the button to refresh the currently open Finder window. It works for me, and now one small thing no longer annoys me. Uninstallation: To Remove from the Finder Window, Hold down the Command/Apple key, left click on the icon and drag off the Finder Window - you’ll see your mouse cursor turn into a cloud, at this point let go of your mouse button. Done!
  2. If you get error like this one Error 400 Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit. That means that your browser is trying to send too much at once. Probably, it’s size of the cookies. The easy way to fix it – delete cookies. Of course, you lose all info in the cookies, but at least you can access site again. If you develop/manage web site and your customers complain of this error message – there are two things to do: Review cookies and limit the size of cookies your application stores in the browser. Increase allowed request size in web server configuration To increase request size in Apache, add directive LimitRequestFieldSize to the configuration file. Default value is 8190 bytes - to increase it 2 times add LimitRequestFieldSize 16380 Apache restart is required.
  3. Recently, I read a hint about how to use Automator to execute a shell script to open a screen sharing session to another machine. It turns out that there is a much simpler (and faster) way to accomplish this. Open a screen sharing session to the desired host. Notice the small icon in the middle of the title bar of the screen sharing session. Click on the icon and drag a copy to your desktop. Close the screen sharing session. Click on the icon you dragged to the desktop. It should open a connection to the desired host. You can rename the icon or add graphics to the icon as desired. Note that this method opens the session much more quickly than the Automator shell script method.
  4. Microsoft has introduced together with Windows 2008 a new Hypervisor called Hyper-V. Initially Microsoft only supported Microsoft products and Novell Suse, but recently they added support for Red Hat Enterprise Linux. With this support it is also possible to install the components on CentOS. 1. Download Latest Linux Integration ComponentsYou can download the exe file here. Extract it and copy the linuxic.iso somewhere you can mount it as a cdrom on your Virtual Machine. 2. InstallationTo install the drivers we need the development tools. Easiest method to install those is via Yum. yum groupinstall "Development Tools" Next we will copy the contents of the cdrom to the server mkdir -p /mnt/cdrom mount /dev/cdrom /mnt/cdrom cp -rp /mnt/cdrom /opt/linux_ic umount /mnt/cdrom Let's create a new initrd image with the nessecary drivers. cd /opt/linux_ic ./setup.pl drivers When this is finished you can safely shutdown the virtual machine and add the synthetic adapters (Network, SCSI, ...). Once the machine is booted and logged in in you can verify the installation of the drivers with following command: lsmod | grep vsc netvsc 73704 0 storvsc 66824 0 blkvsc 70440 3 vmbus 86120 3 netvsc,storvsc,blkvsc scsi_mod 196569 6 scsi_dh,sg,storvsc,blkvsc,libata,sd_mod If you installed a synthetic Network Adapter you can verify with ifconfig -a and check if there is seth0.
  5. I know that all of the vi people are going to blast me for this but I like nano much better for quick and dirty editing. So when it comes to editing the crontab here is a quick way to change the terminal editor. EDITOR=nano crontab -e You should be able to substitute any editor in the place of NANO, Mac OS X has PICO which I think is the same as nano.
  6. This script works like chkconfig, but uses update-rc.d in the background for adding and removing system services on a Debian system. I hope some users like this! #!/bin/sh # Description: This script works like chkconfig, but uses update-rc.d in # the background for adding and removing system services on a Debian system. # # Examples: # chkconfig --add name_of_the_service # chkconfig --del name_of_the_service # # Not working: chkconfig 2345 80 20 # For using this on your own system add a file called 'chkconfig' with # this content in the /sbin/ folder on your harddrive and # run once this command: chmod +x /sbin/chkconfig # Variables SERVICE=$2 # Functions add() { if [[ `ls -a /etc/init.d/ | grep -e "^$SERVICE$"` ]] then echo -n "Adding service: $SERVICE" echo /usr/sbin/update-rc.d $SERVICE defaults else echo -n "File /etc/init.d/$SERVICE not found." echo fi } delete() { if [[ `ls -a /etc/init.d/ | grep -e "^$SERVICE$"` ]] then echo -n "Removing service: $SERVICE" echo /usr/sbin/update-rc.d -f $SERVICE remove else echo -n "Error removing: service does not exist." echo fi } # Exactly two parameters required if [[ $# != 2 ]] then echo -n "Usage: $0 {--add|--del} name_of_the_service" echo exit 1 fi # Check the command line for actions case "$1" in "--add") add ;; "--del") delete ;; *) echo -n "Usage: $0 {--add|--del} name_of_the_service" echo exit 1 esac exit 0 esac exit 0 Should make life easier for some hardworking debian admins out there... enjoy! //Leon
  7. Sometimes it can be a bloody hell to find out whats eating up storage space on a linux machine... Try this one out.... # find / -type f -size +20000k -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $5 }' | sort -nrk 2,2 It will give you a list of files larger than 20mb, sorted by size... Enjoy!
  8. A friend of mine asked how he could generate a .htpasswd file for use with Apache. The solution is quite simple, just run this from a console... Q. How do I use htpasswd command to store username and passwords? A. htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of HTTP users. If htpasswd cannot access a file, such as not being able to write to the output file or not being able to read the file in order to update it, it returns an error status and makes no changes. Create a new password fileFollowing command will creates a new file and stores a record in it for user jerry. The user is prompted for the password. If the file exists and cannot be read, or cannot be written, it is not altered and htpasswd will display a message and return an error status. # htpasswd -c /home/pwww/.htpasswd jerry Change or update passwordTo add or modifies the password for user tom, enter: # htpasswd /home/pwww/.htpasswd-users tom The user is prompted for the password.
  9. Sometimes, you might want to get the current page URL that is shown in the browser URL window. For example if you want to let your visitors submit a blog post to Digg you need to get that same exact URL. There are plenty of other reasons as well. Here is how you can do that. Add the following code to a page: <?php function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } ?> You can now get the current page URL using the line: <?php echo curPageURL(); ?> Sometimes it is needed to get the page name only. The following example shows how to do it: <?php function curPageName() { return substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); } echo "The current page name is ".curPageName(); ?> .. enjoy!
  10. Hi, So, malin (my wife) had a problem today with a remote tracker script from www.susnet.se dident work because their server is down, this caused her blog to load extremely slow. The solution was quite simple, instead of loading the susnet code in the middle of her site, we would load the susnet code AFTER the page have loaded using a OnLoad event. The change look like this. 1. Change to 2. Create a new javascript at the end of the page like this <script> function doneLoading() { loadSusnet(); } </script> The above function will call yet another function called "loadSusnet" 3. Create the LoadSusnet javascript function and the end of the code.. like this.... <script> function loadSusnet() { var scriptSusnet1 = document.createElement('script'); scriptSusnet1.type = 'text/javascript'; scriptSusnet1.src = 'http://susnet.se/susnetstat.js'; document.getElementsByTagName('head')[0].appendChild(scriptSusnet1); susnet_counter_id = 60529; //susnet_security_code = '76388' susnet_node=0; register(); var scriptSusnet2 = document.createElement('script'); scriptSusnet2.type = 'text/javascript'; scriptSusnet2.src = 'http://susnet.se/susnetstat.js'; document.getElementsByTagName('head')[0].appendChild(scriptSusnet2); susnet_counter_id = 60529; //susnet_security_code = '76388' susnet_node=0; getTotalUniqueVisitors(); } </script> What the susnet function does is to dynamically load the remote javascript files, all this is done AFTER the page have rendered, hence the page now loads ALOT faster... - offcourse, this should be used wisefully.
  11. Following is a guide for howto install the nginx load balancer on CentOS... Lets start by installing the requirements.. type: sudo yum install -y pcre yum install pcre-devel zlib zlib-devel openssl openssl-devel gcc Now that we got what is needed, lets fetch nginx and install it.. 1. wget http://sysoev.ru/nginx/nginx-0.5.35.tar.gz 2. tar xzvf nginx-0.5.35.tar.gz 3. cd nginx-0.5.35 5. ./configure --sbin-path=/sbin/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_module --with-md5=auto/lib/md5 --with-sha1=auto/lib/sha1 6. make 7. make install Now you should have nginx installed and just need to configure it...
  12. So, with the re-launch of http://www.gog.com/ i found my self wanting to run some games (in this case Master of Magic) on OSX... Knowing that i offcourse just could load up a virtual machines in VMware fusion, it just seemed like over kill. So, after a bit of googling, i found my new best friend... DOSBox -> http://www.dosbox.com/ When first started you get a plane empty dos console *sweeet*, so to load up a game.. i did like this: 1. Create a folder somewhere, call it eg. "dos" (without the "", this will be your new C:) 2. In the dos console, type "mount C /dos" Now we have a C drive, that also is a folder we can access in osx *sweet*, so i copied over MOM and ran magic.exe... .. and .. PROFIT! Do do you know of any solution that works better ?
  13. I was doing a bit of work on my blog that is hosted on a OSX server, when i came to the point that needed to import a meta variable in javascript.. so i made this little function... <script> function getMeta(varname) { var metas = document.getElementsByTagName('META'); var i; for (i = 0; i < metas.length; i++) if (metas[i].getAttribute('NAME') == varname) break; var GMresult = metas[i].getAttribute('CONTENT'); return GMresult; } </script> You can test it by doing: <script> var result = getMeta("Content-Type"); alert(result); </script> ... It should popup a javascript alert with the content of Content-Type
  14. Hi, So, today i wanna talk a bit about howto keep your mac clean and free up space, offcourse - a mac like any other computer ends up getting clutered and filled up with .. well. .crap! * Clean out the updates folder Sometimes the updates folder dosent get cleaned automaticly after installing updates, navigate to /Library/Updates, if there is anything in there.. remove it... * Remove old .ipsw files If you own a Ipod/Ipad/Iphone then you have most likely also installed updates at some point - its safe to remove the old .ipsw files (firmware), those can be found in : /Users//Library/Application Support/iTunes/iPod Firmware * Empty Trash Just because you delete a file, dosent mean that the file actually leave your harddisk and space is freed, in OSX the file record container is just changed to point the file the "Trash", so remember to empty your trash (yes, i know that not even then is the file fully removed from the Harddisk.. but thats another talk for another day) * Removed un-used applications My motto.. if you dont use.. why keep it ? .. removed un-used applications and safe alot of space ... (more to come as i find more stuff todo) .. ... Usefull tools ... There is alot of usefull tools out there that can do alot of stuff for you also... * CleanMyMac -> http://www.macpaw.com/cleanmymac Neat application that easily can free up some harddisk space * Monolingual -> http://monolingual.sourceforge.net/ Removes un-used languages, can easily free up space .. and its opensource * Xslimmer -> http://www.xslimmer.com/ Xslimmer removes un-used code from your applications.. eg. code that supports that the application can run on powerpc, use with care and remember to backup first * iDefrag -> http://www.coriolis-systems.com/iDefrag.php OSX's file system gets fragmented to, use this application to optimize the performance of your Harddisk.... How do you keep your OSX clean ?.. leave a message....
  15. I manage a couple of ClearOS servers, and sometimes the usual "top" just isent enough.. thats where htop comes in. Since htop is not in the package directory of ClearOS, you have to work-around it.. 1. Login as root on your COS 2. do -> wget http://packages.sw.be/htop/htop-0.8.3-1.el5.rf.i386.rpm'>http://packages.sw.be/htop/htop-0.8.3-1.el5.rf.i386.rpm [ENTER] 3. do -> rpm -i http://packages.sw.be/htop/htop-0.8.3-1.el5.rf.i386.rpm Wolla.. you know have htop .. simply type htop to start it...
  16. When installed on a virtual machine that is running a supported Linux operating system, Linux Integration Services for Hyper-V provides the following functionality: Driver support for synthetic devices: Linux Integration Services supports the synthetic network controller and the synthetic storage controller that were developed specifically for Hyper-V. Fastpath Boot Support for Hyper-V: Boot devices now take advantage of the block Virtualization Service Client (VSC) to provide enhanced performance. Timesync: The clock inside the virtual machine will remain synchronized with the clock on the host. Integrated Shutdown: Virtual machines running Linux can be shut down from either Hyper-V Manager or System Center Virtual Machine Manager, using the “Shut Down” command. Symmetric Multi-Processing (SMP) Support: Supported Linux distributions can use up to 4 virtual processors (VP) per virtual machine. 1. Download Linux Integration Components v2.1 a. Download Linux Integration Components v2.1 from Microsoft Download site. b. Extract the .exe file into a temp folder. You will need only LinuxIC v21.iso file. c. Place the LinuxIC v21.iso file into your VM host server where you can mount the ISO as a CDROM for your Centon Virtual Machine. 2. Installation You will need Development Tools installed to be able to compile the Integration Components. You could do that by running yum: yum groupinstall “Development Tools” NOTE: This command will try to use your network connection to download and if you used Synthetic Network Adapter for your Hyper-V machine you will not have internet connection. So make sure to install Development Tools during your Centos initial installation. Now make sure you added LinuxIC v21.iso file to your Hyper-V CDROM as Image. As the root user, mount the CD in the virtual machine by issuing the following commands at a shell prompt: mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom Copy Linux Integration Services to the virtual machine and unmount CDROM that no longer needed: mkdir /opt/linux_ic_v21_rtm cp –R /mnt/cdrom/* /opt/linux_ic_v21_rtm umount /mnt/cdrom As the root user, run the following command to compile and install the synthetic drivers: cd /opt/linux_ic_v21_rtm/ make make install NOTE: If you’re using the x64 version of Centos, you have perform an extra step. Attach the Centos ISO that was used for installation in the virtual machine, and mount it: mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom Install the adjtimex RPM for more accurate time keeping in the virtual machine: rpm –ivh /mnt/cdrom/Centos/adjtimex-1.20-2.1.x86_64.rpm To verify that all subcomponents are running,, as the root user, issue the following command at a shell prompt: /sbin/lsmod | grep vsc Please remmeber when using Network Adapters on Hyper-V, NIC names would be changed from eth0 to seth0. Uninstalling Linux Integration Services To uninstall Linux Integration Services, follow these steps. 1. From the Linux virtual machine, browse to the location where the installation files were copied (for example, /opt/linux). 2. From the command line, run the following command: make uninstall 3. Open /boot/grub/menu.lst or /boot/grub/grub.conf and remove the noprobe entries from the boot entries. 4. Restore the initrd image to the original file. For example: To configure the Synthetic Storage Controller: cp /boot/initrd-2.6.16.60-0.54.5-smp.backup0 /boot/initrd-2.6.16.60-0.54.5-smp5. Reboot the virtual machine.
  17. 1. Watch grass grow 2. Watch paint dry 3. Watch water boil 4. Shop cloth with women 5. Be “do-it-yourself” dentist 6. Give yourself a bypass operation with an electrical bread knife (or plastic spoon) 7. Taking the term “fall and break a leg” seriously.. 8. Renovate house ?!?! 9. Stand in line in the supermarket 10. Parachute jumping.. without a parachute.. (irony or sarcasm might have been used here…) Whats your most interesting things todo ? //Leon
  18. If you are still struggling on how to insert PHP Codes inside particular blog post, page or a widget sidebar for execution - then the following tutorial is for you. 1. Download: phpexec.txt.zip 2. Unzip and rename phpexec.txt to phpexec.php from here below... 3. Upload to /wp-content/plugins/ directory 4. Activate the plug-in from Wordpress administration menu Usage Anywhere in your post/pages where you want to execute a PHP Codes, insert before your php codes and your php codes. <phpcode> <?php echo "Current date and time: "; echo date("l dS of F Y h:i:s A"); ?> </phpcode> Security If you are running a blog with multiple users, you need to determine who can run this plug-in. Alter the settings in your Administration Menu. Options -> PHPExec Executing PHP codes in WordPress widget sidebar Installation Download php-code-widget.2.1.zip from below. Rename execphp.txt to execphp.php Upload to /wp-content/plugins/ directory Activate the plug-in from WordPress administration menu WIDGET: php-code-widget.2.1 Usage This plug-in work like a normal text widget except that it allows execution of PHP Codes. You can create up to 9 instances of this widget.
  19. The Mac OSX Terminal can become slow to launch over time, but there’s an easy solution to speed it up again. By deleting the Apple System Logs, you can shave the lag in opening and launching new Terminal window/tabs dramatically, in my case from about a three second delay to instantaneous! Here’s how to delete the log files and gain your Terminal launch speed back: 1. Open Terminal 2. Type: sudo rm -rf /private/var/log/asl/*.asl 3. Hit ENTER, close the terminal and test again.. Wolla
  20. Ever wondered if you could get rid of the spaces animation ? - from 10.6.x you can.. To disable the animation, do the following: Open /Applications/Utilities/Terminal.app. Copy and paste the following into the terminal window and then press enter: defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES && killall Dock If you'd like to re-enable the animation, just do the following: Open Terminal and copy and paste the following into the terminal window and then press enter: defaults delete com.apple.dock workspaces-swoosh-animation-off && killall Dock Edit: Unfortunately, this only disables the "move directly to a space" animation that that is triggered by jumping to a space with a modifier-arrow key or modifier-number key or switching to a program in a different space. It does not disable the zoom-out/zoom-in animation for moving from spaces overview to a specific space. I use that method of transition fairly often, so it would be very nice if there was a switch for that one as well (or at least a way to speed up the animation).
  21. Hi, Today i needed to test the functionality of a webdav server. Check out this: http://www.webdav.org/neon/litmus/ To use: 1. Download 2. compile 3. Use Type this: # wget http://www.webdav.org/neon/litmus/litmus-0.12.1.tar.gz # tar -zxvf litmus-0.12.1.tar.gz # cd litmus-0.12.1 # ./configure # make # make install # litmus http:// Simple and fast //Leon
  22. Hi,I just bought a WANSER-R / R3210 / USB NAS Dongle.. cool little fucker I have been using the NAS Adapter for a few days now and I am quite impressed. I am using the unit with a 200GB Hitachi SATA drive in an USB 2.0 enclosure and the adapter recognizes and uses the hard drive flawlessly. Over SMB I get speeds around 8MB/sec when using Ethernet and around 2MB/sec over Wifi, which is in line with the expected speed for those networks. The NAS adapter runs smoothly even under heavy load (4 torrents, uploading to the HDD via wifi and streaming a video off the drive at he same time is no problem). The unit is entirely controlled via a web interface and can act both as a DHCP client or server. Both SMB and FTP allow multiple users and access levels.The build in bit torrent client is reasonably fast and can handle up to 4 downloads simultaneously. Performance is quite solid and the unit is capable to resume downloads after a reboot (even though the manual claims differently). Overall I am quite impressed with this small device and was curious to find out what’s ticking on the inside. Unfortunately, the casing had no visible way of opening it and I didn’t want to break the small device, so I did some Internet research. The hardest part was to find the latest firmware, but here it is: Version 1.54 (G5S5020300154E2 L:1.20E): G5S5020300154E0.zip Version 1.59b (G5S5020300159B0): G5S5020300159B0.zip version 1.66a (from http://ulc.sudhop.com/): R3282_1_66a_NAS903.zip Just unpack it and follow the readme….Enjoy!
  23. iCloud's 'Documents in the Cloud' doesn't let you do much except upload iWork files for use with iOS devices. To use those documents on another Mac, you have to download the file using the iCloud web interface. Poking around in the ~/Library folder, you can find a 'Mobile Documents' folder that is used for syncing iWork documents. But it turns out you are not limited to iWork files if you just want to sync between Macs (i.e. no iOS use). If you are using iCloud and have the 'Documents & Data' option selected in the preference pane, you can navigate to ~/Library/Mobile Documents. Depending on whether or not you've used iWork and synced documents to iCloud, you may or may not find folders there for each of the iWork applications (e.g. com~apple~numbers). This doesn't really matter. What is of use is that any files put into the ~/Library/Mobile Documents folder will automatically upload to iCloud and push to any other Mac you have that is signed in to the same iCloud account and has the 'Document & Data' iCloud preference checked. Lion even notifies you of version conflicts and allows you to resolve them when you open the document. While its not entirely like with mobileme - its one step in the right direction
  24. What Happened to the Mail I Sent? UPDATE: Thanx to Philippe Mathot there is now a even easier solution - simply use the application below. Head over to OSX Latitude to get it: https://osxlatitude.com/index.php?/topic/375-how-to-request-read-receipts-in-mac-os-x-mail/ Have you ever wondered what happened to a message you sent? Has a spam filter's ruthless rule befallen it, or did it never arrive? Was it read but forgotten? When you send an email in Mac OS X Mail, the message will be delivered to its recipient promptly — usually, but not always. To get some idea of your every email's fate, you can request read receipts. Typically, the recipient will be asked to confirm the message has been opened. While this is no guarantee the content has been read or even understood, such read receipts can still be useful to rule out some possibilities of failure and maybe quiet a wandering mind. Request Read Receipts in Mac OS X Mail To make Mac OS X Mail request a read receipt for every message you send: Open Terminal. Type "defaults read com.apple.mail UserHeaders". Press Enter. If that command returns "The domain/default pair of (com.apple.mail, UserHeaders) does not exist": Type defaults write com.apple.mail UserHeaders '{"Disposition-Notification-To" = "Name "; }' replacing Name with your name and email@address with your email address. The complete line could read "defaults write com.apple.mail UserHeaders '{"Disposition-Notification-To" = "Heinz Tschabitscher "; }'", for example. If the "defaults read" command above returns a line of values that starts with "{" and ends in "}": Highlight the entire line. It might read something like {Bcc = "[email protected]"; }, for example. Press Command-C. Type "defaults write com.apple.mail UserHeaders '" (excluding the outer quotation marks). Press Command-V. Type "'". Insert '"Disposition-Notification-To" = "Name "; ' in front of the closing "}" character, replacing Name with your name and email@address with your email address. The line might now read defaults write com.apple.mail UserHeaders '{Bcc = "[email protected]"; "Disposition-Notification-To" = "Heinz Tschabitscher "; }' , for example. Press Enter. Not Only Request but also Respect and Send Read Receipts Unfortunately, Mac OS X Mail does not respect read receipts. If you get an email requesting a read receipt, nothing special happens. Using some JavaScript and Mail rules, you can mimic some of the behavior and send simple receipts upon request. These do not fully conform to the standard and will not be interpreted as read receipts by the sender's email program. Of course, the plain language acknowledgment of receipt will still be useful. Disable Automatic Read Receipt Requests Again in Mac OS X Mail To turn requesting a read receipt for every message back off: Execute "defaults delete com.apple.mail UserHeaders" at Terminal command prompt to delete all custom headers or set UserHeaders back to what it was before you added "Disposition-Notification-To". Full Email Accountability and Control For full knowledge and control over the fate of the emails you send, you can employ a certified email service.
  25. You can use Debian on Hyper-V with 4 vCPU support. 1) Install a clean Debian 5.0.6 2) Do following: apt-get update aptitude update wget -c http://www.yusufozturk.info/linux/linux-image-2.6.36-hyperv-debian.x86_64.deb wget -c http://www.yusufozturk.info/linux/linux-headers-2.6.36-hyperv-debian.x86_64.deb apt-get install build-essential dpkg -i linux-image-2.6.36-hyperv-debian.x86_64.deb linux-headers-2.6.36-hyperv-debian.x86_64.deb echo -e "hv_vmbus\nhv_storvsc\nhv_blkvsc\nhv_netvsc" >> /etc/initramfs-tools/modules update-initramfs -u That’s it. Reboot your server with new kernel. Now you can use synthetic ethernet and 4 vCPU. Also integrated shutdown is available: You can use CPU stress tool for tests. UPDATE: For Debian 6 this kernel works: http://docs.homelinux.org/doku.php?id=using_linux_ic_with_debian_squeeze#using_hyper-v_linux_integration_components_with_debian_squeeze_64bit
×
×
  • Create New...