FreeBSD : How to disable ACPI on boot by default
Edit /boot/loader.conf and set the following value to ” 1 ” : hint.acpi.0.disabled=”1″
Edit /boot/loader.conf and set the following value to ” 1 ” : hint.acpi.0.disabled=”1″
Trying to update BIOS on Dell PowerEdge server running CentOS Linux may fail to complete with no further explanation even if all software requirement has been met do do the upgrade from the OS. This is because Dell does not recognize CentOS (which is a 100% RedHat binary compatible) as a supported OS (such as… Read More »
When installing and configuring Zimbra for the first time on RHEL/CentOS 6, it return that LDAP failed to initialize and then the config script exit. The log file probably indicate the following error : Initializing ldap… *** Running as zimbra user: /opt/zimbra/libexec/zmldapinitsudo: sorry, you must have a tty to run sudo IO::Socket::INET: connect: Connection refused… Read More »
Do the following to find and replace text string in a whole file using the Vi text editor : 1. Enter in command mode by typing ” : ” 2. Your command should look like this : :%s/search_for_text/replace_with_this_text/g NOTE : To search & replace a string containing slashes ” / “, use a coma ”… Read More »
In some rare circumstances, your system may boot without network interface and you discover the following message in dmesg : udev: renamed network interface eth0 to eth1 Since RHEL6, kudzu is no longer available since the kernel and udev take care of hardware changes. So, you need to modify using udev to get back you’re… Read More »
Here is the traditional way to set static route on Linux OS. route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1 The best way to make it permanent, is to add the gateway directly to the interface by editing the interface script : /etc/sysconfig/networking/devices/ifcfg-eth0 add : GATEWAY=192.168.1.1 To remove a static route : route del -net… Read More »
Follow these steps to add a permanent static route to Windows. 1. Open the command prompt (must be done as administrator). 2. Enter the following command and replace with your network information : route -p add <NETWORK_IP> mask <NETMASK> <GATEWAY_IP> Let’s explain in details with the following IP information… assume we want to add a… Read More »
If you are running OSX on a laptop or computer that is powered off or sleeping between 3 h 15 and 5 h 30 am, you may need to execute the maintenance script from command line by yourself to clean up your system from old system logs and temporary files. To do so, execute the… Read More »
This procedure is about creating a ISO image file from CD/DVD using the command line on a Mac OS X. First, you can retrieve information about the media with the following command : drutil status Then, the disk must me unmounted to proceed : diskutil unmountDisk disk1 Ok, let’s make the ISO file now :… Read More »
Changing the default hostname and make it permanent is quite easy. You can go through preference panel or using the command line : scutil –set HostName HOST_NAME Once you’ve pressed enter, you’ll be prompted to enter the admin password.