Pages

lundi 5 août 2013

How to create a bootable linux flash drive


Salamu'alykom warahmatu lahi wa barakatuh :)


How to create a bootable linux flash drive :

in this tutorial i chosen SliTaz which is a light-weight distribution.
it requiring  approximately 100 MB of hard disk space
i used also in this tutorial Virtualbox as a virtual machine.



( you can download SliTaz  from here)

 I-prepare the flash disk

root@RH # mkdir usb
root@RH # fdisk /dev/sdd
   n (new)
   p (primary)
   1 (n° of partition)
   1 (starting @)
   12 (ending @)
   w (writing the modifications )

root@RH # mkfs -t ext3 /dev/sdd1
root@RH # mount /dev/sdd1 usb



II-install the grub

root@RH # grub-install roor-directory=/root/exo/usb /dev/sdd




III-copy the files from the disk into the flash drive

root@RH# cp -rf disk/* usb/
root@RH# cd usb/boot/
root@RH# mv rootfs* ../
root@RH# mv vmlinuz-2.6.37-slitaz ../linux

here i made some optional modifications : i moved the additional modules "rootfs*" files into the parent directory , and i moved also the kernel file "vmlinuz-2.6.37-slitaz" into the parent directory and i renamed it to "linux"


IV-configure the grub.conf file

root@RH# cd grub
root@RH# cp /boot/grub/grub.conf .
root@RH# ln -s grub.conf menu.lst
root@RH# vi grub.conf

   default=0
   timeout=300
   color blue/black
   title Linux_SliTaz
   root (hd3,0)
   kernel /linux rw root=/dev/null
   initrd /rootfs1.gz
   initrd /rootfs2.gz
   initrd /rootfs3.gz
   initrd /rootfs4.gz

   :wq


V- reboot the with flash drive

root@RH# init 6


the login is root and password is root

enjoy :)



 i hope that tutorial allowed you to create a bootable linux flash drive with Slitaz .

thank you for reading ! :)

jeudi 6 décembre 2012

ORACLE XE 10g for Linux



Salamu'alykom warahmatu lahi wa barakatuh :) 

how to install ORACLE XE 10g  in UBUNTU (Linux);

I #  INSTALL
      packages to install 

              1) Download and install the following packages
                                 1 -> oracle-xe-universal_10.2.0.1-1.1_i386.deb  
                                 2 -> oracle-xe-client_10.2.0.1-1.2_i386.deb

                                 use : $ dpkg -i "name_of_package" 
                                
                           
                                   

              2) execute those cmds in a terminal 
                             
                                   $ aptitude install libaio1 bc  //(some dependances to install with oracle xe10g)
                                   $ apt-get install rlwrap  //(it will help us in sqlplus )

II # CONFIGURE
       we will configure some parameters and some linux environement variables

              1) excute this cmd  " /etc/init.d/oracle-xe configure " (as root) and follow the steps that gives you

              2) add the following lignes in a terminal and in your file profile  " ~/.profile "   (or /etc/profile 
                  for everyone )

                           export ORACLE_SID=XE
                           export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
                           export PATH=$PATH:$ORACLE_HOME/bin
                           export ORACLE_BASE=/usr/lib/oracle/xe

              3) add the following ligne in this file -> "$ORACLE_HOME/sqlplus/admin/glogin.sql" 

                           DEFINE _EDITOR = "/usr/bin/gedit" (or an other text editor that you want ) 

              4)type in a terminal the following alias and  add it  to your list of aliases , here(~/.bashrc)

                           alias sqlplus='rlwrap sqlplus'



III # GET STARTED !

               1) open your browser and type this (http://localhost:8080/apex) 
                         Login : system
                         pass : you already configured it when you did the 1st step in configuration
               
               2) enable the user HR ( in administration  )

               3) to connect from sqlplus run this cmd in the terminal

                        $ sqlplus hr/hr@xe
             
               4) enjoy ! :)


               i hope that tutorial allowed you to install and configure Oracle on your UBUNTU ,


thank you for reading :)

samedi 19 novembre 2011

Flash-Quran (DOWNLOAD)

Download  a Flash Quran application  for windows 


http://dl.dropbox.com/u/69759267/Quran%20Flash.rar

OR

https://docs.google.com/uc?id=0B88xh3EJdkgbeGZoVlNCQ2pSNHlqcXEwUzl4Ti03QQ&export=download