Gnu/Linux
Setting Up Postfix On Ubuntu
Submitted by atuljha on Thu, 03/04/2010 - 21:07Requirement :-
1.A dedicated IP
2.A domain name with A record pointing to the IP/server.
3.Domain Panel control for adding MX record.
In my case my domain name is xyz.com and my hostname is xyz.net.in
Installing Postfix
$sudo apt-get install postfix
Installing Mailx, client to read/send incoming outgoing mails.
$sudo apt-get install mailx
Changes to make in postfix configuration file.
$sudo nano /etc/postfix/main.cf
LAMP setup on Ubuntu
Submitted by atuljha on Wed, 03/03/2010 - 10:12Packages we will install as LAMP Stack
1.apache2
2.mysql-server
3.php5
4 .Phpmyadmin
(Installing apache2 and php5)
$apt-get install update
$apt-get install apache2 php5 libapache2-mod-php
$cd /var/www
$sudo nano testing.php
<?php phpinfo(); ?>
$firefox localhost/testing.php
On the browser we can see all the information about the php we have installed.
Installing mysql server/client both
Setting up AUCTeX Mode for Emacs in Jaunty(Ubuntu).
Submitted by atuljha on Tue, 02/02/2010 - 17:43$ sudo apt-get install auctex, preview-latex-style
Once installed add the below mentioned part in your ".emacs" file.
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
Open emacs and try opening a .tex file from there and cheers you are done with it.
Conencting Remote Host without password with RSA/DSA PUBKEY for SSH/SCP.
Submitted by atuljha on Fri, 04/17/2009 - 10:51OKEY
a tech blog i would say after ages.
now what i was thinking few days back to connect to my dev server from my own box without typing PASSWORD again and again.So this is what i did actually
so what i did kindaa 2 simple.
1.on my computer
i generated a key with simple command
<-------------------------------------------------------------------------------------------------------------->
koolhead17@debian:~$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/koolhead17/.ssh/id_rsa):

