Archive for the 'win' Category

26
Sep
10

MySQL Can’t create/write to file MYI Error

If you’re a McAfee Antivirus user and you get this kind of message in phpMyAdmin whenever you perform a query on your DB :

“Can’t create/write to file ‘xxx.MYI’ (Errcode: 13)”

Just exclude the MYI and MYD filetypes from your antivirus detection system (add them to Exceptions).

26
Sep
10

cannot send mail from localhost using smtp (xampp/wamp)

You’ve activated the email function using stmp (see this post ) in your localhost xampp/wamp and you still can’t send mails ?

This is maybe due to the fact that your ISP requires username/password authentication, this how to proceed:

  1. Open your php.ini file (xampp\apache\bin\php.ini for xampp users),  in [mail function] comment out the entire “Win32 only”section and uncomment the “Unix only” (sendmail) section:
  2. [mail function]
    ; For Win32 only.
    ;SMTP = localhost
    ;smtp_port = 25

    ; For Win32 only.
    ;sendmail_from = me@example.com

    ; For Unix only.  You may supply arguments as well (default: “sendmail -t -i”).
    sendmail_path = “c:\…\sendmail\sendmail.exe -t”

  3. Download this version of sendmail and replace your current sendmail file (\xampp\sendmail\sendmail.exe for xampp users)
  4. Open your sendmail.ini file (\xampp\sendmail\sendmail.ini for xampp users) and fill in the appropriate fields:
  5. smtp_server=
    smtp_port=
    auth_username=
    auth_password=

  6. Save and restart xampp/wamp

It should work.

05
Nov
09

Ext3 read problems under Windows

Maybe you recently discovered that just after a fresh install of the last version of your favorite Linux Distro, apps like explore2fs, Acronis True Image or the Ext2/3 Driver for Windows couldn’t read no more your Ext3 Filesystem, Acronis True Image even complaining about “Partition Errors”.

This is due to the fact that most of new distros (starting from version 8.10 concerning Ubuntu) are using the inode 256 structure by default for their filesystem. There’s pretty much nothing to do about that, the only way to switch back to the well-supported inode 128 is to reformat your hard drive…icon_surprisedgif

Acronis True Image Home 2009 (build 9709) is the only version that supports inode 256 (Business/Workstation 2009 don’t, nor 2010 versions), you can still switch to CloneZilla or Partimage which are excellent (and free) alternatives to True Image or Ghost.

25
Aug
09

Howto: Enable localhost mail function on XAMPP

You’ll find a lot of tips about how to do that, this is what worked for me ( SMTP only icon_questiongif )

Open xampp\apache\bin\php.ini

Check the line :

[mail function]
; For Win32 only.

And enter your SMTP Server parameters :

SMTP = yoursmtpserver
smtp_port = 25

It should work.

21
Jul
09

Howto: Share an NTFS Drive under Linux with Mac

 

Recently I wanted to share my external NTFS Hardrive connected to my Linux desktop station with my Mac Laptop. I thought about using NFS but I prefered Samba to be able accessing the drive using Windows… Continue reading ‘Howto: Share an NTFS Drive under Linux with Mac’

17
May
09

Howto: Write NTFS drives on MacOSX for Free

This can easily be done using the package made by Erik Larrson. In a few clicks you will install the NTFS-3G driver (used by the majority of recent Linux distros) that Erik ported to MacOSX, it will automatically replace the default NTFS driver without modifying the kernel thanks to MacFUSE.

ntfs3g-mac

The new driver lets you read/write Windows NTFS filesystems and even create and/or format partitions as NTFS.

Note that you can’t do a clean mount (you can still force) of NTFS filesystems that weren’t shutdown correctly under Windows (always use the unplug device functionality for your USB devices in Windows).

It’s easy (an uninstaller is also bundled with the package), fast and FREE.

15
May
09

Howto : Connect to a Linux Server with a Windows Client in Graphical Mode

If you’ve got VNC installed* on your *nix server it’s really easy, launch the vncserver service
( type vncserver in a terminal, you can do it being root or a simple user)

If it’s the first launch you’ll be invited to create a password. (You can change it later by typing vncpasswd)

Launch your Widows VNC Viewer Client and connect to your server’s IP or host indicating the port 5901
(It should be open on the server) ie :

192.168.1.666:5901 or servername:5901

Et voilà !

* Install: Depending on your distro you’ll need vnc vnc-server vnc-java or xvncviewer vncserver vnc-java.

vnc-java is used to connect using a web browser, check the VNC FAQ if you wanna know more about this.

24
Apr
09

Howto: Ctrl+Alt+Del open System Monitor in GNOME

If you want to open the System Monitor in Gnome just like Windows, here’s what you have to do :

ubuntu-system-monitor1

1) Disable the current Ctrl+Alt+Del combination (Logout) :

In Ubuntu Go to System ->Preferences ->Keyboard Shortcuts -> Desktop disable logout shortcut (hit backspace) if it’s associated with Ctrl+Alt+Del.

2) Enter these commands in a shell :

 

gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_1 "Delete"

 

gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_1 "gnome-system-monitor"

 

Note that these are Metacity global keybindings, normally you should have the 12 run commands disabled so you can use 1 to 12 numbers range in run_command_x and command_x, it’s always better to check their current status, hit Alt+F2 enter gconf-editor then open apps -> metacity -> global_keybindings.

I got this informations reading this excellent post. Take also a look at Ubuntu Guide.

18
Apr
09

Use Internet Explorer without Windows nor Emulation

Wonder how ? If you want to render a page or a website in all IE versions starting from 5.5, just try :

 

netrenderer1

 

A Firefox extension can be found here. icon_exclaimgif

To add the service to your website paste this code on the body :

<form method="post" id="form" name="form" action="http://ipinfo.info/netrenderer/index.php"
accept-charset="utf-8" target="_blank">
<select name="browser" style="width: 145px;">
<option value="ie8">Internet Explorer 8</option>
<option value="ie7">Internet Explorer 7</option>
<option value="ie6" selected="selected">Internet Explorer 6</option>
<option value="ie55">Internet Explorer 5.5</option>
<option value="ie-mix">IE7-IE6 Mixed</option>
<option value="ie-diff">IE7-IE6 Difference</option></select>&nbsp;
<input name="url" id="url" value="http://" size="61" maxlength="240" type="text">
<input name="go" value="Render" type="submit">
</form>

Another extension for all browsers rendering is available here but it’s still experimental and needs a trial registration to BrowserCam Capture Service.

 

litmus1

 

You can also test your page in 23 browsers with litmus but you’ll have to pay (Only IE7 and FF2 rendering are free)

16
Apr
09

Using GMail as an online Hard drive

GMail offers now 7Go of free space, who needs such a huge space for mailing ? Some smart guys icon_winkgif decided to use gmail as an external drive, this website porposes an shell extension that adds a GMail drive to your Windows (My Computer) next to your local drives. You can send files directly from you PC by drag and drop. All the files you send appear as mails prefixed with GMAILFS in subjects. You can create a filter to move all messages containing this prefix in archives to avoid inbox overload.

gmail1

Another guy made an extension for Firefox.





Follow

Get every new post delivered to your Inbox.