====== OpenSuSe Postinstall ====== ===== - Useful info ===== * Subscribe to http://dominique.leuenberger.net/blog/. In rare cases an update causes problems, you can read about it there and hold off the update until it's resolved. * Subscribing to https://lists.opensuse.org/opensuse-factory/ might also be a good idea to stay up to date. * https://fosspost.org/tutorials/things-to-do-after-installing-opensuse ===== - ibus-unikey ===== **works now with current TW. Add input "vietnamese (unikey)" form menu** ===== - Fcitx unikey ===== * https://fcitx-im.org/wiki/Install_(OpenSUSE)#Next_step * See Other languages zypper in fcitx fcitx-m17n fcitx-table-other fcitx-unikey zypper in fcitx-config-gtk3 ==== - Configure ==== Open ~/.profile (if there is no such file, create one) and add export INPUT_METHOD="fcitx" to this file. Restart. ==== - Customize Fcitx ==== fcitx-configtool is a gtk based tool for change Fcitx configuration. It has gtk2 and gtk3 support. And for gtk2 version, it will be single instance application if compiled against libunique. Search and use fcitx software ==== - Install input method ==== If not installed above: zypper in fcitx-unikey Restart fcitx fcitx -r ===== - LAMP Server ===== * https://en.opensuse.org/SDB:LAMP_setup * http://linuxcampinas.blogspot.com/2015/12/how-to-install-mysql-in-opensuse.html ==== PHP 7 ==== Install following: php7-zip php7-gd systemctl restart apache2.service ==== PHP 5 ==== **Php 7 is the default, we install Php 5 <--- dokuwiki works with php 7 now** Install php5 (1click) from here: https://software.opensuse.org/package/php5 . This will add repo Leap 42.3. Then follow the 2 links above. ==== Lock PHP7 ==== Preventing php7 when zypper up. zypper addlock php7 ===== - User public_html ===== localhost:/home/dang # cp -p /etc/apache2/mod_userdir.conf /etc/apache2/conf.d/ Uncomment UserDir public_html Add AllowOverride for user's .htaccess: #AllowOverride FileInfo AuthConfig Limit Indexes AllowOverride All ===== - Font Config ===== http://www.ocsmag.com/2017/09/23/opensuse-fonts/ Yast font config ===== - Multimedia ===== * web video: https://en.opensuse.org/SDB:Firefox_MP4/H.264_Video_Support ==== - Chromecast ==== * https://en.opensuse.org/Chromium ===== - Nvidia ===== ===== - Oracle Java ===== * https://www.reddit.com/r/openSUSE/comments/7s5yef/how_to_install_oracle_jdk_8_in_opensuse_tumbleweed/ Install rpm but alternative failed. So... 10005 sudo update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/bin/java" 1 10006 sudo update-alternatives --set java /usr/java/latest/bin/java 10007 sudo update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/bin/javac" 1 <---- oopss error 10010 sudo alternatives --display java 10015 sudo update-alternatives --remove java /usr/java/latest/bin/javac <---- fixed 10016 sudo update-alternatives --config java 10018 sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/latest/bin/javac" 1 10019 sudo update-alternatives --set javac /usr/java/latest/bin/javac ==== - Browser plugin ==== * https://en.opensuse.org/SDB:Installing_Java#Install_Oracle_Java_SE /usr/sbin/update-alternatives --install /usr/lib64/browser-plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/latest/jre/lib/amd64/libnpjp2.so 3 --slave /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws --slave /usr/share/man/man1/javaws.1 javaws.1 /usr/java/latest/man/man1/javaws.1 ==== - Script (not tried) ==== * https://github.com/jeffery/oracle-java/blob/master/install-jdk.sh ===== - Skype ===== * https://en.opensuse.org/Skype ===== - Printer ===== * Cups. Open with firefox. Chrome not working localhost:631 Download driver ppd files if not found in the list. ====== Headline ======