Search

Sunday, February 12, 2012

Development Setup on Fedora 16

Install Apache Web Server


yum groupinstall "Web Server"

Apache Configuration

Install graphical interface for Apache configuration
yum install system-config-httpd
System configuration tool then need to be ran as root :
/usr/bin/system-config-httpd
or you can configure Apache server manualy :
vim /etc/httpd/conf/httpd.conf
vim /etc/httpd/conf.d/README

source : http://hacktux.com/fedora/apache

Troubleshooting

On Fedora you can run the following command which should give you the full error message :
/usr/sbin/httpd -t
The -t flag runs a syntax check on the configuration files so if there are any syntax errors there then this should help.

Fedora 16 installation on Dell Inspiron N5030

Objective : troubleshoot all hardware & configurations problems occured when installting Fedora 16 on Dell Inspiron N5030 laptop.

Environment : Fedora 16 64 bit on Dell Inspiron N5030

Wireless Network

problem : wireless connection is not detected
solution : Find wireless network card specification & download driver.

Install Repository

Enable repository access using command line for Fedora 15 & 16 :
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

source : http://developify.wordpress.com/2011/08/12/activate-broadcom-sta-wireless-driver-in-fedora-14
http://rpmfusion.org/Configuration

install broadcom-wl and the appropriate kmods all at the same time in a single yum or rpm command.

Activate Broadcom STA wireless driver


Touchpad Setting

problem : tap on touchpad as mouse click is not working

Keyboard Layout

problem : wrong keyboard layout, displayed characters not exactly matched the clicked keys.
solution : change Keyboard layout based on prefered layout.
System>Preferences>Keyboard>Layouts, "Add", "Choose a Layout" select "By Language" tab, Language: "English (US)".

Sunday, January 22, 2012

Problem with MySQL - socket error

Problem : cant connect to mysql.
Error message : "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'"

Failed Attemps :
1. restart mysql service
2.
sudo mkdir /var/run/mysqld/
//Create the file by “touching” it.
sudo touch /var/run/mysqld/mysqld.sock
//Set the ownership of the mysqld.sock file and folder to mysql.
sudo chown -R mysql /var/run/mysqld/
source : http://anthologyoi.com/computers/cant-connect-to-local-mysql-server-through-socketerror.html

solution :
source : http://bikramkawan.com.np/error-2002-hy000-cant-connect-to-local-mysql-server-through-socket-varrunmysqldmysqld-sock-2/

Monday, January 16, 2012

SSH on Ubuntu

Location : ASEAN Foundation
Objective : set up SSH server on 192.1681.8, so it can be accessed from 10.0.0.126.

Process

check :
iptables configuration
file : /etc/ssh/ssh_config

Solution : use port 2222, not 22
#ssh localhost -p 2222

additional

Log in as root in ubuntu :
# sudo passwd