2013年6月4日 星期二

5 ) DebianSqueezeInstallGuide - Request Tracker Wiki

DebianSqueezeInstallGuide - Request Tracker Wiki

MySQL
aptitude install mysql-server rt4-db-mysql

After installation make sure that your database is running:
# service postgresql [status|start|stop|restart]
# service mysql [status|start|stop|restart]
This part is important for the next steps, the DB server needs to be up and running.

Secondly, install RT4Edit

And now install RT 4 itself, at the moment of this writing this means that you'll be installing RT 4.0.4.
aptitude install rt4-apache2
aptitude install request-tracker4
During the installation you'll be asked a bunch of questions, follow the steps and you'll be ok :-) This will create the RT database, configure the DB + the basics for RT.
The last step is to setup apache2 for RT, there are sample configuration files located under /etc/request-tracker4/.
Pick your config and configure it under /etc/apache2/sites-available, from there make a symlink from that file to /etc/apach2/sites-enabled.
open apache2 configuration file.
 vi /etc/apache2/sites-available/default
At the end of this file :
 Include /etc/request-tracker4/apache2-modperl2.conf
 RedirectMatch ^/$ /rt
 </VirtualHost>
Then restart apache (service apache2 restart) and see of RT is up and running.
Restart Apache afterwards:
/etc/init.d/apache2 restart

And voila, you've now installed RT 4 on Debian Squeeze using apt :-)
  • It might happen that aptitude complains about some perl dependencies being outdated. You can update those specific packets using the following command (these are the ones that were complaining on my end):
aptitude -t squeeze-backports install libdbix-searchbuilder-perl liblog-dispatch-perl libhtml-rewriteattributes-perl libplack-perl -y
This forces aptitude to update those packets using the backports repository.
Or just install the package 'request-tracker4' via synaptic and everything will be smooth sailing.

Configuring RT 4Edit

In general your installation should be done, but you probably want to know the location of your configuration files under Debian. Below a list of the locations that I know of:
  • /etc/request-tracker4
  • /usr/share/request-tracker4
The first contains the basic configuration files, like RT_SiteConfig.pm. The latter contains the actual application.
Also be sure to configure Mailgate if you plan to be able to submit tickets via email.

2.1 ) VMware KB: Installing VMware Tools in a Linux virtual machine using Red Hat Package Manager (RPM)

VMware KB: Installing VMware Tools in a Linux virtual machine using Red Hat Package Manager (RPM)

2.1) after debian install , using vmware tools to install

    1. To change to the tmp directory and extract the contents of the tar file into a new directory called vmware-tools-distrib, run:
  • cd /tmp
    • tar -zxvf VMwareTools-<version>.tar.gz
    1. To change directory to vmware-tools-distrib and run the vmware-install.pl PERL script to install VMware Tools, run:
  • cd vmware-tools-distrib
    • ./vmware-install.pl
      Notes:
      • Follow the screen prompts to install the VMware Tools. Options in square brackets are default choices and can be selected by pressing Enter.
      • To compile VMware Tools successfully, you need gcc Compiler and Linux Kernel sources provided by your Linux distribution. Consult your Linux distribution documentation for details on how to install these packages.
      ------
      Type following command to see Linux C Compiler location:
    • $ which gcc
    • Output:
      /usr/bin/gcc

      Display gcc version:

      $ gcc -v

    If you are using Debian /Ubuntu Linux , type the command:

    $ sudo apt-get install gccOR# apt-get install gcc
    ----
    • It is normal for the console screen to go blank for a short time during the installation when the display size changes.
    • Some warnings or errors are normal, like when a files does not exist.
    • Depending on the Linux distribution, your network service might restart after installation. VMware recommends that you invoke this command from the console and not remotely.
    1. If you are running a GUI interface, restart your X Window session for any mouse or graphics changes to take effect.
    2. To start VMware Tools running in the background during an X Window session, run:
      /usr/bin/vmware-toolbox &
    3. Depending on your environment you may need to unmount the CDROM. To unmount the CDROM, run:
      umount /mnt/cdrom

    4. Depending on your environment, you may need to manually end the VMware Tools installation. To end the VMware Tools install, click VM in the virtual machine menu, then click Guest > End VMware Tools Install.
    1. To remove VMware Tools installation packages, run:
    2. cd
    • rm /tmp/VMwareTools-<version>.tar.gz
    • rm -rf /tmp/vmware-tools-distrib
  • 2) 來上電腦課! | Debian 7 VMware Tools 安裝與更新

    2) Debian install on VMWare

    來上電腦課! | Debian 7 VMware Tools 安裝與更新

    1) The Perfect Server - Debian Wheezy (Apache2, BIND, Dovecot, ISPConfig 3) | HowtoForge - Linux Howtos and Tutorials

    1) RT Essentials , basic , you have a linux distro

    The Perfect Server - Debian Wheezy (Apache2, BIND, Dovecot, ISPConfig 3) | HowtoForge - Linux Howtos and Tutorials