Linux: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 30: Line 30:
=== Install LAMP ===
=== Install LAMP ===
See the page [http://library.linode.com/lamp-guides/debian-6-squeeze]
See the page [http://library.linode.com/lamp-guides/debian-6-squeeze]
<pre>
apt-get install apache2
a2enmod rewrite
apt-get install mysql-server
apt-get install php5 php-pear php5-suhosin
apt-get install php5-mysql
/etc/init.d/apache2 restart
</pre>


== Ubuntu ==
== Ubuntu ==


== RHEL ==
== RHEL ==

Revision as of 15:15, 28 October 2012

FAQs

Debian

Install guest addition for virtualbox

See the link [1]

apt-get update
apt-get install build-essential module-assistant
m-a prepare
cd Downloads
tar xzvf /media/cdrom0/VMwareTools-9.2.0-799703.tar.gz
cd vmware-tools-distrib
./vmware-install.pl
[Accept all default]
shutdown -r now

Remote desktop connection

  1. Go to System -> Preference -> Remote desktop. Allow other uses to view your desktop & uncheck you must confirm each access & require user to enter this password.
  2. Go to System -> Preference -> Monitor. Change monitor resolution to 1280 x 720.

Instal ssshd

apt-get update
apt-get install openssh-server

Install LAMP

See the page [2]

apt-get install apache2
a2enmod rewrite
apt-get install mysql-server
apt-get install php5 php-pear php5-suhosin
apt-get install php5-mysql
/etc/init.d/apache2 restart

Ubuntu

RHEL