HomePCNew: Difference between revisions

From Wiki RB4
Line 34: Line 34:
* edit 000-default (add ProxyPass und ProxyReversePass)
* edit 000-default (add ProxyPass und ProxyReversePass)
* restart apache with sudo /etc/init.d/apache2 restart
* restart apache with sudo /etc/init.d/apache2 restart
* for PHP edit saved /etc/php5/apache2/php.ini to php.ini.bak and edit for mediawiki
* to enable java plug-in working in firefox switch to sun java:
* to enable java plug-in working in firefox switch to sun java:
** sudo add-apt-repository "deb http://archive.canonical.com/ lucid  partner"
** sudo add-apt-repository "deb http://archive.canonical.com/ lucid  partner"

Revision as of 14:28, 15 August 2010

Windows XP

Admin Password: halloo

192.168.178.202 Subnet 255.255.255.0 Standardgateway 192.168.178.1 DNS 192.168.178.1

Nur Verwaltungsstationen dürfen den Rechner starten

Ubuntu

  • Ubuntu 10.04 Desktop
  • im Boot Menu quit und splash entfernt und xforcevesa und nomodeset hinzugefügt
  • in shell /etc/default/grub GRUB_CMD_LINUX_DEFAULT um nomodeset mit sudo gedit ergänzt und update-grub aufgerufen
  • User: uwe halloo
  • Nachinstallation nach: http://www.unixmen.com/linux-tutorials/956-things-to-do-after-a-fresh-install-of-ubuntu-1004-lts-lucid-lynx-made-easy-with-ubuntu-start-script und http://www.unixmen.com/linux-tutorials/937-things-to-do-after-installing-ubuntu-1004-lts-lucid-lynx
  • Docky auf Intellihide
  • alten Rechner mounten mit: sudo smbmount //192.168.178.201/root /pctemp -o username=root,password=halloo und kopieren
  • feste IP mit System -> Preferences -> Network Connections 192.168.178.201, Gateway 255.255.255.0, DNS 192.168.178.1
  • in /etc/fstab UUID=359bbc09-4b74-4f63-9c93-bd85c9b10099 /media/Data ext4 defaults 0 2 ergänzt
  • decommented in /etc/mysql/my.cnf the entry bind-address
  • mysql --user=root and use mysql and INSERT INTO user (Host, User, Passwort) VALUES('%','root',); and CREATE DATABASE mysql504;
  • mysql and GRANT ALL PRIVILEGES ON *.* TO root WITH GRANT OPTION;
  • sudo apt-get install tar bzip2 gzip zip unzip unace p7zip lha rar unrar-free
  • sudo apt-get install unp
  • download jboss-5.1.0.GA.zip, unzip, copy to /opt/ and chown -R root <DIR>
  • sudo cp /home/jboss/jboss/bin/jboss_init_redhat.sh /etc/init.d/jboss
  • adjust /etc/init.d/jboss
  • sudo chmod ug+x /etc/init.d/jboss
  • sudo update-rc.d jboss defaults
  • System->Administration->Samba->Button Add Share + Select Directory + Access Tab + Select samba user + Preferences->Samba Users + Change Password of user uwe to halloo
  • in Windows Map Network Drive 192.168.172.201/root with User uwe and password halloo
  • sudo a2enmod proxy_ajp (creates /etc/apache2/mods-enabled/proxy.conf und proxy_ajp.conf)
  • cp /mods-enabled/proxy.conf as backup to proxy.conf.bak
  • edit proxy.conf (Deny from all to Allow from all)
  • cp /sites-enabled/000-default to 000-default.bak as backup
  • edit 000-default (add ProxyPass und ProxyReversePass)
  • restart apache with sudo /etc/init.d/apache2 restart
  • for PHP edit saved /etc/php5/apache2/php.ini to php.ini.bak and edit for mediawiki
  • to enable java plug-in working in firefox switch to sun java:
    • sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    • sudo apt-get update
    • sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-jdk
    • sudo apt-get install sun-java6-fonts
    • sudo update-java-alternatives --set java-6-sun
    • java -version
  • WOL: install ethtool and in /etc/rc.local add ethtool -s eth0 wol g and in /etc/init.d/halt change NETDOWN=no and in /etc/default/acpi-support change STOP_SERVICES="networking"