Archive for the Category » backup «

Sunday, August 04th, 2013 | Author:

Historia

Quoniam multa mutasset ultimus meum personalis amet – insilit et crevit numerus non (nunc habet 7TB md RAID6) et rursum aedificabitur nuper Ubuntu Servo.

Fornicem numquam fuit Errat. Fornicem Linux iam docuit me tantum de Linux (et cetera quidem lorem semper). Arcus autem operam et tempus turpis eget quam lobortis volo manere in. Aequitas oblivisci posse potius quod Curabitur lobortis Fusce dicitur in memoria donec “um … Vestibulum at orci ut est turpis, Buddy.”

Spatium non sit liberum – et nec spatium

Et migrare ad tempus exierat de eo, quod est Decuria DIABOLUS portuum, ferreus agitet coniungere portus ceteris amet ipsum – quod uses apparatus multus 7TB Incursio portuum! Ego quoque mihi datum ipsum vetus 200GB ferreus orbis quod sustulit unus ex illis portubus. Et ego quæ admonuit recipientis orbis scriptor LUCULENTUS Cras erat indicatum INCERTUS. Sicut temporariam workaround ad defectum DIABOLUS portus, Ego iam migrasse de saeculo scriptor USB OS ad statuto de lignis quatuor in md RAID1. Rabidus. Scio. Non gaudet etiam cursu. Sumo a novus ire foras ire certum est ferreus coegi ipsum et sem DIABOLUS.

Ministri prima partitio, Arch of orbis loquebatur de 7GB. Magnam erat FRUSTUM RES file, E conditorio notitia et alias necessarias vel insedit files. Altiore actualis moli OS, possidet /domi folder, erat solum circa 2GB. Hoc promptus me ad respice in super-ieiunium SSD agitare, fortasse cogitare non possem esse tam carus minor. Evenit, quod vilissimum non SSD coegi reperire potui actu impendio plus minus quam ex iis SSDs. Yay mihi. 🙂

Electio? Woah?!

In eligendo OS, Arch iudicatum non esset vellem. Reliqua populus de distributionibus, Im 'plurimus familiar et Ubuntu CentOS. Fedora Erat etiam possibilitatem – Vestibulum nec dolor sed tamen in rebus. Ubuntu vicit rotundum.

Altera sententia mea non mihi occurrit nisi ut Ubiquitas (Ubuntu scriptor installation veneficus) interrogavit, a me: Quam ad erigendum partitions.

Ego nova usura SSDs in Linux – Im 'ignorat foveisque de non usura iisdem recte, plerumque debetur periculo suo se facere pauperum Vivacitas si illudebantque.

Ego non volo utor deditoque PERMUTO partition. EGO intentio in upgrading moderatro scriptor motherboard / CPU / memoriae non longe nimis in futuro. Substructio in hanc decerno ponam PERMUTO in PERMUTO file in existente md INCURSIO. Sed non solum ad VERTO praesertim ieiunium erit recordatio rarum est errare quando amet Aliquid.

Quod igitur reliquum est, ut tibi Radix semita plenum ex 60GB Intel 330 SSD. Contemplatus sum separans / home sed is iustus videbatur paulo pointless, data quam parum dicebatur in praeteritum. Ego primum statuerent apud partitione LVM – Ive 'nuper aliquid facere quotiens Suscitavit Linux buxum (realiter, illic 'non uti excusationem non LVM). Cum got ad partem qua velim configurare trahitur, Ego clicked occumbo-down atque insitum, selecti ext4. Tum ego Animadvertistine, btrfs in eodem list. DEPENDEO!!

Sed quid?

Btrfs (“butyrum-EFf-ess”, “melius EFf-ess”, “apis arbore-EFf-ess”, credo quidquid die vel) est relative novum trahitur in Encyclica ut educant Linux’ trahitur capabilities retro in track cum current trahitur tech. Existens Rex-of-the-Hill trahitur, “eros” (current version vocavit ext4) est pulchellus bonum – sed limitatur, haesit vetus paradigma (cogitare amet Raptor F22 nos. an F4 Fantasma cum dimidia parte temptato illudebat equivalency an upgrade) et probabile est posse diutius certare cum recentior ut Enterprise filesystems Oraculum ZFS scriptor. Adhuc longius ire Btrfs haberi adhuc nibh (pendentes, qui quaeris et quid features vos postulo). Plerique existiment eam esse stabulum basic usum – sed nemo est iens facere aliquam praestitis cautionibus. Et, utique, sulum est dicens ad facere, et periclitandae tergum!

Mooooooo

Maxime fundamentalis differentia inter eros et btrfs est quod btrfs est “VACCA” aut “Effingo in Scribe” trahitur. Per haec intelligitur quod notitia est actu numquam deliberate overwritten a trahitur interna. Si vos scribere, mutatio a lima, btrfs Scribam tuum in physica mutationes ad novum situm media et update interno indicibusque referri ad novum locum. Btrfs it gradum ulterius in quod illi interno indicibusque (relatum ut ut metadata) sunt etiam VACCA. Older versions of eros haberet simpliciter overwritten notitia. Ext4 esset utor a Journal ad invigilandum, ut corruptionem non fiet si AC plug esse yanked nunc quoque alienissimo momento. Ephemeride praecessi in, totidem of steps requiritur ut update notitia. Cum SSD, subjectam hardware operetur similia quacumque vacce processus trahitur es usura. Hoc est, quia SSD inclinationes non actu overwrite notitia – habent ut effingo notitia (cum modificationibus) ad novum locum, et tunc vetera scandalum penitus delere. An in hoc ipsum area an SSD est quod ne quidem scandalum veteres abolere, sed tantummodo a note ad delens in scandalum sequenti tempore, cum non ita sunt occupatus. Quo fit, ut finis SSD agitet aptum bene vaccam trahitur, et non faciunt tam apud non-bos filesystems.

Ad hoc interesting, Uaccam trahitur facile it manus in manu cum pluma accersitus deduplication. Is sino duo (vel plures) identificantur, caudices notitia ut exsisto repono usura tantum uno copy, salvares spatium. Cum excrementis bovis, si deduplicated file modificatum, separatum geminos non erit affectus, sicut temperate file scriptor data fuerit scripta ad diversum physica obstructionum.

VACCA in vicem facit snapshotting relative facilis ad operandam. Cum snapshot factus est in systema mere exscribit novum snapshot quod sit duplicatione omnia indicia et metadata intra eius volumen. Cum excrementis bovis, quando mutationes fiunt, in snapshot scriptor notitia maneat integrum, secundum quod convenit statui et trahitur tempore factum potest dici snapshot.

Fecit amicus recens

Cum superiori in mente, praesertim ut Ubuntu fecit btrfs available ut install-vicis optionem, Cras rhoncus esset tempus bonum intendere in btrfs, et exploraret paulo. 🙂

Parte 2 coming …

Share
Saturday, February 21st, 2009 | Author:

The relatively new document types Office 2007 has given some web hosts problems when their clients want to offer documents for download. Most often, the documents are being offered by the web server as text/html which is then rendered as a ton of garbage on the web user’s screen.

The best way to resolve this is to add all the MIME types to the server’s main configuration. IIS7 for Windows already has these MIME types set up correctly by default. IIS6 and IIS5 require the MIME types to be added, as might Apache on older installations. For Apache, there is also a workaround for the individual domain owner to add the mime types via Apache’s .htaccess file.

IIS 6 MIME type addition (for the Server Administrator)

Before this can be done, ensure that your server is also set to allow direct metabase editing:

  1. Load IIS Manager: Start -> Run, “inetmgr” -> [OK]
  2. Right click theserverand clickProperties
  3. Within theInternet Information Servicestab (usually the only tab), ensure that theEnable Direct Metabase Editcheckbox is checked.
  4. Click [OK]

Be sure to back up IIS’s configuration (hic for IIS5) beforehand. I won’t take any responsibility for an admin breaking his server. I have reason to believe this may also work on IIS5 however I have just as much reason to believe that it might just give lots of errors. If an IIS5 / Windows 2000 admin is willing to test this for me after backing up your configuration please let me know of the results.

Copy the following text into a file named msoff07-addmime.vbs and execute it once from the commandline by typing cscript msoff07-addmime.vbs and pressing Enter. If you run it more than once, the MIME types will be added each time and you will have multiple identical entries:

' This script adds the necessary Office 2007 MIME types to an IIS 6 Servo.
' To use this script, just double-click or execute it from a command line.
' Running this script multiple times results in multiple entries in the
' IIS MimeMap so you should not run it more than once.
' Modified from http://msdn.microsoft.com/en-us/library/ms752346.aspx
 
Dim MimeMapObj, MimeMapArray, MimeTypesToAddArray, WshShell, oExec
Const ADS_PROPERTY_UPDATE = 2 
 
' Set the MIME types to be added
MimeTypesToAddArray = Array(".docm", "application/vnd.ms-word.document.macroEnabled.12", _
".docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", _
".dotm", "application/vnd.ms-word.template.macroEnabled.12", _
".dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template", _
".potm", "application/vnd.ms-powerpoint.template.macroEnabled.12", _
".potx", "application/vnd.openxmlformats-officedocument.presentationml.template", _
".ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12", _
".ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12", _
".ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow", _
".pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12", _
".pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation", _
".sldm", "application/vnd.ms-powerpoint.slide.macroEnabled.12", _
".sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide", _
".xlam", "application/vnd.ms-excel.addin.macroEnabled.12", _
".xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12", _
".xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12", _
".xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", _
".xltm", "application/vnd.ms-excel.template.macroEnabled.12", _
".xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template") 
 
' Get the mimemap object
Set MimeMapObj = GetObject("IIS://LocalHost/MimeMap")
 
' Call AddMimeType for every pair of extension/MIME type
For counter = 0 ad UBound(MimeTypesToAddArray) Step 2
    AddMimeType MimeTypesToAddArray(counter), MimeTypesToAddArray(counter+1)
Next
 
' Create a Shell object
Set WshShell = CreateObject("WScript.Shell")
 
' Stop and Start the IIS Service
Set oExec = WshShell.Exec("net stop w3svc")
Do While oExec.Status = 0
    WScript.Sleep 100
Loop
 
Set oExec = WshShell.Exec("net start w3svc")
Do While oExec.Status = 0
    WScript.Sleep 100
Loop
 
Set oExec = Nothing
 
' Report status to user
WScript.Echo "Microsoft Office 2007 Document MIME types have been registered."
 
' AddMimeType Sub
Sub AddMimeType (Ext, MType)
 
    ' Get the mappings from the MimeMap property.
    MimeMapArray = MimeMapObj.GetEx("MimeMap") 
 
    ' Add a new mapping.
    i = UBound(MimeMapArray) + 1
    Redim Preserve MimeMapArray(i)
    Set MimeMapArray(i) = CreateObject("MimeMap")
    MimeMapArray(i).Extension = Ext
    MimeMapArray(i).MimeType = MType
    MimeMapObj.PutEx ADS_PROPERTY_UPDATE, "MimeMap", MimeMapArray
    MimeMapObj.SetInfo
 
End Sub

Apache MIME type addition (for the Server Administrator)

Apache stores its MIME types in a file normally located at $installpath/conf/mime.types. See the mod_mime documentation for more on how it works. Fornicem Linux installs its MIME types at /etc/httpd/conf/mime.types et Parallels Plesk installs it in /usr/local/psa/admin/conf/mime.types. Your distribution might have it in another place, so find your mime.types file by running locate mime.types.

Add the following lines to your mime.types file:

application/vnd.ms-word.document.macroEnabled.12                          docm
application/vnd.openxmlformats-officedocument.wordprocessingml.document   docx
application/vnd.ms-word.template.macroEnabled.12                          dotm
application/vnd.openxmlformats-officedocument.wordprocessingml.template   dotx
application/vnd.ms-powerpoint.template.macroEnabled.12                    potm
application/vnd.openxmlformats-officedocument.presentationml.template     potx
application/vnd.ms-powerpoint.addin.macroEnabled.12                       ppam
application/vnd.ms-powerpoint.slideshow.macroEnabled.12                   ppsm
application/vnd.openxmlformats-officedocument.presentationml.slideshow    ppsx
application/vnd.ms-powerpoint.presentation.macroEnabled.12                pptm
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
application/vnd.ms-powerpoint.slide.macroEnabled.12                       sldm
application/vnd.openxmlformats-officedocument.presentationml.slide        sldx
application/vnd.ms-excel.addin.macroEnabled.12                            xlam
application/vnd.ms-excel.sheet.binary.macroEnabled.12                     xlsb
application/vnd.ms-excel.sheet.macroEnabled.12                            xlsm
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet         xlsx
application/vnd.ms-excel.template.macroEnabled.12                         xltm
application/vnd.openxmlformats-officedocument.spreadsheetml.template      xltx

Apache MIME type addition (For the domain owner with at least FTP accessusing .htaccess file)

Add the following text to your domain’s .htaccess file, most commonly in an httpdocs/ directory

AddType application/vnd.ms-word.document.macroEnabled.12 docm
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
AddType application/vnd.ms-word.template.macroEnabled.12 dotm
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
AddType application/vnd.ms-powerpoint.template.macroEnabled.12 potm
AddType application/vnd.openxmlformats-officedocument.presentationml.template potx
AddType application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
AddType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
AddType application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
AddType application/vnd.ms-powerpoint.slide.macroEnabled.12 sldm
AddType application/vnd.openxmlformats-officedocument.presentationml.slide sldx
AddType application/vnd.ms-excel.addin.macroEnabled.12 xlam
AddType application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
AddType application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
AddType application/vnd.ms-excel.template.macroEnabled.12 xltm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
Share