• Home
  • About
  • Tools Section
  • Templates

Sysadmin Help…

General Computing tutorials, including linux cloud computing and virtualization

Find files by file size in linux

Posted by Isaac Zarb on July 22nd, 2009

The following command searches for files over 20mb all over your hard disk

You can search a specific directory by specifying a directory such as find /var/www and the size can be modified by increasing or decreasing the +20000k

find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Linux No Comments »

Change Timezone on Linux Redhat / Centos distros

Posted by Isaac Zarb on July 22nd, 2009

To change the timezone from the cli, the following command will be usefull, the command below changes the operating system timezone to Malta.
cp /usr/share/zoneinfo/Europe/Malta /etc/localtime

if you want to change it to a different country
ls /usr/share/zoneinfo/Europe
to see different countries in europe. and change the command the choose your country instead
to see Global
ls /usr/share/zoneinfo/
And select your Continent directory where you can find a larger list of places.

Linux No Comments »

Installing and setting up apache from source tutorial centos

Posted by Isaac Zarb on July 22nd, 2009

This is a simple tutorial, on how to download the Apache Httpd, compile and get it installed on your system. With a few basic modules on Cent0s 5.X

Lets start by downloading the latest source from the Apache site

example
cd /tmp
wget http://www.devlib.org/apache/httpd/httpd-2.2.11.tar.gz
Tar –xzvf httpd-2.2.11.tar.gz
cd httpd-2.2.11

Read the rest of this entry »

Linux No Comments »

Installing Php from source — tutorial

Posted by Isaac Zarb on July 20th, 2009

This is a simple tutorial, on how to download the php source, compile and get it installed on your system

Lets start by downloading the latest source from the php site

example 
cd /tmp
wget http://www.php.net/get/php-5.2.10.tar.gz/from/uk.php.net/mirror
Tar –xzvf php-5.2.10.tar.gz
cd php-5.2.10

Read the rest of this entry »

Linux No Comments »

Using Grep

Posted by Isaac Zarb on July 20th, 2009

GREP

grep essentially prints lines matching a pattern.
grep –options pattern file
The grep command has a lot of useful option, including:

Read the rest of this entry »

Linux No Comments »

Working with linux permissions

Posted by Isaac Zarb on July 20th, 2009

Working with Permissions

Permissions determine how users can access resources on a system.  System security is configured by the user’s UID (User ID), his GIDs (Group ID), (both primary and secondary), and the permissions on the object she is attempting to access.

Permission Trio Bits

The figure below shows the 10 positions (1 type bit and 3 trios of permission bits) that make up the permissions section of a file.

Read the rest of this entry »

Linux No Comments »

Run Levels and Startup Scripts

Posted by Isaac Zarb on July 20th, 2009

In Linux there are 6 run levels, basically being the following:

Init Level Description
0 This level is reserved for the shutdown phase.
1 Single-user mode (equivalent to Windows “safe mode”)
2 Multi-user setup without NFS (Network Filing System)
3 Full multi-user with networking, starting all required services
4 Typically unused but could be set to be a “custom” level.
5 Level 3 plus the X windows service i.e. the Linux GUI
6 Reserved for “reboot” only.

Read the rest of this entry »

Linux No Comments »

A Few Linux Commands

Posted by Isaac Zarb on July 16th, 2009
a
alias Create’s alias’s
apt-get Package Manager for distro’s such as Ubuntu or debian based
aspell Spell Checking tool
arp Address Resolution Protocol, used to translate ip’s to hardware interface addresses
awk Find and Replace text, database sort/validate/index
b
bash Bourne-Again SHell
bc Arbitrary precision calculator language
bg Launch in background
break Quit a loop
builtin Shell builtin
bzip2 Compression / De-compression tool
c Read the rest of this entry »
Linux No Comments »
Next Entries
  • Log In

    • Register
    • Lost your password?
  • Recent Posts

    • Revoking a Citrix License
    • Xendesktop 5.5 Special Folder Access with Xenapp 6.5
    • Xenserver VM Stuck in shutdown (orange icon)
    • Citrix Release Xenserver 5.6 Sp2
    • Citrix Release Xendesktop 5 Sp1
  • Tags

    *nix commands apache bash commands chmod chown citrix citrix xenserver Citrix xenserver ubuntu x64 64bit xen template image compile apache compile php source create your own vm dvd maker no dvd drive find size files linux centos grep httpd install ip address change ubuntu server Karmic Koala Karmic Koala Citrix Karmic Koala Xenserver Linux linux command line programs linux permissions Mount windows cifs linux mount windows share rhel mount windows share ubuntu pgsql on centos php postgres latest install centos postgresq on rhel centos set ip permanent ubuntu ubuntu Ubuntu 9.10 Ubuntu 9.10 64Bit ubuntu 9.10 Citrix xenserver Ubuntu 9.10 password reset Ubuntu 9.10 X64 ubuntu 9.10 xenserver Ubuntu ip static ubuntu pv windows 7 windows 7 dvd maker windows 2008 r2 Windows dvd maker no dvd found xenserver 5.5
  • Categories

    • Firewalls
    • Linux
    • News
    • Security
    • Uncategorized
    • Virtualisation
    • Windows
  • Recent Comments

    • Margaret Wilson on Ubuntu 10.04 Template Running on Citrix Xenserver 5.5
    • Topidop on Realtek Front Panel Jack not working On windows 7
    • james on Ubuntu 10.04 Template Running on Citrix Xenserver 5.5
    • Prashant Ramhit on Ubuntu 10.04 Template Running on Citrix Xenserver 5.5
    • Sig on Ubuntu 10.04 Template Running on Citrix Xenserver 5.5

  • Recent Posts

    • Revoking a Citrix License
      01-19-2012
    • Xendesktop 5.5 Special Folder Access with Xenapp 6.5
      12-15-2011
    • Xenserver VM Stuck in shutdown (orange icon)
      05-27-2011
    • Citrix Release Xenserver 5.6 Sp2
      05-26-2011
    • Citrix Release Xendesktop 5 Sp1
      05-26-2011

    Recent Comments

    • Topidop: Hi there! what should I do if I don't have the yellow folder...
    • james: It was very easy to import the VM and get it running. But, t...
    • Prashant Ramhit: So as NOT to upgrade grup-py,when doing apt-get upgade, hold...
    • Sig: I can't import your template, it gives an error that its not...
    • turitopa: Looks interesting...can you help me do this with EFW 2.3 com...

    Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • Sun Servers
    • WordPress
    • Valid XHTML