Install k3b the Fedora CD DVD burner



   The example below show how to install k3b the Fedora CD DVD burner, to install the k3b burner on the system you may need root privileged to do so... the step below show how to install k3b on Fedora system

1.  To install Fedora k3b, open x terminal Application --> System Tools --> Terminal and execute 'su -' command and supply root user password when ask.
2.  Execute yum install *k3b* on the terminal...

[root@serverc ~]# yum install *k3b*
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: free.nchc.org.tw
 * rpmfusion-free: mirror.cse.iitk.ac.in
 * rpmfusion-free-updates: mirror.cse.iitk.ac.in
 * rpmfusion-nonfree: mirror.cse.iitk.ac.in
 * rpmfusion-nonfree-updates: mirror.cse.iitk.ac.in
 * updates: ftp.jaist.ac.jp
Setting up Install Process
Package 1:k3b-libs-2.0.2-5.fc15.i686 already installed and latest version
Package 1:k3b-2.0.2-5.fc15.i686 already installed and latest version
Package 1:k3b-common-2.0.2-5.fc15.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package k3b-devel.i686 1:2.0.2-5.fc15 will be installed
---> Package k3b-extras-freeworld.i686 1:2.0.1-2.fc14 will be installed
--> Processing Dependency: libmad.so.0 for package: 1:k3b-extras-freeworld-2.0.1-2.fc14.i686
--> Running transaction check
---> Package libmad.i586 0:0.15.1b-13.fc12 will be installed
--> Finished Dependency Resolution


Dependencies Resolved


================================================================================
 Package                  Arch     Version             Repository          Size
================================================================================
Installing:
 k3b-devel                i686     1:2.0.2-5.fc15      updates            106 k
 k3b-extras-freeworld     i686     1:2.0.1-2.fc14      rpmfusion-free      57 k
Installing for dependencies:
 libmad                   i586     0.15.1b-13.fc12     rpmfusion-free      86 k


Transaction Summary
================================================================================
Install       3 Package(s)


Total download size: 249 k
Installed size: 731 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 249 k
(1/3): k3b-devel-2.0.2-5.fc15.i686.rpm                   | 106 kB     00:01     
(2/3): k3b-extras-freeworld-2.0.1-2.fc14.i686.rpm        |  57 kB     00:01     
(3/3): libmad-0.15.1b-13.fc12.i586.rpm                   |  86 kB     00:01     
--------------------------------------------------------------------------------
Total                                           4.2 kB/s | 249 kB     00:59     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libmad-0.15.1b-13.fc12.i586                                  1/3 
  Installing : 1:k3b-devel-2.0.2-5.fc15.i686                                2/3 
  Installing : 1:k3b-extras-freeworld-2.0.1-2.fc14.i686                     3/3 


Installed:
  k3b-devel.i686 1:2.0.2-5.fc15     k3b-extras-freeworld.i686 1:2.0.1-2.fc14    


Dependency Installed:
  libmad.i586 0:0.15.1b-13.fc12                                                 


Complete!
[root@serverc ~]# 

3.  Wait until installation process finish.  then you can open the k3b burning software by going to Applications --> Sound & Video -- k3b


Note:  This Install k3b tested on Linux Fedora 15



Linux start X server



How to start X server on Linux Fedora system... to start Linux X server you can always use startx command, startkde command or try type in X on your Linux terminal

Open Linux terminal and
startx command example
[jason@serverc ~]$  startx

startkde command example
[jason@serverc ~]$  startkde

X command example
[jason@serverc ~]$  X



Linux kill X server



Got frozen X and need to kill X server on your Linux system, just press Ctrl+Alt+Backspace key on your keyboard and your Linux X server will automatically kill and restart without any question ask.

or you can open Linux terminal su- to have root privileges and type in killall
To kill Gnome desktop type in

[root@serverc ~]# killall gdm


To kill KDE desktop type in
[root@serverc ~]# killall kdm



Install Nessus Fedora



The article below show how you can install Nessus the security venerability scanner on Fedora system.  The example below show step by step to install Nessus on Fedora system and this installation step are done on Linux Fedora 15 operating system.

Install Nessus on Fedora 15

1.  Login on your Linux Fedora system.

2.  Open terminal and execute su - command.

3.  Execute yum install *nessus* as show on example below to start the process of installing Nessus, let yum running until...
[root@fedora ~]# yum install *nessus*
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: free.nchc.org.tw
 * rpmfusion-free: download1.rpmfusion.org
 * rpmfusion-free-updates: download1.rpmfusion.org
 * rpmfusion-nonfree: download1.rpmfusion.org
 * rpmfusion-nonfree-updates: download1.rpmfusion.org
 * updates: free.nchc.org.tw
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nessus-client.i686 0:2.2.11-6.fc15 will be installed
---> Package nessus-core.i686 0:2.2.11-6.fc15 will be installed
---> Package nessus-core-devel.i686 0:2.2.11-6.fc15 will be installed
---> Package nessus-gui.i686 0:2.2.11-6.fc15 will be installed
---> Package nessus-libraries.i686 0:2.2.11-4.fc15 will be installed
---> Package nessus-libraries-devel.i686 0:2.2.11-4.fc15 will be installed
--> Processing Dependency: libpcap-devel for package: nessus-libraries-devel-2.2.11-4.fc15.i686
---> Package nessus-server.i686 0:2.2.11-6.fc15 will be installed
--> Processing Dependency: libnasl.so.2 for package: nessus-server-2.2.11-6.fc15.i686
--> Running transaction check
---> Package libnasl.i686 0:2.2.11-8.fc15 will be installed
---> Package libpcap-devel.i686 14:1.1.1-3.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package                          Arch           Version                     Repository        Size
====================================================================================================
Installing:
 nessus-client                    i686           2.2.11-6.fc15               fedora            95 k
 nessus-core                      i686           2.2.11-6.fc15               fedora            71 k
 nessus-core-devel                i686           2.2.11-6.fc15               fedora            23 k
 nessus-gui                       i686           2.2.11-6.fc15               fedora           179 k
 nessus-libraries                 i686           2.2.11-4.fc15               fedora            74 k
 nessus-libraries-devel           i686           2.2.11-4.fc15               fedora            26 k
 nessus-server                    i686           2.2.11-6.fc15               fedora           134 k
Installing for dependencies:
 libnasl                          i686           2.2.11-8.fc15               fedora           126 k
 libpcap-devel                    i686           14:1.1.1-3.fc15             fedora            98 k

Transaction Summary
====================================================================================================
Install       9 Package(s)

Total download size: 826 k
Installed size: 2.3 M
Is this ok [y/N]:

4.  till you see the yes or no option... type in y and hit enter key to start the nessus installation process..
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 826 k
(1/9): libnasl-2.2.11-8.fc15.i686.rpm                                        | 126 kB     00:01    
(2/9): libpcap-devel-1.1.1-3.fc15.i686.rpm                                   |  98 kB     00:01    
(3/9): nessus-client-2.2.11-6.fc15.i686.rpm                                  |  95 kB     00:00    
(4/9): nessus-core-2.2.11-6.fc15.i686.rpm                                    |  71 kB     00:01    
(5/9): nessus-core-devel-2.2.11-6.fc15.i686.rpm                              |  23 kB     00:00    
(6/9): nessus-gui-2.2.11-6.fc15.i686.rpm                                     | 179 kB     00:01    
(7/9): nessus-libraries-2.2.11-4.fc15.i686.rpm                               |  74 kB     00:01    
(8/9): nessus-libraries-devel-2.2.11-4.fc15.i686.rpm                         |  26 kB     00:00    
(9/9): nessus-server-2.2.11-6.fc15.i686.rpm                                  | 134 kB     00:01    
----------------------------------------------------------------------------------------------------
Total                                                                64 kB/s | 826 kB     00:12    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nessus-libraries-2.2.11-4.fc15.i686                                              1/9
  Installing : nessus-core-2.2.11-6.fc15.i686                                                   2/9
  Installing : 14:libpcap-devel-1.1.1-3.fc15.i686                                               3/9
  Installing : nessus-libraries-devel-2.2.11-4.fc15.i686                                        4/9
  Installing : nessus-core-devel-2.2.11-6.fc15.i686                                             5/9
  Installing : libnasl-2.2.11-8.fc15.i686                                                       6/9
  Installing : nessus-server-2.2.11-6.fc15.i686                                                 7/9
  Installing : nessus-client-2.2.11-6.fc15.i686                                                 8/9
  Installing : nessus-gui-2.2.11-6.fc15.i686                                                    9/9

Installed:
  nessus-client.i686 0:2.2.11-6.fc15             nessus-core.i686 0:2.2.11-6.fc15                  
  nessus-core-devel.i686 0:2.2.11-6.fc15         nessus-gui.i686 0:2.2.11-6.fc15                   
  nessus-libraries.i686 0:2.2.11-4.fc15          nessus-libraries-devel.i686 0:2.2.11-4.fc15       
  nessus-server.i686 0:2.2.11-6.fc15           

Dependency Installed:
  libnasl.i686 0:2.2.11-8.fc15                  libpcap-devel.i686 14:1.1.1-3.fc15                

Complete!
[root@fedora ~]#



nm-tool NetworkManager Tool



   NetworkManager tool the nm-tool command show the information about your Linux NetworkManager device state, and wireless networks.  The example below show the output from nm-tool that execute on Linux Fedora 15

nm-tool

Show the information and status of you NetworkManager network device and wireless network
[root@fedora ~]# nm-tool

NetworkManager Tool

State: connected (global)

- Device: p1p1  [System p1p1] --------------------------------------------------
  Type:              Wired
  Driver:            skge
  State:             connected
  Default:           yes
  HW Address:        00:1B:11:B4:0E:8E

  Capabilities:
    Carrier Detect:  yes
    Speed:           1000 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         172.16.160.112
    Prefix:          24 (255.255.255.0)
    Gateway:         172.16.160.119

    DNS:             172.16.165.9
    DNS:             60.49.199.73


- Device: em1 ------------------------------------------------------------------
  Type:              Wired
  Driver:            8139too
  State:             disconnected
  Default:           no
  HW Address:        00:1E:90:E5:83:3D

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         on


- Device: wlan0 ----------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            zd1211rw
  State:             disconnected
  Default:           no
  HW Address:        00:02:72:4B:EA:45

  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points
    Zaihan:          Infra, 00:22:6B:78:3D:28, Freq 2437 MHz, Rate 54 Mb/s, Strength 14 WPA
    dota ensem:      Ad-Hoc, F6:59:03:2D:F5:6E, Freq 2437 MHz, Rate 54 Mb/s, Strength 16
    Free Public WiFi:Ad-Hoc, AE:39:A0:5E:87:58, Freq 2437 MHz, Rate 54 Mb/s, Strength 33


[root@fedora ~]#



p1p1 network



   The p1p1 network card that appear on Linux Fedora 15 are stand for your PCI network device.   The first p1 is for pci name and the other part of p1 is for number, so f your network card show p1p1 that show that your network card is on pci slot number 1 and using number 1 port.  To edit the configuration of the p1p1 network card, go to /etc/sysconfig/network-scripts/ and edit the ifcfg-p1p1 network configuration file or user the nm-connection-editor command.

p1p1 network configuration file

The example of p1p1 network configuration file on Linux Fedora 15
[root@fedora ~]# cat /etc/sysconfig/network-scripts/ifcfg-p1p1
DEVICE="p1p1"
ONBOOT="yes"
NM_CONTROLLED="yes"
TYPE=Ethernet
BOOTPROTO=none
IPADDR0=172.16.160.112
PREFIX0=24
GATEWAY0=172.16.160.119
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System p1p1"
UUID=46e26279-f69b-daf5-1b79-d03677b7178d
DNS1=172.16.165.9
DNS2=60.49.199.73
HWADDR=00:1B:11:B4:0E:8E
[root@fedora ~]# 



em1 network



   On Linux Fedora 15, the eth0 now replace with em1for built-in network card on the system.  The configuration file of these em1still inside the  /etc/sysconfig/network-scripts/ directory.  To view or edit the em1 network card configuration(ifcfg-em1), use the NetworkManager tool nm-connection-editor command, or edit these ifcfg-em1 directly (not recommend)

em1 network configuration file

The example of em1 network configuration file.
[root@fedora ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE="em1"
ONBOOT="no"
NM_CONTROLLED="yes"
TYPE=Ethernet
BOOTPROTO=none
IPADDR0=172.16.165.5
PREFIX0=24
GATEWAY0=172.16.165.9
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System em1"
UUID=1dad842d-1912-ef5a-a43a-bc238fb267e7
DNS1=172.16.165.9
HWADDR=00:1E:90:E5:83:3D
[root@fedora ~]#



Install Fedora fastest mirror



   Need to update your Fedora more faster, just install Fedora fastest mirror, and get your Fedora will find nearest and faster update server for your system.  The step by step example below show how to install yum fastest mirror plugin.


Install yum-fastestmirror plugin

1.  Login on your Fedora system.

2.  Open terminal and execute su - command, enter root password when ask.

3.  Execute yum -y install yum-fastestmirror to start yum-fastestmirror repo installation.
[root@serverc ~]# yum -y install yum-fastestmirror
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yum-plugin-fastestmirror.noarch 0:1.1.31-2.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================
 Package                            Arch             Version                 Repository         Size
=====================================================================================================
Installing:
 yum-plugin-fastestmirror           noarch           1.1.31-2.fc15           updates            24 k

Transaction Summary
=====================================================================================================
Install       1 Package(s)

Total download size: 24 k
Installed size: 53 k
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 24 k
yum-plugin-fastestmirror-1.1.31-2.fc15.noarch.rpm                             |  24 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : yum-plugin-fastestmirror-1.1.31-2.fc15.noarch                                     1/1

Installed:
  yum-plugin-fastestmirror.noarch 0:1.1.31-2.fc15                                                    

Complete!
[root@serverc ~]#



Linux Fedora Install ssh



   Step by step on Linux Fedora install ssh.  The example below show the step by step install ssh on Fedora system.  the example on install ssh below tested and done on Linux Fedora 15 system... follow the step by step example below to install ssh on your Linux Fedora system and one more thing... please note that the example from command output below may vary base on your system setting and version.

Fedora check install ssh
1.  Open Linux shell terminal and execute su - command to make sure that you have enough privileges to install ssh on the system..

2.  To check ifssh server and ssh client already instyall on your system execute 'rpm -qa |grep ssh' command as on example below.

[root@serverc ~]# rpm -qa |grep ssh
libssh-0.4.8-2.fc15.i686
ksshaskpass-0.5.3-2.fc15.i686
openssh-5.6p1-34.fc15.1.i686
openssh-server-5.6p1-34.fc15.1.i686
trilead-ssh2-213-8.fc15.noarch
libssh2-1.2.7-1.fc15.i686
openssh-clients-5.6p1-34.fc15.1.i686
[root@serverc ~]#

3.  If the result from the command output show like above example... your Linux Fedora system already install with ssh server and you may follow this example to basic configure ssh server... or you may proceed with command below to install ssh on Fedora system

Fedora install ssh

4.  Execute yum command as show on example below to install ssh...
[root@serverc ~]# yum install openssh*
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Package openssh-clients-5.6p1-34.fc15.1.i686 already installed and latest version
Package openssh-server-5.6p1-34.fc15.1.i686 already installed and latest version
Package openssh-5.6p1-34.fc15.1.i686 already installed and latest version
Resolving Dependencies



vi E37: No write since last change (add ! to override)



   When trying to quit vi, you present with vi E37: No write since last change (add ! to override) error message colored with red... What this vi error message trying to tell you that 'you have made some changes into the document... so you cannot quit just like that'...
DEVICE="em1p1"
ONBOOT="yes"
NM_CONTROLLED="yes"
TYPE=Ethernet
BOOTPROTO=none
E37: No write since last change (add ! to override)

That what vi try to tell... so we have two options... want to exit and save changes made to the document or just exit vi editor without making any changes to the document....

Vi save and exit
1.  Hit 'Esc' key twice, to exit editing mode
2.  Hold 'Shift' key and hit 'Z' key twice...

Vi exit without making any changes to the document
1.  Hit 'Esc' key twice, to exit editing mode
2.  Enter vi command mode by type in ':' and then type in 'q!' key and hit 'Enter' key to force quit vi without making any changes to the document.
DEVICE="em1p1"
ONBOOT="yes"
NM_CONTROLLED="yes"
TYPE=Ethernet
BOOTPROTO=none
:q!



Fedora automatically enable network after reboot



   Linux Fedora automatically enable network after reboot, the step by step network configuration below show how you can make sure that Linux Fedora network interface automatically enable after reboot or restart the system.

To automatically enable network you may need to manually edit network interface configuration

Automatically enable network

1.  Open terminal and, execute su - command and key in root user password to make sure that you have the privileges to edit network configuration.

2. Change working directory to /etc/sysconfig/network-scripts/
[root@fedora Desktop]# cd /etc/sysconfig/network-scripts/
[root@fedora network-scripts]#

3.  List contents of the directory
[root@fedora network-scripts]# ls
ifcfg-lo      ifdown-post    ifup-ipsec   ifup-tunnel
ifcfg-p1p1    ifdown-ppp     ifup-ipv6    ifup-wireless
ifcfg-p33p1   ifdown-routes  ifup-ipx     init.ipv6-global
ifdown        ifdown-sit     ifup-isdn    net.hotplug
ifdown-bnep   ifdown-tunnel  ifup-plip    network-functions
ifdown-eth    ifup           ifup-plusb   network-functions-ipv6
ifdown-ippp   ifup-aliases   ifup-post    route-p1p1
ifdown-ipsec  ifup-bnep      ifup-ppp     route-p33p1
ifdown-ipv6   ifup-eth       ifup-routes
ifdown-isdn   ifup-ippp      ifup-sit
[root@fedora network-scripts]#

4.  From the example above the network card configuration on the system is ifcfg-p1p1 and ifcfg-p33p1, execute vi command to edit this network interface card.  (Please note that network interface name may vary base on your system setting)
[root@fedora network-scripts]# vi ifcfg-p1p1
DEVICE="p1p1"
ONBOOT="no"
NM_CONTROLLED="yes"
TYPE=Ethernet
BOOTPROTO=none
IPADDR0=192.168.1.1
PREFIX0=24
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System p1p1"
UUID=46e26279-f69b-daf5-1b79-d03677b7178d
GATEWAY0=172.16.162.129
DNS1=172.16.160.5
DNS2=172.16.160.10
HWADDR=00:1B:11:B4:0E:80

5.  Hit 'i' key to enter vi insert mode, and edit ONBOOT="no" to ONBOOT="yes" to enable automatically start network after reboot.
[root@fedora network-scripts]# vi ifcfg-p1p1
DEVICE="p1p1"
ONBOOT="yes"
NM_CONTROLLED="yes"
TYPE=Ethernet
BOOTPROTO=none
IPADDR0=192.168.1.1
PREFIX0=24
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System p1p1"
UUID=46e26279-f69b-daf5-1b79-d03677b7178d
GATEWAY0=172.16.162.129
DNS1=172.16.160.5
DNS2=172.16.160.10
HWADDR=00:1B:11:B4:0E:80

6.  Hit 'Esc' key twice to exit vi editing mode.

7.  To save network configuration setting, hold 'Shift' key and hit 'z' key twice...