Gnu/Linux

Setting Up Postfix On Ubuntu

 Requirement :-

 

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

Packages 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).

 $ 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. Laughing out loud
 
 

 

 

Conencting Remote Host without password with RSA/DSA PUBKEY for SSH/SCP.

OKEY

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):

Syndicate content

User login

Navigation

Syndicate

Syndicate content