Friday, March 20, 2015

CentOS 6 Auto Starting Apache httpd Start at Boot

CentOS Auto Starting Apache httpd Automatic Start with System


In the example shown in the image below, Cent OS was accessed through an SSH connection utilizing Putty.

In the image below, the same process or procedure to set Apache httpd to automatically start with the system was done using a VMware console access via vSphere Client.



Auto-start Apache httpd service at boot time 


 The process and steps are simple and straight forward.

Let's look for the status of httpd to see whether is is setup to auto-start with the system during reboot , restarts, etc.
1. Run the command chkconfig --list | grep http  .
       For the output, you will see a series of OFF settings as shown in the accompanying images.

2.  Run the command chkconfig httpd on 
        There is no output to this command.
          If completed successful, ie. no errors, the command prompt is returned on the next line.

3. Run the command from step 1 again to confirm,  chkconfig --list | grep http

      In step 1 we saw a series of OFFs, after set to on we see ONs instead
                   






Share/Save/Bookmark

Up your Support Game and Services with Online Computer Support Software. Issues with Cent-OS Apache web server and many other issues can be resolved remotely. Technical issue are not limited to web server issues. The issues can consist of  Microsoft Windows desktop applications, Windows server configurations and even devices such as routers and firewalls. When you are assisting others or receiving technical assistance, software that allows remote control connections over the Internet makes problem resolution easier. 





Saturday, February 14, 2015

Command Line to Find Dell Service Tag HP Serial Number

Command Line to Find Dell Service Tag HP Serial Number


A standard command line window can be used to find a Dell service tag. BCM command line utilities do not have to be installed, neither does DRAC or iDRAC have to be configured or even enabled. It is accomplished using Windows Management built-in functionality. 

Desktops or Servers Service Tag or Serial Number

On an HP system, the serial number can be easily retrieved by starting a command prompt and entering or typing in : WMIC BIOS GET SERIALNUMBER  (the command can be upper or lower case). On  Dell system, PC or server,  the same command line will return the service tag of the system for the serial number. 



Command line to get the serial number or service tag of a white-box computer 

On  a "white-box" system you might get the serial number if it has been entered into the field which is queried by the command line to determine the service tag or serial number of the system.  Commonly however, when trying to acquire the serial number using Windows Management the results "To Be Filled by O.E.M." . 


Linux Command line to get the Dell service tag or HP serial number

The ability toe retrieve the service tag or serial number of a system is not limited to Windows operating systems. It is also possible on Linux based systems. On Cent OS or Red Hat Linux for example, the following command line utility can be executed to retrieve the serial number or Dell service tag.

Command To Find Out Dell Service Tag

      # dmidecode | grep -i serial      
or 
      # dmidecode -t 1

You may have to install DMIDECODE first if it is not available. 
This can be done by executing the following: 
       
# yum -y install dmidecode




Display the SID of the Logged User

Not related to serial numbers or service tags however a useful command that's been buried and not widely used since it's unknown is the whoami command . A Windows Command prompt CLI window is all that is needed. If shown this command to fellow techs , experienced techs, that often work with user profiles and windows system registries. They are shocked how quick it is to obtain the logged in user SID. With the need for even PowerShell, just a windows command prompt.
open a command prompt window on any version of windows, and enter 

 
              c:\> whoami /user   

and hit enter.

I have the output of the command to display the SID of the logged in user in this short post.





Whether it's Dell service tag for a server or a desktop, a useful method for helping users or server administrators is by using remote support software. Dell service tag can be obtained easily when you have access to the desktop, Microsoft server or VMware vSphere environment.  Software for PC Support Online for on demand remote access adds a cost effective  and efficient online method for  access.  Dell servers and desktops  can be supported as well as servers and desktops from other major vendors such as HP and HPe. Of course, virtual and physical desktops and all productivity and  user applications such as Microsoft Outlook and the Microsoft's Office 365 products and services. A support tool to backup or just to work in conjunction with your current remote access application https://www.4remotesupport.com.  More than one software support tool is a must and having an alternative for on-demand  Online PC Remote Support Software to remotely access desktops online and provide support only improves the service you provide.  Try for Free. 




Share/Save/Bookmark