NFS Notes

Random NFS Notes

OS X: mount like any other share: mount server:/some/dir /dir

If needed, add "insecure" to server's /etc/exports:

mac:/media root# mount -v server:/home/media /media
mount_nfs: /media: Operation not permitted

After adding "insecure" to server's /etc/exports and running exportfs -ra

mac:/media root# mount -v server:/home/media /media
server:/home/media on /media

Linux: Verify exports with

[root@linux]# rpcinfo -p (and check for mountd, portmapper, nfs in the list)
[root@linux]# exportfs -ra
[root@linux]# exportfs
/home/media     192.168.0.2
[root@linux]# cat /etc/exports
/home/media 192.168.0.2(rw,sync,insecure)

OS X - query a server for NFS exports - here 0.3 is the NFS client..

mac:~ $ showmount -e 192.168.0.2
Exports list on 192.168.0.2:
/home/media                        192.168.0.3 

Subnetting Quiz

This will be a quiz on subnetting, a follow-up to the post Do subnet math in your head
Short quiz - how well CAN U do subnet math in your head??
Take the quiz and find out!

Mount samba share on OS X Tiger

OS X Tiger - mounting shares...

mac:~ gregg$ mount -t smbfs //gregg@172.19.0.10/media `pwd`/roam 
mount_smbfs: mount error: /Users/gregg/roam: syserr = Resource busy

.. Its sort of busy - needs the password

mac:~ gregg$ mount -t smbfs //gregg:PassWoRD@172.19.0.10/media `pwd`/roam
mac:~/roam gregg$ ls
Music                   Software          VM          lost+found
   .. and so on                               

Stricter anti-spam controls and virus checking

I received an email last week on this server - mind you I am the admin on it - with a flippin virus inside a zip file. I was insulted, and my evening plans were unfortunately set.

As of late there have been more stories of spyware on Windows PC's, people losing thousands of dollars and I often go off about (in)security and how its good to be paranoid, but certainly users are sometimes to blame. I don't use torrent clients or P2P anything - don't trust it, plus I prefer to respect copyright law - and it restricts the flow of media distraction pretty well. youtube, somafm fill in the gaps.

So rant aside, here I am contributing to the problem - I did not 6 months or 2 years ago, but something broke - and that took it out.. In this case, the antivirus scanner was broke, so emails - infected and all - were being accepted. So after some hours of serious wrangling, I got the email server "roped in" and made some changes while at it - and I am happy with the results.

So, the summary is..

  • All email that is being received OR sent by this server gets virus scanned.
  • If you use this server for outgoing email, it will be scanned for virus's as its being accepted, and rejected if a virus is found - you'll most likely have a pop-up saying "virus has been found...."
  • Incoming email - things that are spammy - I set it pretty high - go to a folder called "spam" - note the lowercase "s". In Thunderbird you'll have to subscribe to this - right click on inbox and will see "subscribe". Click and a new box will open, check the "spam" entry and save.
  • Added in some more checks to lower spam (where is the eliminate option??). Its easy to filter out 98% - but those last 1-2% the work to correctly filter goes up exponentially.
  • If you encounter unhappiness with this setup, please let me know - gregg [aht) mochabomb {daht} _com=

dbstats

This is a general annoucement of some code I am working on called dbstats ( I also got the domain dbstats.com for this project ).
Perl is used to gather, parse and database the server stats and then use php + open flash charts to plot data.
I am cleaning up the code for work done so far, will post it the next couple weeks.
See it in action here..

Web Design + Hosting

Shared Hosting: Shared hosting - this is my rented VPS server - but I back it up often and watch it. Also, there are just a few folks on this - I know them all one way or another. Most folks use 0.1 - 3GB - if you need more space, just host the images remotely and use some mod-rewrites to handle the requests just like the big-boys do.

Also, I tweaked the PHP to better handle Drupal and VTiger sites (more memory + much longer PHP execution time allowed) = no more crashed VTiger installs..

If you really want hosting and REALLY want it on my small rented VPS, sure. That means you probably know me so email or call or via the contact form.

Syndicate content