Integrating ASP app – Users and more users, more permissions and 401s

When you integrate a site onto its final server – things with windows get hairy. Here are some notes to get out of trouble

  • seeing a 401 for anonymous user? Are your permissions for IUSR set to read, write, execute (ref)? This is for anonymous user. For a dynamic user, then you have to add permissions for NetworkService (see small note in this reference) (6.1 – or see this article for 7.5). For this, I had an account called (built in account: ApplicationPoolIdentity – this not correct – I will keep digging)
    • you might also require the group IIS_IUSRS to have read, write, execute. It depends on your version of IIS (see this link – this is succinct)
    • ensure BOTH the user accessing the page and the AppPoolIdentity user BOTH have NTFS permissions set to the directory and subsequent web pages (reference) Continue reading
Share Button

Configure Access to SourceTree to Gitorious Source Control


  • SourceTree is a visual client to a git-style source control repository for Windows (in this example) and Mac-OS-X.
  • Gitorious is a wiki/git-style web based file browser and repo setup system like github – except YOU run it.  It is delivered as standalone computer (Virtual Machine) that hosts a git server and wiki all in one. The wiki is integrated into the project. My good buddy at Geek Inc. delivered this all on a 4GB stick which had a VMWare AND a VirtualBox version of it and then he and pointed me in the right direction. Thanks Ben.
  • IMPORTANT – EVERYONE ELSE CAN VIEW PROJECTS PUBLICLY WITHOUT WRITE ACCESS (awesome!) – meaning they don’t have to know git – just send them links to the relevant directories or files AS A WEB LINK – they don’t have control over your files since the files are stored on the Virtual Machine’s internal directory structure. They can make their own accounts – but the admin determines who is on what team for write to the repository. THAT WAS THE GOAL
  • Ideally there Continue reading
Share Button

Setting up a CentOS 6.3 linux box as a RAID networked attached storage unit

One customer has been set up with Paragon backup software for a Windows 2008 SBS installation. Whis is frustrating about SBS is that the Server Backup tool taunts you to use it but MS states that it is not meant to be used on anything except R2 2008. It was a nightmare but we did get it running on a 2008 Enterprise installation after fixing the VSS shadow copy service. That took 5 hours of time – luckily it was for a friend and they did not pay for it.

OK back to a wonderful tool called Paragon which does work and restoration of files is MILES easier than restoration using Symantec’s Backup Exec. It too works – but it is a huge hassle to understand. The home edition works too but not necessarily for a server installation.

We set up a CentOS 6.3 box (I say we because it was a good friend of mine who taught me what he was doing). I have set up DOS partitions long ago and this is similar just super involved on Linux. Here is what we did

Made a RAID of 2 x 3TB drives partitioned to have 1 boot partition,1 temp/log partition 1 swap partition, 1 OS partition and another one for the /home. In short, the theory is that if the logs filled up a partition the whole box would not come crashing down. Most partitions were set up with RAID to mirror each other in  case of drive failure. Cent OS 6.x was needed for these larger drives – and CentOS 5.x failed miserably.

We took off all unnecessary tools and then I added VNC setup which is a whole article unto itself, smb which is still not working despite both of us working on it – one hint is that Selunix fights smb and there is a setting that you have to apply to get the home directories to be sharable. See Dan’s article here and look for the word selinux in the smb.conf file – sure enough it tells you why it is will not work without proper setup right in there. We are still working on why things mounted one day fine and not the next day. Mac or PC cannot connect via smb.

Netatalk was setup (Appletalk) so Macs could put their time machine backups on the large partition. See this article for Netatalk and this one for TimeMachine on a NAS.

Share Button

How to setup Netatalk or Appletalk on a CentOS 6.3 linux machine

I cannot take to much credit except a link. Do what this guys says and it .  . . works.

Then all your macs can backup to time machine. Don’t forget to set up a sparse bundle with a fixed size, else it will engulf the whole hard drive choking others out.

I use this in concert with setting up Time Machine to see a network drive instead of a local drive.

Share Button