Restrict sub-folders quota using File Server Resource Manager
[code language=”js”]# sudo su -[/code] [code language=”js”]# apt-get update # apt-get upgrade # apt-get install dkms[/code]
[code language=”sql”]# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm # rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux[/code] [code language=”sql”]# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm # rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux[/code] [code language=”sql”]# yum check-update[/code] [code language=”sql”]# yum -y install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl[/code]
I love zabbix a lot because of its ease of use and the simplicity of the configuration when it comes to monitoring anything. I recently added a monitor to check the fragmentation level of volumes on a machine once a week and set it to trigger an alert when the fragmentation level reaches the set threshold. I wrote a simple command line statement that would run the defrag check and output just the value.
[code language=”js”]# yum install wget[/code] [code language=”js”] # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm [/code] [code language=”js”] # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm [/code] [code language=”js”]# yum -y groupinstall Xfce[/code] [code language=”js”]# yum -y install xorg-x11-fonts-Type1 xorg-x11-fonts-misc[/code] [code language=”js”]# /sbin/telinit 5[/code] [code language=”js”]startxfce4[/code]
<p style="text-align: justify;"> – Click this <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html?ssSourceSiteId=ocomen" target="_blank">link</a> to download latest Java SE JDK or simply Google in case the link isn’t available. Click on Java Platform (JDK) <version update> </p> <p style="text-align: justify;"> <a href="http://www.sysads.co.uk/wp-content/uploads/2014/01/java-jdk01.png"><img class="alignnone" src="http://www.sysads.co.uk/wp-content/uploads/2014/01/java-jdk01-300x183.png" alt="JConsole download" width="300" height="183" /></a> </p> <p style="text-align: justify;"> – Under Java SE Development Kit <lastest version>, Accept License Agreement and click the download for either 32bit or 64bit version of Windows you intend to install on </p> <p style="text-align: justify;"> <a href="http://www.
[code language=”js”]# vi /etc/yum.repos.d/google-chrome.repo[/code] [code language=”js”] [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub [/code] [code language=”js”]# yum update -y[/code] [code language=”js”]# wget http://chrome.richardlloyd.org.uk/install_chrome.sh # chmod u+x install_chrome.sh[/code] [code language=”js”]# ./install_chrome.sh[/code]
[code language=”js”]# vi /etc/sysconfig/desktop[/code] [code language=”js”]DESKTOP=“KDE” DISPLAYMANAGER=“KDE”[/code]
[code language=”js”]# yum -y groupinstall “KDE desktop” “X Window System” “Fonts”[/code] [code language=”js”]# vi /etc/inittab[/code] [code language=”js”]# init 6[/code]
<pre># yum -y groupinstall "FTP server"</pre> <p> <em><span style="color: #000080;">Any questions, please feel free to ask 🙂</span></em> </p>
[code language=”powershell”]User-agent: * Disallow: /[/code] [code language=”powershell”] $host = http.getHostHeader(); $qs = http.getpath(); if (($host == “sysads.co.uk”) && ($qs =="/robots.txt")) { if (resource.exists( “robots.txt”)) { # robots.txt exists on ZXTM, return content of txt file to client http.sendResponse( 200, “text/plain”, resource.get(“robots.txt”), “ZXTMServed: True”); } } [/code]