Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
HomePCNew
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Ubuntu 15.04 64-bit=== * User: ** uwe Tiger059xx ** root Tiger059xx ** Jakob JakobJakob * Hostname: Ubuntu-64bit * MAC 00:19:66:FB:66:80 (eth0) * Systemeinstellungen -> Anwendungen & Aktualisierungen -> Zusätzliche Treiber -> NVIDIA binary driver 34076 (Proprietär, getestet) * Systemeinstellungen -> Darstellung -> Größe der Startersymbole * Systemeinstellungen -> Anzeigegeräte -> Klebrige Ränder -> AUS * Systemeinstellungen -> Darstellung -> Zeige die Menüs für ein Fenster in der Titelleiste des Fensters * Systemeinstellungen -> Netzwerk -> Kabelgebunden -> IPv4-Einstellungen Methode Manual Adresse 192.168.178.202 Netzm192aske 255.255.255.0 Gateway 192.168.178.1 DNS servers 192.18.178.1 * mount second disc and embedded partition with old Linux cd /media sudo mkdir SecondDisc sudo mkdir OldLinux * add to /etc/fstab UUID=359bbc09-4b74-4f63-9c93-bd85c9b10099 /media/SecondDisc ext4 defaults 0 2 UUID=b161613a-ba98-42f6-ba2a-bee03a536bcb /media/OldLinux ext4 defaults 0 2 sudo mount -a ====Partitions==== * /dev/sda1: ext4, f41fca42-05d7-4036-88ca-74fbe342e5f0, for Ubuntu 15.04 * /dev/sda2: Container for logical partions, 400GB * /dev/sda5: ext4, 389GB, b161613a-ba98-42f6-ba2a-bee03a536bcb * /dev/sda6: Linux swap, 10 GB, 6a318dc7-70e4-404d-b5b6-bafd13eda247 * /dev/sdb1: ext4, 359bbc09-4b74-4f63-9c93-bd85c9b10099, 500GB ====Apache==== * Ubuntu Software-Center -> Apache HTTP Server * normal pages go to /var/www/html =====Configuration===== * [[HomePCNew#JBoss|UweHeuer JBoss application configuration see here]] ======Enable SSL====== * according to [https://wiki.ubuntuusers.de/Apache/SSL/ here] ** create private key: sudo -i openssl genrsa -out /etc/ssl/private/apache.key 2048 ** create a certificate openssl req -new -x509 -key /etc/ssl/private/apache.key -days 365 -sha256 -out /etc/ssl/certs/apache.crt exit ** check if apache is listening at port 443 as configured in /etc/apache2/ports.conf ** activate ssl module sudo a2enmod ssl sudo service apache2 force-reload ** edited /etc/apache2/sites-available/default-ssl.conf to use the new key and certificate ** activate it by sudo a2ensite ssl.conf sudo service apache2 force-reload ====Caffeine==== * prevent screen saver while watching TV by =====Version 2.8===== * currently not used * has no configuration dialog anymore and disables screensaver if an application is running in full screen mode sudo add-apt-repository ppa:caffeine-developers/ppa sudo apt-get update sudo apt-get install caffeine * start Caffeine and Caffeine Indictor via Unity start menu (Dash) =====2.5===== * installed via https://launchpad.net/~caffeine-developers/+archive/ubuntu/ppa/+packages * select deb file from version 2.5 which starts software center * added 'Kaffeine' to configuration but has to be checked ====Cairo Dock==== * install by sudo apt-get install cairo-dock cairo-dock-plug-ins ====Classic Menu Indicator==== * install classic menu indicator sudo apt-add-repository ppa:diesch/testing sudo apt-get update sudo apt-get install classicmenu-indicator * start it via search in Unity start menu (Dash) and enter the name ====Enable remote Access To Desktop==== * in Dash search for 'Arbeitsfläche' and select 'Freigabe der Arbeitsfläche' * select 'Anderen Benutzern erlauben ...' anzuzeigen and zu steuern * select password 'halloo' * select UPnP router * use VNC client with port 5900 ====Enable remote Shutdown==== * sudo visudo ** add '''uwe ALL = NOPASSWD: /etc/MyShutdown.sh''' to prevent passwort Abfrage ** add apache user '''www-data ALL = NOPASSWD: /etc/MyShutdown.sh''' to prevent passwort Abfrage * create /etc/MyShutdown.sh and make it executable * create /var/www/Shutdown.php ====Fritzbox==== * configured according to http://dominicpratt.de/fritz-nas-unter-debianubuntu-einbinden/ * mkdir /media/fritzbox * install cifs-utils * create /etc/samba/auth with access data [[Fritzbox7390#NAS]] * sudo mount -a ====Gnome System Tools==== * installation by apt-get install gnome-system-tools ====Java==== * Ubuntu Software-Center -> Bearbeiten -> Software Paket-Quellen -> Andere Software -> Hinzufügen -> ppa:webupd8team/java * Ubuntu Software-Center schliessen * sudo apt-get install oracle-java8-installer java -version gives 1.8.0_66 * add in java console /usr/lib/jvm/java-8-oracle/bin/jcontrol * Sicherheit -> Ausnahmeliste http://localhost/uweheuer/ http://www.uweheuer.de/uweheuer/ http://euve33303.vserver.de/uweheuer/ * and 'Erweitert -> Konsole anzeigen' anwählen * java console /usr/lib/jvm/java-8-oracle/bin/jcontrol * enable clipboard and encryption by editing /usr/lib/jvm/java-8-oracle/jre/lib/security/java.policy with [[EONISLaptopHPNew#Java_and_JDK|this]] * copy a backup to /backup/my.java.policy * set /usr/lib/jvm/java-8-oracle/jre/lib/security/java.policy like above to avoid security exceptions and enable cut© in uweheuer applet ====JBoss==== * download installer version of JBoss EAP from www.jboss.org * start installer by sudo java -jar jboss-eap-6.4.0-installer.jar * to /root/EAP-6.4.0 * with user admin and password Halloo0@1 * check can be done http://localhost:8080 * create autostart daemon according to [https://wiki.ubuntuusers.de/SysVinit here] by copying /etc/init.d/jboss7 from old installation and adjust path, then register by sudo chmod 755 /etc/init.d/jboss7 sudo update-rc.d jboss7 defaults // log goes to /var/log/uwes.log * enable remote access according to [[JBoss#Enabling_Remote_Access|here]] via Admin Console -> Configuration -> General * Configuration -> Interfaces * make directory accessible for everyone by in root directory sudo chmod 777 root * add ProxyPass entry for JBoss console in /etc/apache2/sites-enabled/default-ssl.conf (and decommented in 000-default.conf) ProxyPass /uweheuer ajp://localhost:8009/uweheuer ProxyPassReverse /uweheuer http://localhost/uweheuer ProxyPass /jboss7-console http://localhost:9990/console ProxyPassReverse /jboss7-console http://localhost:9990/console * add to /etc/apache2/sites-enabled/000-default.conf Redirect permanent /uweheuer https://192.168.178.202/uweheuer * sudo a2enmod proxy_ajp (creates /etc/apache2/mods-enabled/proxy.conf und proxy_ajp.conf) * edit /etc/apache2/mods-enabled/proxy.conf (Deny from all to Allow from all) * add the following entries in JBoss admin console -> Configuration -> Web -> Servlet/HTTP -> Connectors -> Add Name: ajp SocketBinding: ajp Protocol: AJP/1.3 Scheme: http Enabled: true * service apache2 restart ====Kaffeine==== * Installation according to [http://wiki.ubuntuusers.de/kaffeine here] * Fernsehen -> Configure Television -> Ordner setzen ====MiniDLAN==== * installation according to [https://wiki.ubuntuusers.de/ReadyMedia by apt-get minidlna * will include autostart service * edit /etc/minidlna.conf media_dir=V,/media/SecondDisc/Movies // for video folder friendly_name=Ubuntu MiniDLNA // for clients inotify=yes // to autodetect new files * and restart service by service minidlna restart * log file goes to /var/log/minidlna.log ====Mediawiki==== * copy /var/lib/mediawiki/ from Ubuntu 14.04 to new /var/lib/mediawiki/ (all configurations are stored in /var/lib/mediawiki/LocalSettings.php) * call batch on HP Laptop CopyMediaWikiTo192.168.178.202.bat
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width