Archive

Posts Tagged ‘fedora centos’

How to use remote access from linux to windows vnc or logmein or teamviewer or remote desktop?

May 8, 2011 1 comment

Logmein.com has linux to windows web interface but its NOT NOT FREE. Teamviewer has more limited features not not free. So what else is free to make this happen?

Step 1: Download/install in your windows UVNC: http://www.uvnc.com/download/index.html
* setup password 123 and make its as service

Step 2: Linux Gnome desktop > Applications > Internet > Remote desktop viewer
* insert the ip, connect

Done.

Categories: centOS, Fedora 12 Tags:

How to find sound devices in linux where it shows /dev/dsp

May 6, 2011 Leave a comment

$ lspci

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0b:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)

$ alsamixer # press F2  or

$

lspci | grep -i audio

modprobe -l | grep sound

Categories: centOS, Fedora 12, FreeBSD Tags:

An X Windows System Tutorial, How can i build an operating system, How can i build my own desktop?

May 1, 2011 Leave a comment

“Life without wall, who needs windows?”

Well, with this tiny hack, we can build our own kiosks. Follow the steps please.

Step 1: download the iso from debian (small or big depends but i want small one)
http://www.debian.org/distrib/netinst

Step 2: Install the minimum staffs, with no GUI desktop

Step 3: After boot
apt-get install xorg

Step 4: startx (follows home directory first which filename called .xinitrc)

Step 5: Here we will build our own GUI

What is RAID, Why RAID, how do i really install it?

April 25, 2011 Leave a comment

Well, although i did couple of time, all the time i forget this. Better write it down:

1. RAID is all about storage
2. RAID 0 , 1, 5 is selection
3. RAID 5 is good which covers RAID 0 and RAID 1
4. RAID 0 is good only because it provides performance (speed), but disadvantage of it is, if 1 disk crash, all is lost.

5. RAID 1 is good buy not good for performance (speed), advantage is if 1 disk fail, it still run, so that i can patch a new disk

RAID 5 is expensive, RAID 1 is cheap, which solves it.

Extra note: Because to use RAID 1 for being cheaper, i recommend to use RAM and Xeon, so that a little more speed can be collected from CPU and RAM, after all both has to do quick time processing.

Categories: centOS, Fedora 12 Tags:

How to setup linux dhcp server

March 18, 2011 Leave a comment

Fedora 12:
==========

Step 1: Make sure the eth0 is with static ip and all informations correctly
– otherwise service dhcpd restart will always fail

Step 2:
Configure DHCP ( Dynamic Host Configuration Protocol ) Server. If you make your linux computer DHCP server, it’s neccesarry to disable DHCP function on router in LAN.

[1] Install and Configure DHCP
[root@dlp ~]# yum -y install dhcp
[root@dlp ~]# vi /etc/dhcp/dhcpd.conf

# create new
# specify domain name
option domain-name “server-linux.info”;

# specify DNS’s hostname or IP address
option domain-name-servers dlp.server-linux.info;

# default lease time
default-lease-time 600;

# max lease time
max-lease-time 7200;

# this DHCP server to be declared valid
authoritative;

# specify network address and subnet mask
subnet 10.0.0.0 netmask 255.255.255.0 {
# specify the range of lease IP address
range dynamic-bootp 10.0.0.200 10.0.0.254;
# specify broadcast address
option broadcast-address 10.0.0.255;
# specify default gateway
option routers 10.0.0.1;
}

[root@dlp ~]# /etc/rc.d/init.d/dhcpd start
Starting dhcpd:[ OK ]
[root@dlp ~]# chkconfig dhcpd on

For more details: http://www.server-world.info/en/note?os=Fedora_12&p=dhcp

Categories: centOS, Fedora 12 Tags: