Showing posts with label fedora. Show all posts
Showing posts with label fedora. Show all posts

Saturday, March 25, 2017

NTFS Adobe Acrobat Reader Real Player Fedora Core 5

NTFS Adobe Acrobat Reader Real Player Fedora Core 5


1. Installing NTFS Support : -

1. Log in to linux in Super User mode or do so by typing "su" command at the console

2. Type "uname -rm" at the console to know the kernel version and processor type.

3. Go to the website "http://www.linux-ntfs.org/content/view/187/" and download the RPM package for NTFS driver relevant to your Linux kernel .

4. After downloading the driver go to the directory where you have downloaded the RPM directory and type "rpm -ivh kernel-module-ntfs-2.6.XX-XXXXXXXX.rpm" to install the driver.

5. Make a directory where you would like to have NTFS partition mounted Ex:- if you would like to have it mounted at /windows "mkdir /windows" .

6. type "/sbin/fdisk -l" to view available partitions and NTFS partion drive number

7. now edit /etc/fstab file using gedit and add line "/dev/hda1 /windows ntfs ro,defaults,umask=0222 0 0" at the end of the file replace /dev/hda1 with your ntfs partition as displayed by fdisk and /windows with your directory which you would like to mount ntfs volume onto.

8. Restart the linux to see change


2. Installing Real Player 10 and Adobe Acrobat Reader

1. Fedora Core 5 uses GCC 4.1 , Now many applications including Real player 10 and Adobe Acrobat 7.0 requires GCC 3.2 as they were compiled on these libraries hence for compatibility installation of this library is necessary.

GCC 3.2 Can be found on CD-3 of Fedora Core 5 , DVD or online

2. These Files are
compat-libstdc -33
compat-libstdc -296

3. To Install it using automatic yum package manager type" yum install compat-libstdc -33 compat-libstdc -296" after logging in Super User mode or after "su " at console

4. The library can also be downloaded as rpm from "http://rpmfind.net//linux/RPM/fedora/5/i386/compat-libstdc -33-3.2.3-55.fc5.i386.html" After downloading it can be installed as "rpm -ivh compatXXXXXX.rpm" after logging in super user mode.


5. After installing GCC 3.2 Library. Go to "http://www.real.com/linux" Download real player package and install it using "rpm -ivh RealXXXX.rpm" after logging inSuper User mode


6. Similarly install Adobe Acrobat Reader by downloading rpm package from "http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0.8/enu/AdobeReader_enu-7.0.8-1.i386.rpm" and using rpm to install the package



Go to link Download

Read more »

Wednesday, November 16, 2016

Những lệnh cơ bản trên Fedora Linux

Những lệnh cơ bản trên Fedora Linux


Nh?ng l?nh c? b?n trên linux / fedora


Các l?nh ki?m tra performance

  • cat /proc/cpuinfo     hi?n th? thông tin CPU
  • cat /proc/meminfo     hi?n th? thông tin v? RAM ?ang s? d?ng
  • cat /proc/version     hi?n th? phiên b?n c?a kernel
  • cat /proc/ioports    xem thông tin I/O port
  • cat /proc/interrupts  xem thông tin interrupt
  • cat /proc/dma   xem thông tin v? DMA
  • cat /etc/redhat-release  hi?n th? phiên b?n Centos
  • uname -a  hi?n th? các thông tin v? kernel
  • free -m     hi?n th? l??ng RAM còn tr?ng
  • df -h     hi?n th? thông tin nh?ng file h? th?ng n?i m?i file th??ng trú ho?c t?t c? nh?ng file m?c ??nh và l?nh này có th? xem ???c dung l??ng ? c?ng ?ã s? d?ng và còn tr?ng bao nhiêu.
  • du -sh     xem dung l??ng c?a th? m?c hi?n t?i
  • du  -ah    xem chi ti?t dung l??ng c?a các th? m?c con, và c? các file
  • du -h –max-depth=1     xem dung l??ng các th? m?c con ? c?p 1 (ngay trong th? m?c hi?n t?i)
  • df   ki?m tra dung l??ng ??a c?ng, các phân vùng ??a
  • top    hi?n th? s? ho?t ??ng c?a các ti?n trình, ??c bi?t là thông tin v? tài nguyên h? th?ng và vi?c s? d?ng các tài nguyên ?ó c?a t?ng ti?n trình.

Các l?nh h? th?ng

  • exit    thoát kh?i c?a s? dòng l?nh.
  • logout    t??ng t? exit.
  • reboot / init 6 / shutdow -r    kh?i ??ng l?i h? th?ng.
  • halt / shutdow -h now / init 0 / poweroff     t?t máy
  • hostname  xem tên máy tính
  • startx    kh?i ??ng ch? ?? xwindows t? c?a s? terminal.
  • clear    xoá tr?ng c?a s? dòng l?nh.
  • hwclock    Fix l?ch c?a bios
  • cal    xem l?ch h? th?ng.
  • yum update –y    Update Linux (CentOS)
  • date    xem ngày, gi? h? th?ng.
  • date –s “27 SEP 2011 14:26:00”     ??t ngày gi? h? th?ng theo string
  • date +%Y%m%d -s “20130318?  ??t ngày h? th?ng (không thay ??i gi?)
  • date +%T -s “00:29:00?  ??t gi? h? th?ng, không thay ??i ngày

L?nh thao tác v?i t?p tin text

  •   wc    ??m s? dòng, s? kí t?… trong t?p tin
  • touch    t?o m?t t?p tin.
  •   cat    xem n?i dung t?p tin.
  •   more  xem n?i dung t?p tin theo trang.
  •    less  xem n?i dung t?p tin theo dòng.
  •   tail  xem n?i dung t?p tin (m?c ??nh xem 10 dòng cu?i).
  •    head  xem n?i dung t?p tin (m?c ??nh xem 10 dòng ??u).
  •    vi    kh?i ??ng trình so?n th?o v?n b?n vi.
  •    man    Xem h??ng d?n th?c hi?n các l?nh

L?nh qu?n lí ?ng d?ng và ti?n trình

  •     rpm     ki?m tra, g? b? ho?c cài ??t 1 gói .rpm
  •     ps    ki?m tra h? th?ng ti?n trình ?ang ch?y.
  •     kill    d?ng ti?n trình khi ti?n trình b? treo.
  •     pstree    hi?n th? t?t c? các ti?n trình d??i d?ng cây.
  •     sleep    cho h? th?ng ng?ng ho?t ??ng trong m?t kho?ng th?i gian.
  •     yum    Cài ??t các ?ng d?ng ?óng gói (gi?ng rpm)
  •     wget    T?i các ?ng d?ng t? m?t website v?
  •     sh    Ch?y m?t ?ng d?ng có ?uôi .sh

L?nh qu?n lý user

  •    useradd    t?o m?t ng??i dùng m?i.
  •   userdel    xoá ng??i dùng ?ã t?o.
  •    usermod   thay ??i thông tin user.
  •   passwd   ??t và thay ??i password cho ng??i dùng.
  •     groupadd    t?o m?t nhóm ng??i dùng m?i.
  •     groupdel    xoá nhóm ng??i dùng ?ã t?o.
  •     gpasswd     thay ??i password c?a m?t nhóm ng??i dùng.
  •     su     cho phép ??ng nh?p v?i t? cách ng??i dùng khác.
  •     groups     hi?n th? nhóm c?a user hi?n t?i.
  •     who / w    cho bi?t ai ?ang ??ng nh?p h? th?ng.
  •     skill -9 –t pst/0    ?ê? g?? bo? session pst/0
  •     xem danh sách user: #vi /etc/passwd
  •     xem danh sách nhóm: #vi /etc/group
  •     chmod <permission> [tên file]   thay ??i quy?n cho file/th? m?c (ch? user s? h?u file m?i th?c hi?n ???c)
  •     chown user [tên file]   thay ??i ch? s? h?u file/th? m?c
  •     chown user:group [tên file]  thay ??i ch? s? h?u file/th? m?c, ??ng th?i thay ??i nhóm s? h?u
  • chgrp group [file/thu_muc] thay ??i group s? h?u file/th? m?c

L?nh qu?n lý service

  •     service –status-all    Ki?m tra t?t c? các service và tình tr?ng c?a nó.
  •     service httpd start    kh?i ??ng d?ch v? httpd.
  •     whereis mysql    hi?n th? n?i các file d?ch v? ???c cài ??t.
  •     service –status-all | grep abc, xem tình tr?ng c?a ti?n trình abc
  •     service <tên_d?ch_v?> start | stop | restart
  •     /etc/init.d/<tên_d?ch_v?>  start | stop | restart
Ví d?:
o    service mysql stop
o    /etc/init.d/mysqld start

Các l?nh qu?n lý file và th? m?c

  • ls      xem danh sách các file và th? m?c con trong th? m?c hi?n th?i
  • ls -l   nh? trên, nh?ng li?t kê c? kích th??c file, ngày c?p nh?t…
  • ls -a   li?t kê t?t c? các file ?n
  • rm    xóa file
  • rmdir   xóa th? m?c r?ng
  • rm -rf       xóa th? m?c không r?ng.
  • mv    ??i tên / di chuy?n th? m?c ho?c file t? n?i này sang n?i khác
  • cp   copy file ho?c th? m?c
  • mkdir   t?o th? m?c
  • cd   chuy?n th? m?c
  • pwd  xem th? m?c hi?n hành
  • find  tìm ki?m file
  • find  /etc  -name  inittab : tìm file có tên inittab trong th? m?c /etc

L?nh nén và gi?i nén

  • tar  -cvf    nén file/th? m?c sang ??nh d?ng .tar
  • tar  -xvf    gi?i nén file .tar
  • gzip chuy?n file .tar sang .tar.gz
  • gunzip chuy?n file .tar.gz v? .tar
  • tar -xzf  gi?i nén file  .tar.gz
  • tar -zxvf  gi?i nén file .tar.bz2
  • tar -jxvf   gi?i nén file .tar.gz2

Go to link Download

Read more »