Jump to Navigation


296 - Salesforce.com Rest password by APEX

if you want to check the User Id and user pass their username, you can just copy
and paste statement below into Apex Code execute box:

System.setPassword([SELECT Id FROM User WHERE username='user01@mydomain.com'].Id, 'pass123');

Below sample script to set password of all active user in one go:

295 - VMware Tools fail to start after a Linux guest kernel upgrade

If you are using VMware 4.x, you encounter this problem.

1. symptoms

 - VMware Tools fail to start after a Linux guest operating system kernel upgrade.
 - VMware Tools fail to run after booting to a different Linux guest operating system kernel.
 - The guest operating system loses network connectivity if the NIC type is not E1000.

293 - MX records

MX stands for Mail Exchange Records. MX records are used in DNS records(or Zone files) to specify how email should be routed.

You can check the following command to look at MX information.

[root@localhost]# nslookup
> set q=mx
> google.com

1. Multiple mail servers

282 - NAT configuration on iptables

Iptables is used to set up, maintain, and inspect the tables of IPv4 packet filter rules in the Linux kernel.
Several different tables may be defined. Each table contains a number of built-in chains and may also contain user-defined chains.

Each chain is a list of rules which can match a set of packets. Each rule specifies what to do with a packet that matches.
This is called a 'target', which may be a jump to a user-defined chain in the same table.

1. Configure NAT PREROUTING by command.

281 - Create Private CA (Certificate Authority)

For a web-server to be able to accept 'https://' requests, a private/public key-pair (for Apache2 w/ mod_ssl) needs to be generated
and stored in the proper location(s). To create a self-signed private/public 1024 bit key-pair that will be valid for 365 days...

1. Create a private CA

278 - DMZs and iptables

iptables rules can be set to route traffic to certain machines, such as a dedicated HTTP or FTP server, in a demilitarized zone (DMZ) - a special local
subnetwork dedicated to providing services on a public carrier such as the Internet.

For example, to set a rule for routing incoming HTTP requests to a dedicated HTTP server at (outside of the range of the LAN),
NAT calls a PREROUTING table to forward the packets to their proper destination :

243 - VMware ESX VIB (Package)

VMware uses a file package called a VIB (VMware Installation Bundle) as the mechanism for installing or upgrading software packages on an ESX server.
The file may be installed directly on an ESX server from the command line, or through the VMware Update Manager (VUM).

For new installs, you should perform the following steps :

1.Copy a package

235 - Creare 64bit Virtual Machine in VMWare

If you want to create a virtual machine in VMWare ESXi5 or else. You need to modify the Server BIOS before that.

This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible sometimes.
That is "VT-capable". VT might be disabled if it has been disabled in the BIOS settings or the host has not been power-cycled
since changing this setting.

163 - CentOS : How to install OS using net installation.

Downloading CentOS iso image is painful, you have to get 8 iso images from the download site or get torrent DVD.
If you use the torrent DVD, you need a software (bittorrent).

CentOS NetInstall is basically installing from a very small downloaded ISO image which downloads the needed files to complete the full operating system
installation. The following explains the process of installing CentOS 6.0 using the HTTP NetInstall method. This method is much faster for basic systems
since you don't have to download a lot of ISO files.


089 - Virtual Hosting using Apache2 on ubuntu/linux

Virtual Hosting allow web servers to host more than one website on a sing machine. This is how sharing hosting works.
This allows you to access to your local repository using addresses such as http://mysite.com instead of http://localhost/~myuser/www/ : ) .
If you have installed webmin in your server, it might be easy to setup apache vitrual host.

1. Prepare for your configuration file.


Subscribe to RSS - configuration

Main menu 2

by Dr. Radut