Karberos Installation Error

1. Error kinit

root@krb:/home/user# kinit
kinit: Client not found in Kerberos database while getting initial credentials

solution :
we need to write user after kinit
example
root@krb:/home/user# kinit root/admin
Password for root/admin@EXAMPLE.COM :

2. Error krb5-rsh Client
root@krb:/home/user# krb5-rsh -x -PN krb.example.com
error getting credentials: Server not found in Kerberos database

solution :
we need to add princ “host” that is associated with krb services

users and the services must have an appropriate principal entry in the Kerberos database. While users are in form of NAME/ROLE, services are in form SERVICE-NAME/HOSTNAME. So we need to add a principal for service “host” (common name for all shell services), on host where the service is provided — krb.example.com.

sudo kadmin.local
Authenticating as principal root/admin@EXAMPLE.COM with password.

kadmin.local: addprinc -randkey host/krb.example.com

WARNING: no policy specified for host/monarch.spinlock.hr@SPINLOCK.HR; defaulting to no policy
Principal “host/krb.example.com@EXAMPLE.COM” created.

kadmin.local: ktadd -k /etc/krb5.keytab -norandkey host/krb.example.com

kadmin.local: quit

kinit root/admin

source : http://techpubs.spinlocksolutions.com/dklar/kerberos.html#krb-adduser-priv

Error GCC installation

error: Building GCC requires GMP 4.2 , MPFR 2.3.1 and MPC 0.8.0 .Try the –with-gmp, –with-mpfr and/or –with-mpc options to specifytheir locations. Source code for these libraries can be found attheir respective hosting sites as well as at…

i found this problem when i tried to install gcc for avr development on ubuntu

when i went to download site and tried to install it by source i still got problem. i might miss some parameter when i run ./configure.

just to save my time i prefer to do installation by apt-get, fortunately these package of GMP, MPFR, and MPC

[php]
apt-get install libgmp-dev libgmp10
apt-get install libfmpr-dev
apt-get install libmpc-dev
[/php]

for avr development tools
[php]
apt-get install gcc-avr
apt-get install avr-libc
apt-get install gdb-avr
apt-get install avrdude
[/php]

Fatal Server Error: no screens found after installing fglrx

Fatal server error:
no screeen found

after i install fglrx by downloading via amd homepage i got above error on my ubuntu 11.10. apparently there are some miss-configurations after the installation process.

so as suggested by some sites, i uninstall fglrx by running

# cd /usr/share/ati
# sudo sh ./fglrx-uninstall.sh

and once again i reboot my laptop expecting i can get my normal screen, but again
i get
Fatal server error:
no screeen found

if u experience the same problem you may do this :
1. press ctrl+alt+f1 this will bring you to terminal
2. i decide to reinstall fglrx and get new configurations for my display so i run this command
[php]sudo apt-get –reinstall install fglrx[/php]
3. reboot, u should get your normal screen back 🙂

source
http://mrrichard.hubpages.com/hub/2-Ways-to-Install-FGLRX-in-Ubuntu-1110-Oneric
http://askubuntu.com/questions/25519/how-to-remove-amd-unsupported-hardware-without-reinstalling-the-driver

FreeBSD 7 & 8 Installation Step by Step

This is minimal installation of FreeBSD 7 & 8. By installing only minimal package and service means we will learn how to perform installation of services by ourself 🙂

just follow the gallery below 😀

Setting Ad hoc network (Peer to Peer) Windows 7

This is step by step to create an adhoc network or peer to peer using wifi on windows 7. ad hoc networks can be useful in general for sharing needs, ranging from sharing files and media, to Internet sharing. In addition these networks typically also used to play online games locally.

needed to make this network a computer or more, to make it follow the steps below:

1. In windows 7 open> Control Panel and select Network and Internet and then select Network and Sharing Center
2. Choose Setup New Connection or Network, then the menu that contains connection options provided windows 7 will appear, from the menus there select setup a wireless ad hoc basis.
3. After selecting the menu appear on wireless ad hoc explanation, click next
4. Next comes form that must be filled in. Those are the Network Name: Type Security, and Security Key;
enter the required information

for example Network Name: HpmeAdhoc, Security Type: WPA2-Personal, Security Key: 12345678,

save of this network part is used if you want to save ad hoc configuration, so that if restart the computer we dont need to perform the steps from 1 to 3.
5. When finished filling click Next.
Continue reading Setting Ad hoc network (Peer to Peer) Windows 7

USB Bootable Windows 7 Installation

usb bootable windows 7 is windows 7 installation software booted via usb flashdisk. any flashdisk with capacity larger than 3.5 GB can be use as usb bootable windows. All you need to create usb bootable windows 7 installation is windows 7 installation software in ISO format, windows 7 USB DVD downloader for microsoft, and Flashdisk larger than 3.5 or 4 GB. you will need more than 4 GB for windows 7 64 bit installation. but for 32bit windows 7 installation you will need approximately 2.5 Gb.

here are the steps to make usb bootable windows 7 :

1. Make sure you have windows 7 installation in ISO format.
2. Download Windows 7 USB DVD Downloader form here
3. Run Windows 7 USB DVD Downloader, just choose OK to default install

usb bootable windows 7 installation
usb bootable windows 7 installation

4. After you finished the installation windows 7 usb dvd downloader icon will come up to your desktop. Run this program as administrator
windows7 USB DVD downloader
windows7 USB DVD downloader

windows7 USB DVD downloader
windows7 USB DVD downloader

5. Select the media and Click next
6. Open or Choose the Windows 7 Installation in ISO format
windows7 USB DVD downloader choose ISO to install
windows7 USB DVD downloader choose ISO to install

7. Choose Install and wait untill Finish 😀

Reinstall Apache2 on Ubuntu

there is some problems when i want to reinstall apache2 through aptitude / package. when i try usual apt-get remove apache2 then apt-get install apache2 i always get this message

/etc/apache2/envvars: No such file or directory
invoke-rc.d: initscript apache2, action “start” failed.

the message then says that its probably because you have deleted dir apache2. the problem is on apache2.2-common, but simple apt-get remove or dpkg –purge wont work, mostly because thera still package dependencies that prevent the package from deletion. after googling sometime i find same post that has been solved by running this command :

[php]sudo apt-get remove –purge $(dpkg -l apache* | grep ii | awk ‘{print $2}’) && sudo apt-get install apache2[/php]

that command will aslo work for usual reinstall (reinstall without any problem before)

http://www.gnulinux.in/forum/apache2-error-etcapache2envvars-no-such-file-or-directory

Virtualmin Suexec Problem

The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

to solve this problem

1. install custom version of suexec
apt-get install apache2-suexec-custom
2. modify /etc/apache2/suexec/www-data
nano /etc/apache2/suexec/www-data
3. change first line /var/www to /home

it should solve the problem

Uninstall Package and It’s Configurations on Ubuntu

Ubuntu comes with package management system, apt. you can easily use apt-get to install or remove package in the other words install or remove software (program) on your ubuntu machine.

Uninstall Package on Ubuntu 11.10

Installing software command
apt-get install packagename
for example
apt-get install bind9

removing software command
apt-get remove packagename
for example
apt-get remove bind9
Continue reading Uninstall Package and It’s Configurations on Ubuntu