spirit posteets tagged red hat  [ Profile ]

Sort by: Date / Title /

  1. 10 years ago
    %prep       Normally this involves unpacking the sources and applying any patches
    %build      This generally involves the equivalent of a "make"
    %install    This generally involves the equivalent of a "make install"
    %files       Do a "list check". Checks are made to verify that each file exists
    %post       Post install commands
    %preun     Pre uninstall commands (called with rpm -e just before uninstalling the package)
    %postun    Post uninstall commands (called with rpm -e just after the package has been removed)
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1512"></script>
  2. 11 years ago
    1. # /etc/yum.repos.d/FC6.repo
    2.  
    3. [fc6-base]
    4. name=Fedora Core 6 Updates
    5. mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=$basearch
    6. enabled=0
    7. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    8. gpgcheck=0
    9.  
    10. [fc6-updates]
    11. name=Fedora Core 6 Updates
    12. mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc6&arch=$basearch
    13. enabled=0
    14. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    15. gpgcheck=0
    16.  
    17. [fc6-extras]
    18. name=Fedora Core 6 Extras
    19. mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-6&arch=$basearch
    20. enabled=0
    21. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    22. gpgcheck=0
    23.  
    24. # --------------------------------------------------
    25.  
    26. yum install package_name --enablerepo=fc6*
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/838"></script>
  3. 11 years ago
    1. # Use of ip command
    2. ip route add 192.168.55.0/24 via 192.168.1.254 dev eth1
    3. route add -net 192.168.55.0 netmask 255.255.255.0 gw 192.168.1.254 dev eth1
    4.  
    5. #----------------------------------------------
    6. # Red Hat/Fedora Linux Static route file
    7. #----------------------------------------------
    8. cat /etc/sysconfig/network-scripts/route-eth0
    9.  
    10. GATEWAY0=192.168.1.254
    11. NETMASK0=255.255.255.0
    12. ADDRESS0=192.168.55.0
    13.  
    14. GATEWAY1=10.164.234.112
    15. NETMASK1= 255.255.255.240
    16. ADDRESS1=10.164.234.132
    17.  
    18. #------------------------------------
    19. # Debian Linux static routes file
    20. #------------------------------------
    21. cat /etc/network/interface
    22.  
    23. auto eth0
    24. iface eth0 inet static
    25. address 192.168.1.2
    26. netmask 255.255.255.0
    27. gateway 192.168.1.254
    28. up route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.2.1
    29. down route del -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.2.1
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/98"></script>
  4. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (3 posteets)