Miralinux Blog

  • Home
  • Linux
    • Scripts
    • CentOS
  • Apple
  • Microsoft
    • Features
    • Office
    • Windows
  • Learning
  • Games
  • Multimedia
    • XBMC
  • Other
    • About WordPress
  • Links
    • General
    • Software
      • Autocad
    • Hardware
      • BIOS
    • Linux
    • WiKieS

Monthly Archives: July 2012

Hardware review – OCZ Vertex 3/4

Posted on 2012/07/25 by arno Posted in Uncategorized Leave a comment

OCZ Vertex 4 sata-iii 2.5″ SSD | support forum | download fw

OCZ Vertex 3 sata-iii 2.5″ SSD | support forum | download fw

Reviews

http://www.guru3d.com/article/ocz-vertex-4-ssd-review/
http://www.anandtech.com/show/5719/ocz-vertex-4-review-256gb-512gb/

http://www.hardwarecanucks.com/forum/hardware-canucks-reviews/52963-ocz-vertex-4-512gb-ssd-review.html
http://hexus.net/tech/reviews/storage/37357-ocz-vertex-4-ssd-256gb-512gb/

Tweaks

Agility 3 Stutter fix
Intel-Enterprise-drivers-seem-to-solve-Vertex-3-BSOD

OCZ – Windows 7 Ultimate Tweaks & Utilities

 

Apple OSX my experiances

Posted on 2012/07/19 by arno Posted in Apple, Mac OSX, Uncategorized

Mac mini

2011 Mac Mini Hard Drive Upgrade Video

Ervaringen met OS X 10.7.4 – 10.8.4

Hier mijn ervaringen met OS X 10.7.4 op een Mac mini (mid 2011) i5-2.5Ghz

(Mac mini Server specificaties)
De omschakeling van Windows naar OS X is behoorlijk wennen, maar wel de moeite waard 🙂
Ik heb vaak de momenten van dat het toch ook soms zo voor de hand liggend is en dat het gewoon werkt.
Snelheid van deze mac mini is wat moeilijk in te schatten vanwege dat het te kort hiervoor mee gewerkt heb.
Wel is het zo dat deze soms een “rechter muis knop” een seconde duurt voordat het menu naar voren komt.
Bij de aankoop (2011) van de Mac mini stond OS X 10.7.x Lion, nu (juli 2012) staat OS X 10.8.x Mountain Lion op het moment van uitkomen.
In deze versie zijn er een aantal (200+) veranderingen,
met name de “cloud” functies wat je documenten op internet centraal opslaat en toegankelijk maakt vanaf de meeste apple apparaten

Toetsenbord layout

– Nederlands / VS-Internationaal
Hierbij is de vraag hoe je toetsenbord gewend bent, zelf heb ik al sinds 1983 een VS-Internationale indeling, hiervan wil ik ook niet meer afwijken.
het is aan te raden om ook je windows machines waar je veel op werkt ook te voorzien van een apple keyboard om er sneller aan te kunnen wennen.

Standaard wordt overal een Nederlandse indeling gebruikt en verkocht, meestal hebben ze geen vs-internationaale indeling.
Het verschil zit hem in de  <enter>, <back-slash>, <insert>, <delete> en Numerieke blok.
Normaal toetsenbord met numeriek blok hiervan komt de indeling overeen met een PC Toetsenbord,
dit vindt ik zelf prettiger werken dan een Bluetooth keyboard.
De layout van een Bluetooth keyboard komt overeen met de MacBooks (laptops) van Apple.

Werkgeheugen

Standaard word de mac met een relatief lage hoeveelheid geheugen (4Gb) geleverd, uitbreiden hiervan kost bij Apple aanzienlijk ( extra 4Gb = € 100).
Zelf heb ik een upgrade naar 8Gb (Kingston geheugen) vrijwel direct uitgevoerd.
Dit was het aangegeven maximum door Apple, uit MacTracker (zie software)
staat dat 16Gb ook mogelijk is, ook specificaties van Intel Processor geeft dit aan.
Vandaag heb ik een upgrade besteld naar totaal 16Gb besteld bij mycom.nl voor €91 inc.BTW
Het geheugen dat in gebruik is met een aantal applicaties open is bij mij 5Gb, zelf heb ik het vermoeden dat het geheugen vrij snel vol loopt.

Harddisk

Standaard zit er één harddisk in de mac mini, er is plek voor twee, een ander type kabeltje is verkrijgbaar.
Hiermee kunnen er twee SATA600 harddisks worden aangesloten (bijv. een SSD)
Deze is verkrijgbaar bij Visual Information Services (UK), de store heet AppleMacParts
Deze upgrade zal het systeem zeer snel maken vanwege dat SSD de SATA600 poort volledig benut. Nadeel is dat dit vrij prijzig is.
Bij het installeren van software valt op dat je de installatie lokatie ook op een ander volume (schijf) kan installeren
wat de noodzaak om een grote SSD (+480Gb) niet noodzakelijk maakt.

Software

Ervaringen met software die niet door mac is gemaakt is dat de standaard invoer wijze soms niet hetzelfde is.
Tip. Promo’s van MacUpdate – http://www.mupromo.com (bij hun heb ik een 10 software pakketen waaronder KeyQue en Parallels gekocht)
KeyQue, snel én eenvoudig weergeven van globale en programma snelkoppelingen.
TimeMachineEditor, als je een back-up systeem TimeCapsule in je netwerk hebt zitten dan kan je hiermee de interval tijd aanpassen.
Flux, pas de kleur temperatuur aan van het scherm, aan de hand van de tijd van de dag. Wat het beeld rustiger maakt.
Carbon copy cloner, Om OS X systeem te klonen naar een andere harddisk.
MacTracker, Apple apparaten specificaties, alles in één programma.

Apple:

iTunes, Werkt nog even sloom als we gewend zijn.
Update: v11.0 is stukken verbeterd maar ook een grote verandering in het interface.
De sidebar is terug te halen met <alt>-<command>-“S”
Mail, werkt fijn is zeer basic, als je Microsoft Outlook gewend ben zal je het een beetje missen.

Virtualisatie (Machines)

Windows, Linux of andere besturingen systemen draaien op een Apple OS X.
Voor zover heb ik VMware en Parallels geprobeerd, wat mij direct opviel is dat de bediening van de software.
Bij Parallels veel meer mac gericht is én ook een betere ondersteuning heeft van het aansturen van de grafische presentatie.
Over het algemeen werkt het niet super soepel, maar het is wel werkbaar om specifieke windows software te kunnen gebruiken.
Tot nu toe heb ik het nog niet uitvoerig gebruikt en kan hierdoor er ook nog niet veel over vertellen.
Tweaks – Hints
Disable dashboard (source)
$ defaults write com.apple.dashboard mcx-disabled -boolean Yes
$ killall Dock
Parallels – turn of Ads (source)
$ defaults write com.parallels.Parallels\ Desktop ProductPromo.ForcePromoOff -bool YES
Where does $LANG variable gets set in Mac OS X? (http://apple.stackexchange.com)
[ Terminal > Preferences > Settings > [profile] > Advanced ] Set locale environment variables on startup
Then the locale will default to “C” with no language specified, and most programs will then default to English.

Hide any program’s dock icon (source)

sudo chmod 464 /Applications/System Preferences.app/Contents/Info.plist
edit or add KEY "NSUIElement" and change STRING variable to "1".
<key>NSUIElement</key>
<string>1</string>

Software

Linux

TimeMachine, Onder linux kan je deze “emuleren” met “netatalk” service.
FileServer, http://joserocks.com/2012/10/how-to-set-up-centos-6-as-a-replacement-os-x-file-server/ (link downstairs)
AirVideoServer, (java) een centraal video streaming service, op ipad/iphones met app “Air Video” kan je dan kijken.
AirPrintServer, (linux) Link 1, Link 2

OS X

TimeMachineEditor, RHEL/CentOS/SLS6 software for Mac OS X Leopard, Snow Leopard and Lion that lets you change the default one-hour backup interval of Time Machine.

Lion Diskmaker, Mac OS X 10.6, 10.7 and OS X 10.8 to burn a DVD or build a bootable drive.

Reminders, Making the Most of Reminders and Notes in OS X Mountain Lion

File Server, Howto CentOS 6 As a replacement osx file-server

Windows

MagicMouse utility

Links

Apple Software Volume Licensing
Apple OS X keyboard shortcuts and characters
http://hints.macworld.com

References

How to Set Up CentOS 6 as a Replacement OS X File Server

source: http://joserocks.com/2012/10/how-to-set-up-centos-6-as-a-replacement-os-x-file-server/

So, Apple has abandoned the XServe.  There is not 1U product that is available that Apple is making to take its place.  Yeah, I don’t get it either, but whatever.  Apple obviously knows what they are doing at this point.  After failing to convince our network guys to take up precious space in the server room with a Mac Pro tower, I was told that we will be replacing our Mac OS X file servers with 1U Dell servers running Red Hat Linux.  Ok, it’s been a while since I have used Red Hat servers (I’ve used Ubuntu in the recent past) however, I decided that it couldn’t be that much different.  Trouble is, I couldn’t find a straight-forward how-to about setting this up on Red Hat (or CentOS…this is what I used to ensure this was going to work.  Since CentOS is the free implementation of Red Hat, I will refer to it for the remainder of this article).  I wanted to use the AFP (Apple File Protocol)  implementation on CentOS, so I won’t have to change scripts, server connections, and backup programs on all of our Mac clients just to satisfy a new server setup.  Below are the steps I used to achieve this.  My hope is that other people who want to do this same thing, will not have to cobble together information from different sources to do this, and that this article will help them.  This article will take you through the entire process, from server OS install to AFP/Bonjour  configuration.   If you don’t care about server set up, and just need the good stuff, skip to step 11 below.

****WARNING****

This is only meant to be a BASIC GUIDE to set up a CentOS or Red Hat Linux server to replace a Mac OS X file server.  There are some huge security issues not addressed in this guide.  Please use common sense and do your research before you roll this out in an important environment.  This guide ONLY addresses the basics of how to setup a Linux server that caters to the AFP protocol and Macs connecting to it natively.

****End of Warning****

Alright, crack the knuckles.  Let’s get started.

These instructions are tested and verified for CentOS Linux Server edition 6. May work on other Linux distros.

1.) The first step is to visit CentOS.org and download the CentOS 6.  I went with the minimal edition.

http://mirror.mojohost.com/centos/6/isos/

Pick your platform (32-bit or 64-bit) and download the ISO.  Burn the ISO to a CD (not covered in this tutorial, but this information can be easily found via Google or whatever search engine you prefer).

2.) Install CentOS minimal install with CD.

Follow all of the prompts.  For the purposes of this tutorial, I did not install any additional services during the install.

3.) OK, after the install, the network card must be enabled.  They aren’t kidding when they call this a minimal install!

  • navigate to /etc/sysconfig/network-scripts/
  • vi ifcfg-eth0    ## your network card may be called something else.  Most defaults will be eth0.
  • Change ONBOOT=”no” to ONBOOT=”yes” save changes and exit
  • ifconfig eth0 up
  • service network restart  ## just to make sure your network daemon restarts your eth0 connection.

4.) Alright, now to install some basics

  • Install the following with yum (yum install xxxx)
  • wget
  • sudo
  • nano
  • ntp
  • gcc
  • make
  • perl
  • kernel-headers
  • system-config-network-tui

5.) It’s probably a good idea to create a non-root user.  Ubuntu has spoiled me so, I am used to sudoing all of my root commands.  This way, I (usually) never accidentally do anything that I don’t mean to do as root:

  • useradd monkeyman
  • passwrd monkeyman

6.) Ok, now you need to add your new user to the sudoers file:

  • visudo (the /etc/sudoers file must be edited with visudo command)
  • Add the following line to the bottom of the file:
  • monkeyman ALL=(ALL) ALL

A quick break down of the above line is as follows:

monkeyman : name of user to be allowed to use sudo
ALL : Allow sudo access from any host/IP address
(ALL) : Allow sudo command to be executed as any user.
ALL : Allow all commands to be executed

Groups and domain users can be added as well.  For example:

single domain users:

DOMAIN_NAME\\monkeyuser ALL=(ALL) ALL   ## where “DOMAIN_NAME” is your domain name and “monkeyuser” is the name of a user on your domain.

or a group:

%DOMAIN_NAME\\monkeytribe ALL=(ALL) ALL  ## where “monkeytribe” is the name of a group of users on your Active Directory domain.

note the % sign must be present for group designations.

Got that?  Good.  I hope that is clear enough.  I remember trying to figure some of that out for hours the first time I tried to set it up.
7.) Save the file and exit the editor.

8.) Disable SELinux:

  • SELinux is the extra security layer that is utilized by CentOS.  It is really well implemented however, Like-Wise Open will not install with this enabled.  So it’s got to go.
  • sudo nano /etc/selinux/config
  • set the “SELINUX” status line to disabled.  SELINUX=disabled
  • reboot    ## I know, you should be able to just restart a service.  However, SELinux tells you to reboot after turning it off.  As a side note, you could set this setting to “permissive” however, you will get a lot of weird messages when you do certain things.  These messages are only informative, but screw it, they annoy me.  So, I just turn it off.  Security admins, you can start screaming.   I don’t care.  This is just a “brief” how-to, remember?

9.) Once you get rebooted, it’s time to install like-wise open (now called pbis-open), so we can get this bad boy on our domain:

  • Look, freaking go to http://www.powerbrokeropen.org/, register and legally get their software.  It’s free, and all you have to give them is a first name, last name, and your email address.  However, for the sake, and out of pity, for those *nix admins that might be reading this at 2 am, who just want to go home, go to sleep, and let their tired, broken hands rest for a few hours, here is the link to get the software:
  • wget http://download.beyondtrust.com/PBISO/7.0.4/918/pbis-open-7.0.4.918.linux.x86.rpm.sh
  • (this is the current path as of the writing of this article, and may change in the future. Check http://www.powerbrokeropen.org for more information)
  • sudo chmod a+x (pbis-open file name)     ## got to get this thing in a state that we can execute it.
  • sudo ./(pbis-open file name)     ## and now we install it.
  • reboot    ## just do it, OK!  If you want to restart every service that needs restarting, do it and stop complaining!

10.) Ok, once we have PBIS-Open installed, it’s time to join our server to the domain

  • sudo domainjoin-cli join DOMAIN_NAME monkeyuser     ## where DOMAIN_NAME is your domain name, and monkeyuser is a user on your domain with admin rights to add machines to your domain.
  • success message should appear

11.) Alright, at this point, we should be added to the domain, and have a basic server platform to get what we need done.  Now comes the main part of this article.  Download and install netatalk and avahi (the AFP and Bonjour pieces needed for Macs to see AFP shares on Linux):

  • Enable EPEL (Extra Packages for Enterprise Linux)
  • (again as current of this writing: sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm)  ## this will add EPEL to your yum repository.
  • sudo yum install netatalk     ## this will create the AFP fileserver on your linux server
  • sudo yum install avahi.i686  ## this is essentially the open source version of ZeroConf, better known in the Apple world as Bonjour.
  • sudo nano /etc/netatalk/afpd.conf
  • Uncomment and add this to the bottom of the file:
  • – -tcp -noddp -uamlist uams_dhx.so,uams_dhx2_passwd.so -nosavepassword -setuplog “default log_info /var/log/afpd.log”

12.) Time to define your AFP shares:

  • sudo nano /etc/netatalk/AppleVolumes.default
  • Scroll to the bottom and add the share location:
  • In this case, the share is a folder called “Storage” that was created in “/opt/Storage)

# End of File

/opt/Storage “Storage” cnidscheme:dbd

13.) Make services start at boot time.   Netatalk and avahi-daemon will need to be configured to start at boot. Do this with chkconfig:

  • sudo chkconfig netatalk on
  • sudo chkconfig avahi-daemon on
  • reboot

Mac computers should now see a share on the Linux server that it thinks is a natural AFP share, called “Storage”. Be aware that you may have to modify the permissions to your share (in this case “/opt/Storage”) so that users can read and write to it.  In this tutorial, there is no firewall on the server.  However, your sever probably will be using one.  Make sure TCP port 548 is open so Mac clients can see the shares and authenticate correctly.  One more side note, I read somewhere that a space in your AFP share declaration (“Storage Sever” as opposed to “StorageServer” or just plain “Storage”) may cause some strange things with your Mac clients not being able to connect to your AFP share.  I did not experience this, but just something to check if you run into issues.

And that, is just about it. Again, this is just a bare-bones how-to, but hopefully it will get some of you guys and gals where you need to be.  I would not have been able to do this without some how-tos and resources.  I ‘d like to thank the people below for the information that they originally posted, and helped me to cobble enough information to do this on CentOS 6.

Jose would like to thank:

Barry Price:
http://www.barryprice.co.uk/2012/05/04/apple-file-server-on-ubuntu-12-dot-04/

Did this with Ubuntu and gave me an idea where to start for CentOS 6

rathelm:
http://rathelm.wordpress.com/2012/02/03/cent-os6-2-and-netatalk-2-2-0/

pointed me in the right direction for the EPEL packages for CentOS 6

Beyondtrust.com and the people that originally developed Like-Wise Open (now PBIS Open)
http://www.powerbrokeropen.org/

Chris Colotti
http://www.chriscolotti.us/technology/how-to-get-started-with-centos-minimal/

Gave me some direction on getting basic services needed for CentOS.  There is seriously almost nothing on the minimal install!

Happy Installing (and maintaining, and updating, and tweaking, and optimizing, and recovering…)!

Support – Disktools Western Digital

Posted on 2012/07/16 by arno Posted in Uncategorized Leave a comment

Mobile harddisk power adapters

Disk Tools

http://www.osforensics.com/tools/mount-disk-images.html

Protected: Hardware T bak

Posted on 2012/07/15 by arno Posted in Uncategorized

This content is password protected. To view it please enter your password below:

Links – AutoCAD

Posted on 2012/07/02 by arno Posted in Learning, Links Leave a comment

 

http://www.we-r-here.com/cad/tutorials/index.htm

 

iPhone paths

Posted on 2012/07/01 by arno Posted in Apple

Call history database – /var/mobile/Libary/CallHistory/call_history.db
SMS history – /private/var/mobile/Library/SMS

Synced folders:
Notes – /private/var/mobile/Library/Notes
Favorites – /?

Synced Folders/Exchange:
Calender – /private/var/mobile/Library/Calendar
Contacts – /private/var/mobile/Library/AddressBook
Mail – /?

* This is where you’ll find Contacts, Notes and Calls:
“private/var/mobile/Library”
* This is where you’ll find your captured photos of the Camera Roll:
“private/var/mobile/Media/DCIM/100APPLE”
* This is where you’ll find your Memos:
“private/var/mobile/Media/Recordings”
* This is where you’ll find the Backups of the Mobile Substrate files:
“Library/MobileSubstrate”
* This is where you’ll find your Cydia’s Sources:
“private/etc/apr/sources.list.d” Or “var/lib/apt/lists”
* This is where you’ll find your Cydia’s Applications:
“private/var/stash/Applications/xxxx”
* This is where you’ll find your AppStore’s Applications:
“private/var/mobile/Applications/xxxx/” (Use Applinks to decrypt the names of the Folders)
* This is where you’ll find your Winterboard Themes:
“private/var/stash/Themes/xxxxx”
* This is where you’ll find your Ringtones:
“private/var/stash/Ringtones/xxxx”
* This is where you’ll find Files related to the system’s sounds:
“System/library/Audio/UISounds”
* This is where you’ll find your SBSetting’s Themes:
“private/var/mobile/Library/SBSettings/Themes”
* This is where you’ll find your videos captured using Cycorder:
“var/mobile/Media/videos”
* This is where you’ll find your videos captured using iPhone Video Recorder:
“var/mobile/Media/iphonevideorecorder3g”
* This is where you’ll find your videos downloaded using MxTube:
“var/mobile/Media/mxtube”
* This is where you’ll find files related to your Contacts:
“/var/Mobile/Library/AdressBook”
* This is where you’ll find files related to the Calendar:
“/var/Mobile/Library/Calendar”
* This is where you’ll find files related to the Notes:
“/var/Mobile/Library/Notes”
* This is where you’ll find files related to the bookmarks of Safari:
“/var/Mobile/Library/Safari/Bookmarks”
* This is where you’ll find files related to the Mail:
“/var/Mobile/Library/Mail”
* This is where you’ll find files related on the Call History:
“/var/Mobile/Library/CallHistory”
* This is where you’ll find files related on the SMS:
“private/var/mobile/Library/SMS”
* This is where you’ll find the files downloaded using MewSeek:
“/var/mobile/Media/MewSeek/Downloads”
* This is where you’ll find your videos captured using DisplayRecorder:
“private/var/mobile/Library/KeyBoard/DisplayRecorder”
* This is where you’ll find your messages of BiteSMS:
“/private/var/mobile/Library/BiteSMS/BiteSMS.db”
* This is where you’ll your favorites of the Maps.app:
“/private/var/mobile/Library/Maps/Bookmarks.plist”

sources: http://us.hackyouriphone.org/interesting-paths-for-ifile-and-ssh.html

Apple

Microsoft WSUS Service

Posted on 2012/07/01 by arno Posted in Microsoft

Configure Clients in a Non–Active Directory Environment

http://forums.overclockers.co.uk/showthread.php?t=18250825

http://www.sevenforums.com/windows-updates-activation/63158-configuring-windows-7-home-premium-wsus-updates.html

Manage WSUS 3.0 SP2 Storage

Troubleshooting WSUS

Move Database

Posted on 2012/07/01 by arno Posted in Microsoft

http://social.msdn.microsoft.com/Forums/en-US/sqlgetstarted/thread/5c0e5ba5-1e1a-4c38-ac92-3e5c50ac6c7b/

Outlook 2010 Templates and reports

Posted on 2012/07/01 by arno Posted in Microsoft, Office

Outlook howto – http://www.howto-outlook.com/howto/messagetemplates.htm

Download the Policy Templates

The Policy Templates and documentation are included in the Office Resource Kit. Use the links below to download the Resource Kit for your Outlook version.

  • Outlook 2000 ORK
  • Outlook 2002/XP ORK
  • Outlook 2003 ORK
  • Office 2007 Policy Templates
  • Office 2010 Policy Templates

Windows XP/2003 location – C:\Windows\inf Windows 7/2008 location – C:\Windows\PolicyDefinitions

Reports

Creating a Simple Time-Reporting Tool Based on the Outlook 2010 Calendar

http://msdn.microsoft.com/en-us/library/hh144973(v=office.14).aspx

http://www.howto-outlook.com/howto/timespent.htm

[billing information] field – http://www.pcreview.co.uk/forums/billing-information-field-t3995746.html

http://www.gregthatcher.com/Scripts/VBA/Outlook/GetEmailInfo.aspx

http://office.microsoft.com/en-us/outlook-help/track-billable-hours-by-using-outlook-HA001226396.aspx

http://msdn.microsoft.com/en-us/library/ee692173(v=office.14).aspx

 

 

Hardening website

Posted on 2012/07/01 by arno Posted in Uncategorized Leave a comment

Hardening website

http://stackoverflow.com/questions/593922/ip-restriction-with-htaccess

http://perishablepress.com/stupid-htaccess-tricks/

  • Login
  • Mother of all Portals
  • .Handy .Handig
  • Links – wikis – wikies

Archives

  • June 2022
  • October 2021
  • June 2021
  • September 2016
  • April 2016
  • March 2016
  • November 2014
  • September 2014
  • August 2014
  • July 2014
  • April 2014
  • March 2014
  • November 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • February 2013
  • December 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
CyberChimps ©2025