Quickly remove PHP 5.3 deprecated warnings in web applications
It's easy enough to do (although you shouldn't fix your issues that way, obviously), but I found it difficult to find information about it on the web.
To change your PHP settings in order to avoid these warnings, one quick way is to edit your php.ini file (in /etc/php5/apache2/php.ini) and find the line that says
error_reporting = E_ALLPossibly it will include other options.
Using Intel ATOM as OpenSolaris NAS engine
I recently started searching for a power- and price-efficient engine for modest-sized NAS, running OpenSolaris (Nexenta) of course.
The idea to go to Intel ATOM first comes from their high power efficiency (1-13W TDP). To really benefit from it, do not only take into account the power used by the CPU, but also the whole motherboard (you know, chipset and GPU [Graphic Processing Unit]).
ATOM is supposed to dissipate so little heat that a fan might not be necessary, so most motherboards for ATOM ship with passive/fanless cooling.
Installing Squid on ZFS
- Read more about Installing Squid on ZFS
- 1 comment
- Log in to post comments
The recommended filesystem for Squid on OpenSolaris is ZFS: http://wiki.squid-cache.org/BestOsForSquid
It is also recommended to disable the atime property on the filesystem holding the cache, and you may want to avoid using any type of RAID.
To achieve this on Nexenta (or OpenSolaris, whatever), first create the ZFS filesystem:
# zfs create -o atime=off -o mountpoint=/var/spool/squid3 syspool/squidcache
Then install Squid (here for version 3.x, as you might have noticed from the com
Reasons to (not) setup swap on GNU/Linux
- Read more about Reasons to (not) setup swap on GNU/Linux
- Log in to post comments
Disclaimer: this article does not pretend to be a complete picture of using swap on UNIX.
Most of the time, recent GNU/Linux distributions insist on creating a swap area.
Swap is generally used to temporarily store memory used by running(/sleeping) applications, but might as well be used to store a copy of RAM to disk for hibernation.
HOWTO Enable temporary swap file on GNU/Linux
GNU/Linux supports swapping to a file on any filesystem, with reasonable performance impact since kernel 2.4.
Howto reset network device after swapping disks from one PC to another
I had a problem with a very old Compaq PC not detecting the keyboard anymore. I used the PC as a local server, not a real problem, except that the BIOS didn't allow the PC to boot when the keyboard was not plugged in. One solution there might have been to use some USB keyboard (I didn't get a chance to try that - didn't have any USB keyboard lying around).
Luckily enough, I happened to have a clone of this computer, so I just swapped the disks from one PC to the other, and booted.
Pagination
- Previous page
- Page 4
- Next page