https://help.ubuntu.com/community/FreeNX
1. sudo apt-get install python-software-properties
2. sudo add-apt-repository ppa:freenx-team
If not working, just manually add
deb http://ppa.launchpad.net/freenx-team/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/freenx-team/ppa/ubuntu lucid main
3. sudo apt-get update
4. sudo aptitude install freenx
5. nxsetup script is missing. sudo mv nxsetup /usr/lib/nx/nxsetup
6. sudo chown root:root /usr/lib/nx/nxsetup
7. sudo /usr/lib/nx/nxsetup --install
Wednesday, 10 November 2010
Monday, 25 October 2010
mediawiki installation
Download first
http://www.mediawiki.org/wiki/Download
Install LAMP on your server.
Uncompress the package and make the config directory writeable by chmod a+w config.
Use web browser to access the directory. ("http://localhost/config")
Create the account for mediawiki on MySQL and job done.
If you have previous version of mediawiki and want to use the old data, just use mysqldump to backup the old data and restore it for the new version.
http://www.mediawiki.org/wiki/Download
Install LAMP on your server.
Uncompress the package and make the config directory writeable by chmod a+w config.
Use web browser to access the directory. ("http://localhost/config")
Create the account for mediawiki on MySQL and job done.
If you have previous version of mediawiki and want to use the old data, just use mysqldump to backup the old data and restore it for the new version.
Enable public_html on user accounts (Ubuntu)
1. a2enmod userdir
2. /etc/init.d/apache2 force-reload
3. Open /etc/apache2/apache2.conf and add "UserDir /home/*/public_html" at the end
4. /etc/init.d/apache restart
To enable php under user account, remove,
< IfModule mod_userdir.c >
< Directory /home/*/public_html >
php_admin_value engine Off
< /Directory >
< /IfModule >
from /etc/apache2/mods-available/php5.conf
2. /etc/init.d/apache2 force-reload
3. Open /etc/apache2/apache2.conf and add "UserDir /home/*/public_html" at the end
4. /etc/init.d/apache restart
To enable php under user account, remove,
< IfModule mod_userdir.c >
< Directory /home/*/public_html >
php_admin_value engine Off
< /Directory >
< /IfModule >
from /etc/apache2/mods-available/php5.conf
Thursday, 6 May 2010
Change MAC address under Linux
This command could change the MAC address temporarily.
ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
Subscribe to:
Comments (Atom)