In order to create a trunk port in ESX you need to : Within vSphere or ViClient go to the “Configuration” tab. Select “Networking“ Select your “Add Networking“. Choose “Virtual Machine” and click “Next“ Select your Virtual Switch (or create one), then click “Next“ Choose you Network label and then add the VLAN ID as … Read more
In this article we will encrypt (using AES 256 cbc) and password protect (Salt the AES) a file using the openssl binary. The file we will encrypt will be the file secretfile.txt.As you can see it is just a plain text file. [root@linux tmp]# cat secretfile.txt This is a secret file that we do not … Read more
When starting the httpd process you may receive the following error : Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName You might get this error when restarting Apache. To resolve the issue add the following to your httpd.conf file : ServerName 127.0.0.1
In order to embed an SWF into a Word 2007 Document please follow these steps : Click the Microsoft Office Button on the top left corner. Click Word Options at the bottom of the panel Select Show Developer tab in the Ribbon and click OK On the Developer tab click the icon of hammer and … Read more
RRDtool is the OpenSource industry standard, high performance data logging and graphing system for time series data. The RRDtool homepage can be found here Below shows you how to install RRDtool 1.3.1 on Redhat Enterprise Linux. Update your system [root@localhost /]# yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel make -y Download and … Read more
Issue When trying to add a user you get the following error message, User name or password has an invalid format Solution This can be down to either Your password is not eight characters in length. Your password or username entered contained characters outside of the character types allowed. These are : – Alphanumeric Characters … Read more
This tutorial was created using the vSphere client, but the general steps should pretty much the same for the Virtual Infrastructure Client.If you are using vCentre please read the notes relating to this at the bottom of the article. Create Privileges Click “View | Administration | Roles” Right client and cick “Add” Select a name … Read more
Below shows you how to display line numbers within vi. Enable While in VI and not in `Insert Mode`type the following to display the line numbers : :set number Disable To disable line numbers enter the following : :set nonumber
Environment variables are a set of dynamic named values that can affect the way running processes will behave on a computer. %ALLUSERSPROFILE% Returns the location of the All Users Profile %APPDATA% Returns the location where applications store data by default. %CD% Returns the current directory string %CMDCMDLINE% Returns the exact command line used to start … Read more
Your windows box installed another bunch of windows updates and keeps asking you if you want to restart. To disable this reminder, Go into the Command Prompt. via Start / Run / CMD. Enter the command sc stop wuauserv This change is temporary and updates will continue upon the next reboot.
Issue When trying to add a image to your CGI script you recieve the following error and the image isnt displayed. [root@localhost cgi-bin]# cat /var/log/httpd/error_log [Fri Jul 10 20:51:39 2009] [error] [client 10.2.2.5] Premature end of script headers: picture2.jpg, referer: [Fri Jul 10 20:57:57 2009] [error] [client 10.2.2.5] (8)Exec format error: exec of ‘/var/www/cgi-bin/picture2.jpg’ failed, … Read more
Issue You receive the following error when trying to run an application (such as rrdtool), No fonts found; this probably means that the fontconfiglibrary is not correctly configured. You may need toedit the fonts.conf configuration file. More informationabout fontconfig can be found in …. Solution Run yum install deja* If you receive the following, –> … Read more
The alias command allows you to create command shortcuts within your shell. Below shows you how, move to your home directory, [root@localhost ~]# cd ~ add the alias of os which will show the output of ‘uname -a’ [root@localhost ~]# cat >> .bash_profile [root@localhost ~]# alias os=’uname -a’ Reload you environment variables for your new … Read more
Solaris is a UNIX based (BSD derivative) operating system. Nativity based on Sun (SPARC) hardware, Solaris allows for high performance due to its lightweight and minimal design. Basic Configuration /etc/inittab – sets run-level (default 3, runs scripts under S, 2 and 3) /etc/init.d/ – boot scripts /etc/rc?.d/S* – links to scripts to be run on … Read more
The command below with present you with a random fact, lynx -dump randomfunfacts.com | grep -A4 “\[3\]”| tail -n1 You can place it into your ~/.bash_profile file so that you receive a random fact everytime you log in.
Issue After creating a new user account you may find that on login you recieve the following error, -bash: /dev/null: Permission denied -bash: /dev/null: Permission denied -bash: /dev/null: Permission denied Solution /dev/null is a character special device which should have read+write permissions for everybody.Run the following to confirm the current permissions for /dev/null, ls -l … Read more
Within this article we will be creating a named serial pipe on 2 machines to allow us to connect to a virtual machines serial port. In this example we will use hyperterminal on a virtual XP machine to connect to the serial port of another virtual machine (in this case SUSE Linux) Adding a serial … Read more
Want to learn more about Operating Systems and Databases?