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!
===Older Ubuntu Versions=== * 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 * 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 ====User==== * uwe halloo ====My Scripts==== */home/uwe/RenameM2T_to_MPG.sh */home/uwe/DeleteRecursiveMPG.sh ====Firefox==== * installed by http://forum.ubuntuusers.de/topic/einsteigerhilfe-firefox-4-auf-ubuntu-10-10-ins/ ====Fritzbox==== * configured according to http://dominicpratt.de/fritz-nas-unter-debianubuntu-einbinden/ * add /etc/fstab with noauto, because network is not yet available while booting and operating fstab * mkdir /media/fritzbox * create /etc/samba/auth * sudo mount -a or sudo mount /media/fritzbox-nas or in root dophin to mount the NAS ====KDEWallet==== * pwd Halloo0@1 ====Dolphin==== * in Network add Server4You root directory ====Apache==== General configuration information for configuration and operation can be found [[Apache|here]] * sudo apt-get install apache2 * pages in /var/www/ * added to /etc/apache2/sites-enabled/000-default proxy configuration to JBoss for uweheuer application * 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 * install phpmyadmin and enable log in without password in /etc/phpmyadmin/config.inc.php ====Java==== * download java 7 32-bit for i586 for Linux from oracle website and extract it to /usr/lib/jvm/jdk1.7.0_45 * set JAVA_HOME in /etc/environment * set /usr/lib/jvm/jdk1.7.0_45/jre/lib/security/java.policy to avoid security exceptions and enable cut© in uweheuer applet permission java.awt.AWTPermission "accessClipboard"; permission java.security.AllPermission; * to enable it in Firefox cd /usr/lib/mozilla/plugins ln -s /usr/lib/jvm/jdk1.7.0_45/jre/lib/i386/libnpjp2.so =====Upgrade to Java 8===== * following advice from [https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get here]: sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer java -version // delivers java version "1.8.0_45" * 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]] * 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 5==== * 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 * '''manual start or stop''' in terminal with sudo /etc/init.d/jboss [start|stop] * add modify content access right to directory /opt/jboss-5-1.0.GA/server/default ====JBoss 7==== =====Upgrade to EAP 6.4===== * copied locally de-zipped version to /usr/share/jboss-eap-6.4/ * adjusted symbolic link /usr/share/jboss7 * added remote access according [[JBoss#Enabling_Remote_Access|JBoss]] * make add-user.sh executable by '''chmod a+x add-user.sh''' * add user 'UweHeuer' with 'Halloo0@1' * make deployment directory accessible for everyone by '''chmod ugo+rw deployments/''' * create sub directory 'uweheuer' in data directory for UweHeuer application =====JBoss 7===== !!! partly obsolete - see [[#Upgrade_to_EAP_6.4|upgrade]] !!! * download JBoss 7.1 to /tmp * cd /usr/share * tar xvf /temp/jboss-as-7.1.0.Final.tar.gz * ln -s /usr/share/jboss-as-7.1.0.Final /usr/share/jboss7 * create /etc/init.d/jboss7 according to https://gist.github.com/1543449 and ajust pathes, users and commands * adjust /usr/share/jboss7/standalone/configuration/standalone to accept remote access for normal and admin users according to [https://community.jboss.org/thread/168789?tstart=120 this] * add ajp to connect to http proxy for uweheuer and jboss console <connector name="ajp" protocol="AJP/1.3" socket-binding="ajp" enabled="true"/> * /usr/share/jboss7/standalone/configuration/standalone.xml.sik is a backup in case of data loss * add admin user 'UweHeuer' with password 'halloo' by add-user.sh * added database configuration according to [[JBoss#Database_Configuration|here]] * /etc/init.d/update-rc.d jboss7 defaults * operation see [[JBoss]] ====Mediatomb==== [[Mediatomb]] ====MySQL==== * decommented in /etc/mysql/my.cnf the entry '''bind-address''' * added /etc/mysql/my.cnf the entry '''wait_timeout=2147483''' because JBoss DB connection are shut down by mysql after a long time (default value is 28000) * '''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;''' ====Samba==== * ''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 ====Gitlab==== * Installation of [[GitLab|GitLab]] according to [https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md here] * but errors ====Postfix==== * Installationsanleitung nicht mehr bekannt (vermutlich http://wiki.ubuntuusers.de/Postfix) and additionally for send via gmail [https://rtcamp.com/tutorials/linux/ubuntu-postfix-gmail-smtp/ this] * smtp server access put in /etc/postfix/sasl_password, update postfix db and restart by sudo postmap hash:/etc/postfix/sasl_password sudo /etc/init.d/postfix restart * create /etc/init.d/SendMailAtStartup.bat and chmod +x SendMailAtStartup.bat * /etc/init.d/sudo update-rc.d SendMailAtStartup.bat start 20 2 3 4 5 . * /etc/init.d/sudo update-rc.d SendMailAtShutdown.bat stop 20 0 1 6 . To see the mail in queue use mailq If many mails have been queued e.g. because of an error than you can delete all queued mails by su postsuper -d ALL '''Logs''' are in /var/log/mail.err and /var/log/mail.log ====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 ** installation in /usr/bin/(java|ControlPanel) ** java -version ====Wake Up On LAN==== * 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"''' ====Mediawiki==== * copy content of mediawiki-1.25.1.tar.gz to /var/lib/mediawiki * installation via first call http://localhost/mediawiki ** Admin username: WikiSysop halloo ** Database name: mediawiki ** DB user: root ** DB password: root * all settings are stored in \var\lib\mediawiki\LocalSettings.php * copy from Laptop to New Home PC via CopyUwesWikiTo192.168.178.202.bat * Apache configuration is stored in /etc/mediawiki/ ====Prevent some daemons like apache don' start==== * see https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506/+index?comments=all * copy /etc/init/rc-sysinit.conf, mountall.conf, rc.conf and ufw.conf to *.bak * comment all '''console output''' entries in original files * in /etc/init/rc-sysinit.conf replace start on stanza to '''start on ( filesystem and started rsyslog and net-device-up IFACE=lo )''' ====root enabled==== sudo passwd root Password: <dein User Passwort> (halloo) New password: halloo Re-enter new password: halloo ====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 * create /var/www/Shutdown.php ====Enable remote Access==== * Gnome Menu -> System -> Preferences -> Remote Desktop -> Allow Users to view your desktop -> * -> Allow Users to control the Desktop * -> Password 'halloo' * still error with menu display (tried this http://superuser.com/questions/41944/nvidia-restricted-driver-invisible-menus-when-using-vnc) ====Disable Screen Saver while watching TV==== see http://linuxundich.de/de/ubuntu/dem-bildschirmschoner-eine-auszeit-gonnen/#more-6849 * sudo add-apt-repository ppa:caffeine-developers/ppa * sudo apt-get update && sudo apt-get install caffeine * Applications->Accessories->Caffeine add Caffeine Cup Icon to Panel * Click to Cup->Enable/Disable Screensaver ====Remove USB Hard disk==== 'Safely remove drive' produces errors and won't be fixed (in ubuntu version 12 udisk2 will be used). To see all USB devices: lsusb mount sudo fdisk -l So use: * hdparm -Y /dev/sdg * sudo umount -l /dev/sdg * eject /dev/sdg
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