Thursday, January 17, 2013

Linux(Fedora) Enable mySql remote connection

Verify Service
#service mysqld status
#service iptables status

Add mySql deamon everytime

#chkconfig --level 2345 mysqld on

Firewall
#vi /etc/sysconfig/iptables


-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT  #mySQL Port

On MySQL


#mysql -u root

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
mysql> exit

References
[1] http://linuxers.org/howto/how-install-mysql-server-fedora



Tuesday, January 15, 2013

Linux Fix NTFS and Video Setting

Enable fsck.ntfs

ln -s /usr/bin/ntfsfix /usr/sbin/fsck.ntfs
ln -s /usr/bin/ntfsfix /usr/sbin/fsck.ntfs-3g

[root@lucas]# fsck /dev/sdb1


On BT5
The following worked with no fuss:
# Xorg -configure
# cp /root/xorg.conf.new /etc/X11/xorg.conf
# startx
And that’s it!
On BT4
Note to self.  To fix the screen resolution for X on a host running BackTrack on VirtualBox…
Modify the “Screen” section in /etc/X11/xorg.conf to read as follows:
Section "Screen"
Identifier           "Default Screen"
Monitor             "Configured Monitor"
Device               "Configured Video Device"
DefaultDepth     24
SubSection "Display"
Depth    24
Modes   "1024x768" "800x600"
EndSubSection
EndSection

Tuesday, January 08, 2013

Linux RAID 1(Mirroring/Espejo)

The two disks have next configuration (RAID Partition and RAID Volumen)

/boot (500mb)
/swap ( N  + 2GB), N is your RAM size.
/ (max free)

Note: If you have message Only RAID0 arrays can contain growable members

 try use 1024*N for / partition, N for max free space.

References:

[1] http://www.unixmen.com/install-raid-1-in-fedoracentosrhel/
[2] http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID#.UOyvTNelsdA
[3] http://www.ping.co.il/node/1/
[4] http://docs.fedoraproject.org/es-ES/Fedora/13/html/Installation_Guide/Create_Software_RAID-x86.html
[5] Reset Fedora Password (3 Modes) https://fedoraproject.org/wiki/How_to_reset_a_root_password

Monday, December 10, 2012

Dragon City (Tips)

Libro de dragones extendido
 http://dragoncityhelp.blogspot.com/2012/08/dragon-puro-oscuro.html

Combinaciones
 http://www.taringa.net/posts/info/15247943/Combinaciones-de-Dragones-_-Dragon-City-_.html
 http://www.identi.li/index.php?topic=112193

Trick for move from Store to Habitat (0 seconds)
[1] http://www.findsessionid.com/
[2] http://www.ditlep.com
[3] https://woprime.com/dragon-city/dragon-code
[4] https://dc4u.eu/games/dragon-city

Friday, November 09, 2012

Computer Vision References

 Interest Point Detectors & Test Sequences
http://lear.inrialpes.fr/software

Windows Settings Command Line (.cpl)

Continues working on Windows7
Appwiz.cpl     Add/Remove Programs properties
Desk.cpl       Display properties
Inetcpl.cpl    Internet properties
Intl.cpl       Regional Settings properties
Joy.cpl        Joystick properties
Main.cpl       Mouse, Fonts, Keyboard, and Printers properties
Mmsys.cpl      Multimedia properties
Netcpl.cpl     Network properties (Network Connection)
Sticpl.cpl     Scanners and Cameras properties
Sysdm.cpl      System properties and Add New Hardware wizard
TimeDate.cpl   Date/Time properties
 
 

Wednesday, November 07, 2012

OpenCV 2.4 - Visual Studio 10 - Setting

Configuration Properties
C/C++
  +  General settings
     +  Additional include properties (*.h/*.hpp)
VC++ Directory
  + Library Directories (*.lib)
Linker
  + Additional dependencies (namep.lib nameq.lib namer.lib ... )


PDF AI readers

[1] Use GPT to read PDF files https://www.popai.pro/ [2] More general https://www.chatpdf.com