If you configure a wrong settings in /etc/fstab, Linux OS can not reboot normally.
The error message is like the followings.
The follwoing commands are simple Logical Volume Management in RedHat Linux.
1. Resize Logical Volume
* Increase :
| # lvextend -L +2G /dev/VolGroup00/LogVol04 # resize2fs /dev/VolGroup00/LogVol00 |
* Decrease :
POSSIBLE SOLUTION:
Verify that the database was shutdown cleanly by doing the following:
1. Verify that there is not a "sgadef<sid>.dbf" file in the directory
"ORACLE_HOME/dbs".
% ls $ORACLE_HOME/dbs/sgadef<sid>.dbf
If this file does exist, remove it.
% rm $ORACLE_HOME/dbs/sgadef<sid>.dbf
2. Verify that there are no background processes owned by "oracle"
% ps -ef | grep ora_ | grep $ORACLE_SID
DNS is an Internet service that translates domain names into IP addresses. Each time you use a domain name,
DNS translates the name into the corresponding IP address. In order to do the translation DNS holds records
for each domain. The most important are the A, CNAME, and MX records. The A record stores the host IP address.
The CNAME is an alias record, which is used to give multiple aliases to a single computer. The MX record is the mail
exchange record, which tells mail servers how to route email for this domain.
1. Edit /etc/aliases to add a new alias.
2. Rebuild the aliases database.
| # newaliases |
Return 0 on success, or a number greater than 0 if there wa an error.
newaleases must be run whenever /etc/aliases has been changed for the change to take effect.
1. Configuration of NFS Server.
* Edit /etc/exports
NFS client : 192.168.1.34, 35
| /home/share 192.168.1.34(rw, no_root_squash) 192.168.1.35(ro) |
rw means read/write. no_root_squash is a setting that allows nfs clients to connect as root.
Without this setting, the root user on clients that connect has the permissions of the user 'nfsnobody', uid 65534.
* Edit /etc/hosts.allow, if you need.
1. halt, powroff, reboot
Halt notes that the system is being brought down in the file /var/log/wtmp, and then either tells the kernel to halt, reboot or poweroff the system.If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when it's running normally, shutdown will be invoked instead (with the -h or -r flag). The rest of this manpage describes the behaviour in runlevels 0 and 6, that is when the systems shutdown scripts are being run.
This is how to install iSeries odbc driver in your ubuntu machine.
First of all you need to download iSeries Access Linux from IBM site. Just for your notice you have to registrate yourself
before you can download anything from IBM site, this is not a big deal, cause it is so simple.
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.
Initially ubuntu server (LAMP) does not include mcrypt for PHP. To install it, the following steps need to be done.
| apt-get install php5-mcrypt /etc/init.d/apache2 restart |
Sometimes you might get the message “php5-mcrypt is already the newest version“. If so, install with: