Linux: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 38: Line 38:
apt-get install php5-mysql
apt-get install php5-mysql
/etc/init.d/apache2 restart
/etc/init.d/apache2 restart
</pre>
=== Install mediawiki ===
See docs.google.com note. And also the link http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_GNU/Linux
<pre>
aptitude install mediawiki php5 apache2 mediawiki-extensions libapache2-mod-php5
[This will install latex]
</pre>
</pre>



Revision as of 15:25, 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 sshd

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   [I choose branch name as MYSQL root password]
apt-get install php5 php-pear php5-suhosin
apt-get install php5-mysql
/etc/init.d/apache2 restart

Install mediawiki

See docs.google.com note. And also the link http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_GNU/Linux

aptitude install mediawiki php5 apache2 mediawiki-extensions libapache2-mod-php5
[This will install latex]

Ubuntu

RHEL