FreeBSD and Linux changing Desktop Environments/login manager

November 15th, 2010 by upa_kid 
Asked by Christopher Q. I have both FreeBSD and Red Hat Linux desktop computers. I would like to change KDE to GNOME or vice versa. Under FreeBSD X windows is working but without KDE/Gnome desktop, I am using Intel Celeron computer can I run or install kde? A. Changing Desktop Environments under Red Hat Use utility called switchdesk, open terminal, and type # switchdesk Select desktop you would like...

FreeBSD keep ports collection up to date in two easy steps

November 15th, 2010 by upa_kid 
The FreeBSD ports collection offers a simple way for users and administrators to install applications. The ports made FreeBSD quite popular. Keeping ports up to date is an essential task. FreeBSD Install cvsup If you never upgraded freebsd ports collection then first step is required; otherwise skip this step and goto step # 2 # pkg_add -r cvsup-without-gui # mkdir /usr/ports CVSup is a software package...

FreeBSD changing pkg_add package ftp site location

November 15th, 2010 by upa_kid 
pkg_add is a utility for installing software package distributions. It works like Linux apt-get command. It can download package from freebsd ftp site with the remote fetching feature. This will determine the appropriate objformat and release and then fetch and install the package. You can use following syntax: pkg_add -v -r {package-name} For example, you can install vim package: # pkg_add -v -r...

How to export display from Linux to FreeBSD

November 15th, 2010 by upa_kid 
The process is extremely simple all you need to understand is configuration file modification. X Window System use TCP port 6000 to listen network connection. By default almost all operating system including FreeBSD turns off this feature for security reason. Because of this setting you are not allowed to remotely open a window. Let us assume your setup is as follows: +——————–+———————+ |Linux...

Setup VMWARE Host as router for Solaris, Linux, FreeBSD, and Windows XP Guest OS

November 15th, 2010 by upa_kid 
VMware Workstation allows the creation and execution of multiple x86 virtual computers simultaneously. Setting up VMWARE workstation host computer can be tricky. Official VMWARE workstation document recommend of creating vmnet1 and vmnet2. However, you can use eth0 and vmnet1 to route all traffic from guest operating systems via Linux host. This is quite useful: * If you don’t want setup firewall...

FreeBSD: Password expiry / aging policy

November 15th, 2010 by upa_kid 
For security reason you must enable Password expiry policy on FreeBSD box. Linux comes with chage command, which changes the number of days between password changes and the date of the last password change. FreeBSD pw command Use pw command to setup password expiry date for existing user account. Syntax is as follows: pw user mod USERNAME -p DD-MMM-YY Where, * -p DD-MMM-YY: Set the account’s...

Comparison: Linux vs FreeBSD (Bsd) oses

November 13th, 2010 by upa_kid 
If you would like to compare FreeBSD and Linux, then keep in mind following points: * SMP support * Portability * Reliability/robust * Performance * Security * Filesystem * Support (community and vendor) * Clean code and well documented API * Amount of software/applications * 3rd party apps support Feature FreeBSD Linux SMP support Good (v5.x/6.x+) Very Good (2.6+) Reliability/robust Very Good...

FreeBSD Gnome Installation howto

November 11th, 2010 by upa_kid 
GNOME is a complete desktop environment (no matter what Linus says ). In GNOME, everything is easy to use, and works the way you want. So how do you install Gnome Desktop system under FreeBSD? These days it is quite easy to install Gnome Desktop system under FreeBSD. You have following choices (use only one of the method). Option # 1: Fetch and install Gnome binary package from Internet To install...

FreeBSD Install Lighttpd Web Server

November 11th, 2010 by upa_kid 
I’ve received couple of request about running Lighttpd web server under FreeBSD: How do I install Lighttpd web server under FreeBSD along with MySQL 5 and PHP5? lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set...

FreeBSD Update Software and Apply Security Patches

November 11th, 2010 by upa_kid 
Updating FreeBSD server system is quite easy. You can apply security patch to keep freebsd system up to date. Required tools aka software You need to have following tools on system (a) portmanager – FreeBSD ultimate ports update utility. (b) portsnap – It is a system for securely distributing the FreeBSD ports tree. Approximately once an hour, a snapshot of the ports tree is generated,...

ktrace – FreeBSD / Mac OS X Process Tracing and Reporting Tool

November 8th, 2010 by upa_kid 
// Under Linux you can use strace or valgrind tool for reporting and finding a bug. However, under *BSD / Mac OS X you need to use ktrace as replacement for strace tool. kreace runs on the following platforms: => FreeBSD => OpenBSD => Mac OS X => NetBSD The ktrace utility enables kernel trace logging for the specified processes. Kernel trace data is logged to the file ktrace.out. The...

FreeBSD phpmyadmin — Cross Site Scripting Vulnerabilities Fix

November 6th, 2010 by upa_kid 
An unpatched security hole in phpMyAdmin can be exploited by malicious people to conduct cross-site scripting attacks under FreeBSD. This also applies to phpmyadmin version under other UNIX like oses. Input passed via unspecified parameters to files in /libraries is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user’s...