Categories
Linux

Fedora 15: Misc. Fixes

This is more of a self documentation – the problems I faced and how I solved them.

1) Bluetooth is available but device is not visible. Functions are disabled.

Thanks to @roytush for the tweet I was in need so badly 😉

2) File permission set to 777 but still php can’t include() the file.

Changed the SELinux Context to: httpd_user_script_exec_t

3) WiFi not working

First I updated the kernel to the latest version:

Then installed required packages:

I downloaded this file : http://download.wireless-driver.com/driver/Realtek/RTL8191_8192_SE/rtl8192se_linux_2.6.0015.0127.2010.tar.gz

Extracted it and then run:

I restarted my system and My WiFi came up! 🙂

I shall face more issues as I go. I shall try to update this post with updates. Stay tuned!

Categories
Linux

Fedora Tweaks: Enable Root Login via GUI, Install mp3 codecs and VLC

Enabling Root Login Via GDM:

REMEMBER: Logging as root gives you godlike powers on a Linux system. Changes you make using this user can break your system. So it’s highly recommended you don’t login as root unless you’re certain about what you’re up to.

On Fedora 15, open “/etc/pam.d/gdm” and uncomment this line:

auth required pam_succeed_if.so user != root quiet

And then open “/etc/pam.d/gdm-password” and uncomment this line:

auth required pam_succeed_if.so user != root quiet

Logout and try logging in as root.

Installing Mp3 Codecs and VLC:

Fedora by default doesn’t distribute many apps. So we have to use some external repos. RPM Fusion is one of the most popular RPM repo. First we enable it:

Then we install VLC:

Categories
Linux Personal

Fedora 15 “Love Lock” and My Experience

Fedora 15, codename “Love Lock” features Gnome3 as the default desktop environment. The UI is stunningly beautiful but the navigation requires some getting used to. Biggest surprise – no minimize button, Gnome3 devs focused on the use of workspace rather than minimizing. However I found out that we can still minimize by right clicking on the window of the application. But without playing much with the GUI, I jumped into setting up my work environment. Installing LAMP was a bit different given my past experience in Ubuntu.

Then started the service :

Changed ownership of the /var/www directory:

Then I fired up nautilus, browsed /var/www and deleted all the files. Created a index.php with phpinfo(). And then tried to restart the server:

It failed because the server document root was wrong in the httpd.conf. When installing apache on Fedora, the server document root is /var/www/html which I deleted while cleaning up /var/www. So I installed nano:

And then edited the /etc/httpd/conf/httpd.conf file with nano to fix the issues. Then again restarted the server and it worked 🙂

Besides, I learned this command:

It checks the httpd.conf for syntax errors.

I created a test user and then tried to delete the user. The GUI had issues with that. Then found this command to do that:

I downloaded Skype and installed. It’s working fine. So far the experience is good. I am learning lots of commands and I’m loving it 🙂