You are here

CentOS

Installing NX Server

  • Install NX (info from this page: http://www.nomachine.com/download-package.php?Prod_Id=355 )

    CentOS 6.0 64bit

    yum install wget #must be logged on as root
    NXVER=3.5.0
    CVER=7
    NVER=9
    SVER=5
    ARCH=x86_64
    NXURL=http://64.34.173.142/download
    wget $NXURL/$NXVER/Linux/nxclient-$NXVER-$CVER.$ARCH.rpm
    wget $NXURL/$NXVER/Linux/nxnode-$NXVER-$NVER.$ARCH.rpm
    wget $NXURL/$NXVER/Linux/FE/nxserver-$NXVER-$SVER.$ARCH.rpm
    rpm -i nxclient-$NXVER-$CVER.$ARCH.rpm
    rpm -i nxnode-$NXVER-$NVER.$ARCH.rpm
    rpm -i nxserver-$NXVER-$SVER.$ARCH.rpm

yum

Documentation:

  • access.redhat.com/…tories.html
  • www.centos.org/…yum/index.html
  • from Redhat:
    To define a new repository, you can either add a [repository] section to the /etc/yum.conf file, or to a .repo file in the /etc/yum.repos.d/ directory. All files with the .repo file extension in this directory are read by yum, and it is recommended to define your repositories here instead of in /etc/yum.conf.
Topic: 

Installing KVM on CentOS 5.5

Note that this now only works for the 64 bit version of CentOS

useful link: http://itscblog.tamu.edu/startup-guide-for-kvm-on-centos-6/

yum groupinstall "Virtualization*"
yum install dejavu-lgc-sans-fonts
echo "BRIDGE=br0" >> /etc/sysconfig/network-scripts/ifcfg-eth0
#now check it looks ok:
vi /etc/sysconfig/network-scripts/ifcfg-eth0

Topic: 

Samba Server Setup

This is very "quick and dirty" using the CentOS gui tools as much as possible

-install server & open firewall to samba
-create office and supervisor groups and a /home/common folder
-create all users on server and make them part of office, (+supervisor)
-add all users to Samba with Windows names and passwords
-share all home drives and set user access on shares as appropriate
-set permissions in the directory at the root of each share, appropriate to users
-chmod g+w -R * #at the top level of each shared directory so groups can read and write

Installing a RAID system on CentOS 6

The process is very straightforward, with only one minor complication: the MBR and GRUB must be set up on both drives for alternate boot if one drive fails.
1. First setup a boot raid partition (100MB) on each drive
-Do this by creating a raid partition on each drive separately
-Then combine them into one RAID1 ext4 device mounted at /boot
2. Make two 4096GB raid partitions for the swap drive (adjust size as needed)
-Combine them into RAID1 of type swap (not mounted)
3. Next use the rest of the disks to make big raid partitions

Topic: 

Install Subversion on CentOS 5 with Apache


yum install subversion mod_dav_svn
mkdir -p /var/www/svn/test #place to keep repository
svnadmin create --fs-type fsfs /var/www/svn/test #make a test one
chown -R apache.apache /var/www/svn
vim /etc/httpd/conf/httpd.conf #make sure the following two lines are there
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
#
vim /etc/httpd/conf.d/subversion.conf #and add the following

<Location /svn>
   DAV svn
   SVNParentPath /var/www/svn
   # Limit write permission to list of valid users.
Topic: 

centos 5.5 update

cat /etc/redhat-release; rpm -q centos-release #should be 5.4
yum clean all
yum update
cat /etc/redhat-release; rpm -q centos-release #should be 5.5

Topic: 

Useful Linux Programs and Utilities

  • mdb Viewer (views access files, 97 and newer)
  • fontmatrix (organize your fonts)
  • meld (view differences between files)
  • spe (Stani’s Python Editor) - pythonide.blogspot.com/
  • gadmin-samba (visual samba administration)
  • webHTTrack (download whole websites)
  • kiki (regular expression tester)
  • mysql-gui-tools.i386 (administrator & query browser)
Topic: 

Installing Fedora 10 on RHEL/CentOS 5.3 as a Xen DomU

Please be aware that I was not 100% successful using this method:
Note that you cannot install Fedora 10 on RHEL/CentOS 5.2 using virt-install since the image structure has changed. You will need to use the new virt-install in 5.3

  • Prepare LVM with:
    lvcreate -L 5G -n vm_fred vg
    lvcreate -L 1G -n vm_fred_swp vg
    /sbin/mkswap /dev/vg/vm_fred_swp
  • for installation under RHEL/CentOS (note that 32 bit domU's can only run under 32 bit dom0's)
  • Set up the install location with:
Topic: 

Xorg problems and resolution

The best resources I found were:
How to create a modeline: http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
Some general tips: http://www.x.org/wiki/FAQVideoModes
A complex example: http://www.mail-archive.com/fedora-list@redhat.com/msg12682.html
Some detailed debugging tips: http://redhatcat.blogspot.com/2007/09/xorg-for-sharp-aquos-and-nvidia-88...

Using the last link, I found that there were three video ports on the card (DVI0, VGA0 and VGA1) and all my settings were being applied to the wrong one.

Here is the first part of redhatcat, on how to do debugging:

Topic: 

Pages

Subscribe to RSS - CentOS