Skip to main content

Posts

Showing posts with the label scientific linux

installing nvidia display driver on EL6

this is tutorial to install nvidia display driver on enterprise linux *all of the command must be executed as root user  1. check the nvidia product type lspci -nn | grep VGA here you will have the infomation what proprietary driver you should download from www.nvidia.com site. 2. install the Development Tools group packages, kernel headers, kernel devel, and dkms yum groupinstall "Development Tools" yum install dkms kerne-devel kernel-headers 3. disable the nouveau driver using your text editor vim /etc/modprobe.d/blacklist.conf #add this line blacklist nouveau 4. go to /boot directory make a copy of initramfs file cd /boot mv initramfs-$(uname -r).img initramfs-$(uname -r).img.bak 5. proceed to create new initramfs file dracut -v initramfs-$(uname -r).img $(uname -r) 6. change inittab to start the system with no X11 vim /etc/inittab change runlevel to 3 7. restart the system reboot 8. login in command line as root, run the script to install t...

how to install GIGABYTE ethernet driver for linux

in our tour of duty, we are facing another case where the ethernet device on motherboard didn't recognize by linux kernel. here are the specification : motherboard  : GIGABYTE G41MT-S2PT linux operating system :   Scientific Linux 6.0 another enterprise-based linux (centos, oracle linux) will works (i hope). we have try with fedora 14 , but it didn't recognize the device and the driver is not available yet. fortunate we have found the driver in binary (RPM package). first download the package file from the following links : i386 driver : kmod-atl1e-1.0.1.14-1.el6.elrepo.i686.rpm x86_64 driver : kmod-atl1e-1.0.1.14-1.el6.elrepo.x86_64.rpm step 1 install the package by typing  (as root) rpm -ivh kmod-atl1e... .rpm step 2 change directory to /etc/sysconfig/, please check whether there is a file called network, if there isn't create new file with your favourite text editor. cd /etc/sysconfig/ vim network the content of network file : NETWORKING=...

about gigabyte NIC onboard not detected on enterprise linux distribution

on several gigabyte motherboard, onboard network interface card  will not be detected on enterprise linux distribution (e.g. scientific linux, oracle linux server, etc). alternatively you must supply add-on card. or if you insist to use the onboard card, you must install the unofficial nic driver. this is tutorial how to install driver for onboard network interface card GIGABYTE first of all prepare your system. make sure it has package group "Development Tools" installed. if it has not, install it # yum groupinstall “Development Tools” download the source code : https://www.dropbox.com/s/na91bu4az4p9827/AR81Family-linux-v1.0.1.14.tar.gz extract the source code : # tar zxvf AR81Family-linux1.0.1.14.tar.gz the extraction process will make the new directory "AR81Family*", change to the directory # cd AR81Family* compile the source by type on terminal : # make then, # make install wait until the compiling process finish. next make the new scrip...

how to reset root password

this is the tutorial how to reset your root password. it can be applied to redhat enterprise linux-based (oracle linux, centos, scilinux, fedora ). 1. restart your system, wait until it boot-up. press 'esc' to enter the GRUB menu 2. select from GRUB menu your linux kernel, it usually like this "kernel-vmlinuz-*" , press 'e' to edit 3. edit the at last line (it usually like this "rhgb linux quiet"), change it with :     rhgb linux single     or,     rhgb linux quiet 1 (this two lines above works well with fedora), or     rhgb linux single init=/bin/bash (use this line if the previous doesn't work, especially with enterprise-based distribution) press 'enter' then 4. back to the GRUB menu, choose the kernel and press 'b' to boot 5. wait for the system to boot-up and if the change succeed it will bring the system to login directly as root user 6. type command 'passwd' to enter your new root password note: ...

how to connect httpd service to mysqld service

connecting http service to mysql service this is tutorial to connecting htttpd and mysqld on separated pc (dedicated server) on this example information provides for the database server has ip address 192.168.1.100, and the web server has ip address 192.168.1.200 this tutorial is using oracle linux server 6 but this can be applied to rhel-based distributions on the database server pc access your server, $ mysql -u root mysql create new database, mysql>create database namedb; create database user, mysql>create user 'user'@'host_ip_addr_webserver' identified by 'password' note : use sign '%' at host if you want your database server to be accessed from any IP's give user created to access database, mysql>grant all on namedb.* to 'user'@'host_ip_addr_webserver'; mysql>flush privileges; mysql>exit edit iptables to open port tcp:3306 on the web server pc check first your pc can remotely access da...