Skip to main content

Posts

Showing posts from April, 2013

about systemd: how to change default runlevel (previously using inittab)

systemd does not use /etc/inittab file to change the default runlevel. systemd uses symlinks to point to the default runlevel. You have to delete the existing symlink first before creating a new one. # rm /etc/systemd/system/default.target example to switch to runlevel 3 : # ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target next example if you want to switch to run level 5 : # ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target another options that may apply : poweroff.target --> runlevel 0 rescue.target    --> runlevel 1 multi.user.target --> runlevel 2,3,4 graphical.target --> runlevel 5 reboot.target --> runlevel 6 source: http://fedoraproject.org/wiki/Systemd

about rdesktop commands

basic usage to access the remote server $ rdesktop (serveraddr) example to access the computer on 192.168.1.1 $ rdesktop 192.168.1.1 to enable full screen mode $ rdesktop -f 192.168.1.1 to set spesific windows size $ rdesktop -g 800x600 192.168.1.1 (some common screen resolution can be use: 800x600, 1024x768, 1280x1024) sharing files to share a local directory with windows os remote server $ rdesktop -r disk:(sharename)=(path) (serveraddr) example to access the remote server on 192.168.1.1 and the sharing directory /home/vadya/pub/ using network share name "sharing" $ rdesktop -r disk:sharing=/home/vadya/pub 192.168.1.1 optimizing speed enabling compression (-z) and disabling mouse events (-m) will reduce network bandwidth and can make the connection much more responsive.  $ rdesktop -z -m 192.168.1.1 using a smaller color palette helps reduce network bandwidth $ rdesktop -a 16 192.168.1.1 source: http://wiki.rrc.uic.edu/wiki/RRC-SCS:_Using_rd...

openfire: instant messaging server

Openfire is a powerful instant messaging (IM) and chat server that implements the XMPP protocol. This document will guide you through installing Openfire. For a full list of features and more information, please visit the Openfire website: http://www.igniterealtime.org/projects/openfire/ A. INSTALLATIONS first download the binary package from : http://www.igniterealtime.org/openfire-3.8.1-1.i386.rpm then r un it using your package manager to install Openfire to /opt/openfire (as root): rpm -ivh openfire_3_0_0.rpm Note: if you are using the .tar.gz build, it does not contain a bundled Java runtime (JRE). Therefore, you must have JDK or JRE 1.5.0 (Java 5) or later installed on your system. You can check your java version by typing "java -version" at the command line and (if necessary) upgrade your Java installation by visiting http://java.sun.com. B. SETUP the database In the Openfire setup tool, use the following values: driver: com.mysql.jdbc...