Archive

Archive for the ‘centOS’ Category

Tizen Linux for mobile tablet smartphone will takeover the world. Backed by Intel, Samsung, Linux foundation. Good luck.

February 26, 2012 Leave a comment

Tizen Linux for mobile tablet smartphone will takeover the world. Backed by Intel, Samsung, Linux foundation. Good luck.

- Android is less important in such case

- IPhone also

 

Sony use Linux? Sony ericsson has open source linux called “xperia”.

February 26, 2012 Leave a comment

Giant Sony, Quality Sony uses finally Linux, never discovered by nobody ?

Sony ericsson: has there own operating system calls Xperia which is actually Android, before they were using Windows mobile platforms

Sony: themselves obviously is using Linux but they kept top secret, my guess is its either using JavaOS or Linux

- Great to know if somebody care to tell!

 

 

Ubuntu now runs in Android. Finally C programmers are happy to have there GCC back in the mobile battle.

February 26, 2012 Leave a comment

Ubuntu is now running on top of Android. Soon there will be no more NDK/SDK requirement. Android made a mess mistake for GCC developers. Everything in past need to use NDK/SDK to retype every single lines to JNA code, which is idiot implementation actually of Android.

- Android Ubuntu will then allow GCC

- Tizen linux from Intel, Samsung will soon release there dragon Linux with GCC support to take-over Android, IPhone

 

NeBeans IDE 7.2 is almost ready. The Best IDE ever then Eclipse :)

February 26, 2012 Leave a comment

NeBeans IDE 7.2 is almost in stable release. There was Github problem in the nightly release.

 

Categories: centOS, Fedora 12, PHP, Ubuntu, Zend

8-bit, 10-bit, 12-bit, 16-bit 24-bit, 32-bit video processing, video processing DVI HDMI SDI IP VGA. Working.

December 1, 2011 Leave a comment

@TODO: Its all about color. And its all about pixel to micro pixel as RGB/YUV format.

How do i make sure my Linux operating system audio drivers are working. But hardware is defected for line in or mic in?

October 9, 2011 Leave a comment

In my motherboard i have line in/mic in. But when i boot my linux i can not get audio in. I have tried all detectors but none is helping.

1. Get a speaker box or head phone

2. Put the head phone jack to the motherboard mic in/line in

3. Grab audacity software and knock your speaker you will see frequency

- if yes, Linux and its drivers are not the issue, culprit is the microphone+hardware

- if no, fix your audio libraries

 

how to setup serial console on ubuntu debian fedora centos linux

September 6, 2011 Leave a comment

Practical in Ubuntu: setserial, minicom application requires.

Test my console is it DB9 or USB?

# dmesg | grep tty ;this is for USB
[    0.000000] console [tty0] enabled
[ 4718.771404] usb 3-1: pl2303 converter now attached to ttyUSB0
[ 7828.000574] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[10878.054407] usb 3-1: pl2303 converter now attached to ttyUSB0
$ dmesg | grep tty ; this is for COM1
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38-11-generic-pae root=UUID=f5afb2f7-bcb2-4c3c-8cd1-0e898e0dc292 ro console=tty0 console=ttyS0,9600n8 quiet splash vt.handoff=7
[    0.000000] console [tty0] enabled
[    0.000000] console [ttyS0] enabled
[    1.155514] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.336144] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    1.513380] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.534132] 00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    1.554757] 0000:00:16.3: ttyS4 at I/O 0xf140 (irq = 19) is a 16550A
# setserial -g /dev/ttyUSB[0123] /dev/ttyS[0123]
/dev/ttyUSB0, UART: 16654, Port: 0x0000, IRQ: 0
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
Server setup
vim /etc/default/grub ; This is for Grub2
GRUB_CMDLINE_LINUX='console=tty0 console=ttyS0,9600n8' 
GRUB_TERMINAL=serial 
GRUB_SERIAL_COMMAND="serial --speed=9600 --unit=0 --word=8 --parity=no --stop=1"
:w
update-grub
vim /etc/inittab ; This is for login 
T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
vim /etc/securetty ; This is to check security ttyS0 or ttyUSB0 open
ttyS0 #showing...
init 6 ; reboot once
Server Connect
# cat /etc/minirc.dfl 
# Machine-generated file - use "minicom -s" to change parameters.
pu port             /dev/ttyUSB0
pu baudrate         9600
pu bits	8
pu parity N
pu stopbits 1
pu rtscts No
# minicom -s -c on

Linux how to make iso file and write to usb as bootable. Or how to make iso to customized iso and then repack to use in cdrom or usb

September 3, 2011 Leave a comment

Download the iso file original one. Extract it to somewhere first. Lets say /tmp/centos

To make USB bootable

1. Modify or Add isolinux/ks.cfg

install

lang en_US.UTF-8

keyboard us

timezone –utc Europe/Brussels

rootpw –iscrypted $6$i5qEWD.

selinux –disabled

authconfig –enableshadow –passalgo=sha512

firewall –service=ssh

bootloader –location=mbr –driveorder=sda –append=”rhgb quiet”

vnc –password=1234

network –bootproto=static –ip=192.168.1.125 –netmask=255.255.255.0 –gateway=192.168.1.1 –nameserver=192.168.1.1

 

2. Make ISO

# mkisofs -o /tmp/cd.iso /home/sun/Downloads/centos/
I: -input-charset not specified, using utf-8 (detected in locale settings)
Using RPM_G000.;1 for  /RPM-GPG-KEY-CentOS-Security-6 (RPM-GPG-KEY-CentOS-Testing-6)
Using RPM_G001.;1 for  /RPM-GPG-KEY-CentOS-Testing-6 (RPM-GPG-KEY-CentOS-Debug-6)
Using RPM_G002.;1 for  /RPM-GPG-KEY-CentOS-Debug-6 (RPM-GPG-KEY-CentOS-6)
Using KS000.CFG;1 for  /home/sun/Downloads/centos/isolinux/ks.cfg (ks.cfg~)
Using DEVIC000.RPM;1 for  /home/sun/Downloads/centos/Packages/device-mapper-event-1.02.53-8.el6.i686.rpm (device-mapper-multipath-libs-0.4.9-31.el6.i686.rpm)
Using DEVIC001.RPM;1 for  /home/sun/Downloads/centos/Packages/device-mapper-multipath-libs-0.4.9-31.el6.i686.rpm (device-mapper-1.02.53-8.el6.i686.rpm)
Using IPTAB000.RPM;1 for  /home/sun/Downloads/centos/Packages/iptables-1.4.7-3.el6.i686.rpm (iptables-ipv6-1.4.7-3.el6.i686.rpm)
Using SELIN000.RPM;1 for  /home/sun/Downloads/centos/Packages/selinux-policy-targeted-3.7.19-54.el6.noarch.rpm (selinux-policy-3.7.19-54.el6.noarch.rpm)
Using OPENS000.RPM;1 for  /home/sun/Downloads/centos/Packages/openssh-server-5.3p1-20.el6.i686.rpm (openssh-clients-5.3p1-20.el6.i686.rpm)
Using NCURS000.RPM;1 for  /home/sun/Downloads/centos/Packages/ncurses-base-5.7-3.20090208.el6.i686.rpm (ncurses-5.7-3.20090208.el6.i686.rpm)
Using OPENS001.RPM;1 for  /home/sun/Downloads/centos/Packages/openssh-clients-5.3p1-20.el6.i686.rpm (openssh-5.3p1-20.el6.i686.rpm)
Using E2FSP000.RPM;1 for  /home/sun/Downloads/centos/Packages/e2fsprogs-libs-1.41.12-3.el6.i686.rpm (e2fsprogs-1.41.12-3.el6.i686.rpm)
Using CRACK000.RPM;1 for  /home/sun/Downloads/centos/Packages/cracklib-2.8.16-2.el6.i686.rpm (cracklib-dicts-2.8.16-2.el6.i686.rpm)
Using COREU000.RPM;1 for  /home/sun/Downloads/centos/Packages/coreutils-8.4-9.el6.i686.rpm (coreutils-libs-8.4-9.el6.i686.rpm)
Using NCURS001.RPM;1 for  /home/sun/Downloads/centos/Packages/ncurses-5.7-3.20090208.el6.i686.rpm (ncurses-libs-5.7-3.20090208.el6.i686.rpm)
Using NSS_S000.RPM;1 for  /home/sun/Downloads/centos/Packages/nss-softokn-freebl-3.12.7-1.1.el6.i686.rpm (nss-softokn-3.12.7-1.1.el6.i686.rpm)
Using FIPSC000.RPM;1 for  /home/sun/Downloads/centos/Packages/fipscheck-1.2.0-4.1.el6.i686.rpm (fipscheck-lib-1.2.0-4.1.el6.i686.rpm)
Using DEVIC002.RPM;1 for  /home/sun/Downloads/centos/Packages/device-mapper-1.02.53-8.el6.i686.rpm (device-mapper-multipath-0.4.9-31.el6.i686.rpm)
Using NFS_U000.RPM;1 for  /home/sun/Downloads/centos/Packages/nfs-utils-lib-1.1.5-1.el6.i686.rpm (nfs-utils-1.2.2-7.el6.i686.rpm)
Using PLYMO000.RPM;1 for  /home/sun/Downloads/centos/Packages/plymouth-0.8.3-17.el6.centos.i686.rpm (plymouth-scripts-0.8.3-17.el6.centos.i686.rpm)
Using DEVIC003.RPM;1 for  /home/sun/Downloads/centos/Packages/device-mapper-multipath-0.4.9-31.el6.i686.rpm (device-mapper-event-libs-1.02.53-8.el6.i686.rpm)
Using CRYPT000.RPM;1 for  /home/sun/Downloads/centos/Packages/cryptsetup-luks-1.1.2-2.el6.i686.rpm (cryptsetup-luks-libs-1.1.2-2.el6.i686.rpm)
Using LIBSE000.RPM;1 for  /home/sun/Downloads/centos/Packages/libselinux-2.0.94-2.el6.i686.rpm (libselinux-utils-2.0.94-2.el6.i686.rpm)
Using PLYMO001.RPM;1 for  /home/sun/Downloads/centos/Packages/plymouth-scripts-0.8.3-17.el6.centos.i686.rpm (plymouth-core-libs-0.8.3-17.el6.centos.i686.rpm)
Using DEVIC004.RPM;1 for  /home/sun/Downloads/centos/Packages/device-mapper-event-libs-1.02.53-8.el6.i686.rpm (device-mapper-libs-1.02.53-8.el6.i686.rpm)
  3.80% done, estimate finish Sun Sep  4 00:47:49 2011
  7.60% done, estimate finish Sun Sep  4 00:47:49 2011
 11.40% done, estimate finish Sun Sep  4 00:47:57 2011
 15.19% done, estimate finish Sun Sep  4 00:47:55 2011
 18.98% done, estimate finish Sun Sep  4 00:47:59 2011
 22.78% done, estimate finish Sun Sep  4 00:47:57 2011
 26.58% done, estimate finish Sun Sep  4 00:47:56 2011
 30.37% done, estimate finish Sun Sep  4 00:47:58 2011
 34.17% done, estimate finish Sun Sep  4 00:47:57 2011
 37.96% done, estimate finish Sun Sep  4 00:47:56 2011
 41.76% done, estimate finish Sun Sep  4 00:48:00 2011
 45.56% done, estimate finish Sun Sep  4 00:48:02 2011
 49.36% done, estimate finish Sun Sep  4 00:48:03 2011
 53.15% done, estimate finish Sun Sep  4 00:48:02 2011
 56.94% done, estimate finish Sun Sep  4 00:48:03 2011
 60.74% done, estimate finish Sun Sep  4 00:48:05 2011
 64.53% done, estimate finish Sun Sep  4 00:48:04 2011
 68.34% done, estimate finish Sun Sep  4 00:48:05 2011
 72.13% done, estimate finish Sun Sep  4 00:48:04 2011
 75.93% done, estimate finish Sun Sep  4 00:48:04 2011
 79.72% done, estimate finish Sun Sep  4 00:48:04 2011
 83.52% done, estimate finish Sun Sep  4 00:48:04 2011
 87.31% done, estimate finish Sun Sep  4 00:48:03 2011
 91.11% done, estimate finish Sun Sep  4 00:48:04 2011
 94.90% done, estimate finish Sun Sep  4 00:48:04 2011
 98.70% done, estimate finish Sun Sep  4 00:48:05 2011
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 18432
Path table size(bytes): 86
Max brk space used 22000
131714 extents written (257 MB)

3. yum -y install unetbootin.i686
4. unetbootin load
5. load your /tmp/cd.iso and burn it to your USB stick

Done.
Categories: centOS, Fedora 12

Which Amazon EC2 instance is best for my CentOS or Fedora or Ubuntu or FreeBSD or Windows enterprise selection?

July 25, 2011 Leave a comment

Many companies seems like having Amazon cloude, kind of deep trust because it never fall down (advantage), disadvantage (its not friendly, and expensive, as you pay per hour the whole OS). But anyway sometime you have to use it, so use this or if you have better one as enterprise (post me here, we can keep the list alive):

CentOS 5.5: ami-066d9c6f , Kernel ID: aki-4e7d9527  (side note: i still today do not find a correct CentOS version there, its a full of mess out there, and i do not understand why in the hell Amazon, do not put Linux guys and put one standard image so that it works nicely, rather then getting confused for no reason).

Few notes on this (mostly confusing in begin):

1) When you add a instance, it start within a minute

2) If you need a remote access, make sure you do not lose the “*.pem” file. I lost it once and never get it up and runing again.

3) If you click on the instance and you will see there is a button “connnect” that gives you the ssh command and how to connect

4) Make sure you have “Security Groups” assigned and open

- Those are the firewalls, for public traffic (you) to amazon server

5) Make sure you need a “Elastic IP”, which is idiot name but its used for “Public ip” normally we call  it “WAN”

 

 

How to check what are the commands whole day i applied as root?

July 25, 2011 Leave a comment

I am installing and installing suddently it works! But i forgot what exactly i did what. So i want to check back the commands i used, files that i used.

cat /root/.bash_history

OR

/var/log/auth.log

OR

cat .bash_history | grep -P ‘^sudo’

Categories: centOS, Fedora 12
Follow

Get every new post delivered to your Inbox.