Linux: How to Count Number of File in a Directory
Execute this command: $ ls -1 /home/user | wc -l
Execute this command: $ ls -1 /home/user | wc -l
Update Feb 23: to install only MRTG and SNMP please read this article. Install MRTG, Apache2, Squid and SNMP $ sudo apt-get install apache2 snmpd mrtg snmp-mibs-downloader squid Configure SNMP Backup /etc/snmp/snmpd.conf $ sudo mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak Create new /etc/snmp/snmpd.conf $ sudo nano /etc/snmp/snmpd.conf and key in these lines: rocommunity public syslocation “Bukit Batok”…
Below is shell script to load Windows’ folder share using Ubuntu 10.10: —
This is my little note on web hosting setup. – Install Ubuntu Server 10.10 – Setup static private IP address – Install ehcp hosting control panel: ehcp.net – Configure ehcp: add domain, add ftp user, modify ehcp dns template, modify external IP – Upload website source code – Import website database – Install smbfs: apt-get…