Posts

Showing posts from June, 2014

Squid wth Sarg

Image
                         I have using the RHEL6 and configure squid squid-3.1.10-19.el6_4.x86_64 package make yum server on your machine then create the repo file Now create the yum Server # mkdir /YUM copy RHEL6 DVD in YUM Folder cp -rv /media/DVD/* /YUM Now create the repo file # vim /etc/yum.repos.d/yum.repo [yum] name=yumserver baseurl=file:///YUM gpgcheck=0 file save & quit next install squid # yum install squid* -y go the squid folder and open config file # vim /etc/squid/squid.conf and configure yum squid server # Example rule allowing access from your local networks. # Adapt to list your (internal) IP networks from where browsing # should be allowed acl CONNECT method CONNECT  ==> edit the  below line in this file acl network src 192.168.0.0/24  => allow your network. acl siteblock url_regex -i "/etc/squid/web" ==> siteblock for you have block the web site # Example rule allowing access from your local networks. # Adapt localnet in the ACL section to

OwnCloud installation in RHEL6.5

Image
  I have Use owncloud-6.0.0a.tar.bz2 Tar on RHEL6.5 Please follow these commands to installation OwnCloud.... # yum install php-mysql php-json php-xml php-mbstring php-zip php-gd curl php-curl php-pdo -y Note:- In installing OwnCloud occurred some php dependency, so i recommend this RPM which fulfill All  dependency  ( PHP  5.3.3-26.el6.x86_64 ). # yum install http* -y # cd /var/www/html # wget http://download.owncloud.org/community/owncloud-6.0.0a.tar.bz2 # tar -xvf owncloud-6.0.0a.tar.bz2 # chown -R apache.apache owncloud # wget ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6rolling/x86_64/os/Packages/php-mbstring-5.3.3-26.el6.x86_64.rpm # rpm -ivh php-mbstring-5.3.3-26.el6.x86_64.rpm # /etc/init.d/httpd  restart # /etc/init.d/mysqld  restart # mysqladmin password "redhat" # mysql -u root -p   ******** mysql> CREATE DATABASE own; mysql> CREATE USER 'own'@'localhost' IDENTIFIED BY '