more linux updates, thoughts (includes fedora)

since last month, i had been using Fedora. i find this 95 % identical to ubuntu. first i'll explain similarities, then differences.

why i installed Fedora at first place, few commercial applications (maya / mocha / pftrack), there installers come by default in rpm format ( Fedora / red hat installer formats) not as deb files ( ubuntu intallers ). i know, i can convert rpms to debs via some utils (alien), which i had been doing previously for maya. but now i thought as more companies are using Fedora in big studios as far as i konw, so i thought no harm in checking this.
still ( personal opinion) all software developers (linux) should learn from nuke / houdini, these installers worked everywhere... love this..



installing Fedora was simple, process is 99 % similar to Ubuntu.
  1. download Fedora from website gnome or kde whatever you like.
  2. download unetbootin (in windows)
  3. plug usb, format in fat32 version ( critical )
  4. run unetbootin in, give it your fedora iso file ( downloaded above)
  5. it will create bootable usb (live usb)
  6. restart machine and boot from usb. run / try live usb
  7. from apps, install fedora, process is again pretty similar to ubuntu.

proxy problem is again similar, it exists exactly as it was in ubuntu. so its hard to deal with proxy here as well. except you can set that in firefox and browse.

gnome shell 3, which was released few months ago, is implemented in fedora and default. where as you have to install that in ubuntu and turn off unity.
as far as usage is concerned, i find gnome shell 3 100 % similar in fedora and ubuntu. no difference at all.

Conclusion for linux flavor,
  • esthetically, i'll prefer ubuntu over fedora for its ease of use / bigger and friendlier community
  • technically, no difference, i am ok with both now.
Conclusion for desktop manager / shells,
  • esthetically, i'll prefer KDE over Gnome. i had concluded this for myself in past and recently i concluded again. its better design solution. its more complete solution. specially after gnome 3, i feel, may be in future, when more touch devices will be common, it will make more sense. plus its current implementations have some serious issues. i personally want to suggest, that gnome 3 should consider apple top bar design implementation. clock should go to right, app menus should be part of gnome top bar.  currently lot of space is wasted
    • gnome top bar
    • then heavy app name , with close button top bar
    • then app main menu top bar
    • these three top bars should be merged ideally like in mac..
  • technically, not much difference.


fedora add remove software app (gui)  is not as smart / cool as ubuntu synaptic is. here in fedora, i quickly get used to for yum which is equivlant of apt wget from ubuntu.
few common yum operations are
sudo yum install gimp
sudo yum remove gimp

check update
sudo yum list updates
check specific package updates
sudo yum update gimp

seach package everywhere ( pc / repos /  )
sudo yum search gimp
get info about package before installing
sudo yum info gimp

remove old headers of packages that no longer are in database
sudo yum clean all
list packages that yum can install
sudo  yum list available|less
list installed packages
sudo yum list installed|less
list installed packages that can be updated
sudo yum list updates|less

GENERAL rpm vs yum
This command will list any package that has "fox" in it's name..
sudo rpm -qa | grep fox
sudo yum list | grep fox
This command will list what is required by the firefox package...
sudo rpm -q -R firefox
sudo yum deplist firefox
This command will erase the firefox package...
sudo rpm -e firefox
sudo yum remove firefox
This command will erase multiple packages at once
sudo rpm -e firefox thunderbird
sudo yum remove firefox thunderbird
This command will list installed packages
sudo rpm -qa
sudo yum list installed

if manually delete a folder, now wanna remove / uninstall / db entry as well
sudo rpm -e --noscripts pftrack
A bit brutish but you could try:
sudo rpm -e --nodeps --allmatches --noscripts pftrack

just to save my a** from future trouble, i should mention that. LAMP or XAMPP doesn't exist in fedora. or lets say, its not meant for fedora or lets say, i find it difficult to setup for me. later on, i realise that, actually "httpd" is fedora default solution for this, instead of xamp. below is how i configure this.
installation apache/mysql/php
sudo yum -y install httpd php mysql mysql-server php-mysql

test installation for php support
sudo yum install php mod_suphp

more php modules to support web servers
sudo yum install php-mysql php-magickwand  php-devel php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-magpierss php-mapserver php-mbstring php-mcrypt php-mssql php-shout php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel

securing / new password for root , press "y" to almost all options
sudo mysql_secure_installation



restart sql server
/etc/init.d/mysqld restart
start Apache:
/etc/init.d/httpd start

creating menu in apps, create apacheStart.desktop in /usr/share/applications and copy paste following lines
------------------------------------------------
[Desktop Entry]
Name=Httpd Start
GenericName=Start Apache Server
Comment=Apache Service Start from Terminal
Type=Application
Exec=sudo /etc/init.d/httpd start
Icon=/usr/share/icons/xampp.png
Terminal=true
MimeType=application/x-kdenlive;
Categories=Qt;Programming;Development;
------------------------------------------------

installing phpmyadmin
sudo yum install phpmyadmin
run phpmyadmin via
http://localhost/phymyadmin
give mysql username and password to login..


If you want to allow phpmyadmin connection from other locations other than localhost, then modify the following file

    gedit /etc/httpd/conf.d/phpMyAdmin.conf

by commenting out the following lines

   
    order deny,allow
    deny from all
    allow from 127.0.0.1
    allow from ::1
   


basically replacing the lines above with

    #
    #order deny,allow
    #deny from all
    #allow from 127.0.0.1
    #allow from ::1
    #

No comments:

Post a Comment