Extra Packages for Enterprise Linux (EPEL)

Home page: http://fedoraproject.org/wiki/EPEL RHEL 6 # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm RHEL 5 # rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm RHEL 4 # rpm -Uvh http://download.fedoraproject.org/pub/epel/4/i386/epel-release-4-10.noarch.rpm  ...

Creating a new rootfs.cgz for RIP Linux. Short tips.

# mkdir /tmp/rip1 /tmp/rip2 # mount -o loop RIPLinuX-13.7.iso /tmp/rip1 # cp -a /tmp/rip1/* /tmp/rip2 # umount /tmp/rip1 ; rmdir /tmp/rip1 # mkdir /tmp/rip2/boot/1 # cd /tmp/rip2/boot/1 /tmp/rip2/boot/1# gzip -dc ../rootfs.cgz | cpio -iumdv Make the changes and remove the old system. /tmp/rip2/boot/1# rm ../rootfs.cgz Then cpio/gzip the new system. /tmp/rip2/boot/1# find . |...

Testing of the mail function of PHP from shell on the server.

1. Download little script – http://it.sysnet.by/scripts/mail-test.script   <?php $to = "info@sysnet.by"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "test@sysnet.by"; $headers = "From:" . $from; mail($to,$subject,$message,$headers); printf("Mail Sent.\n"); ?>   2. Open file and change variables $to and/or $from 3. Execute in shell:   sysnetb@sysnet.by # php...

Scroll to top