Posts mit dem Label fedora werden angezeigt. Alle Posts anzeigen
Posts mit dem Label fedora werden angezeigt. Alle Posts anzeigen

Sonntag, 21. April 2013

Dark theme for Eclipse Juno on dark Xfce in 3 steps

[EDIT 2013/11/08]
In the meantime, Eclipse Kepler was released and I have moved to an Eclipse installation via Arch User Repository. I do not know which of both broke my guide, but I really couldn't get it to work any more, so I checked the web again and found THIS "install-new-software"-installable theme via Stackoverflow. To turn it on, go the same way as before (Window->Preferences->General->Appearance).

Hey folks!

Since I had to spend some time googling again to make this work, I thought I'd just write down the necessary steps for some of you.

Actually it is pretty easy to "dark theme" eclipse juno when knowing how to:
  1. Install "dark juno" by Roger Dudler from here by
    1. Downloading the plugin zip file
    2. Extracting the "plugin" folder from the zip with its contents to <eclipse installation directory>/dropins/
    3. (Re-)starting Eclipse
    4. Navigating to Window->Preferences->General->Appearance and choosing "Dark Juno" in the dropdown
  2. Install the Eclipse Color Theme from the Eclipse Market
  3. Look for a nice theme on http://eclipsecolorthemes.org/ and apply it via Window->Preferences->General->Appearance->Color theme
That should be it. My result (with Color theme "Zenburn") looked like this:

Happy coding!

Sonntag, 7. April 2013

Set up an apache/httpd server on fedora 18 for raspberry pi

Hello!

Setting up an apache server on raspberry with fedora 18 is straight forward.

Just run the following command (as root):
# yum install httpd

After that, you probably want to start apache and have it started at bootup:
# service httpd start
# systemctl enable httpd.service


To unblock port 80 in fedora's firewall (make the server available from outside), run

# firewall-cmd --add-port=80/tcp
and (to make it permanent. i.e. surviving reboots)
# firewall-cmd --permanent --add-port=80/tcp

You may also want to install the following packages
  • mysql mysql-server
    installs mysql and its database server. Autostart by running
    # systemctl enable mysqld.service
  • php
    install php 5
  • php-mysql
    installs mysql support for php
by running
# yum install <packagename>
where you replace <packagename> with one or more of the ones given above.

After having installed all of them, you're running a complete LAMP (linux, apache, mysql, php) server on your raspberry.

Congratulations!

[UPDATE Apr. 28 2013] Since solely running "firewall-cmd" will not survive any restarts, I added the additional command including "--permanent" option to the blog post.

Samstag, 16. Februar 2013

[Fedora 18 x64] Enable Adobe flash player in Steam for Linux

Hey folks!

The last two days I played around a little with the (relatively) new steam for linux.
One thing I noticed was, that game preview videos did not play with the notice that flash player wasn't installed.
So I searched the web and finally found THIS guide, which basically just
  1. downloads the 32bit flash player from HERE, 
  2. extracts the libflashplayer.so from it and 
  3. places it in /usr/lib/mozilla/plugins. You will need super user rights to do this.
This worked fine for me, although you have to make sure the lib is marked executable (and readable, of course). If you can't remember the command, here you go:

sudo chmod 755 /usr/lib/mozilla/plugins/libflashplayer.so

Afterwards, restart steam if it has been running and enjoy!