Archives

Category Archive for: ‘linux_tips’

mongoDB – under SUSE SLE11 – SP3

0

Getting started with mongoDB under Suse Linux. Installation:

Note: Default port is 27017 Starting/Stopping mongoDB server:

Verify server status:

Make it part of the autostart for different run levels:

Getting started with mongoDB

Read More

Hide/Show Desktop Icons on SUSE

0

Sometimes it is desirable to have a clean desktop. The following steps will allow you to achieve that with minimal commands.

Read More

LAMP – install on Ubuntu

0

Easiest way to install LAMP stack on Ubuntu servers

Yes the ^ is needed.

Read More

dummy sendmail

0

Lets say you are developing an app that sends mail, but you don’t want to actually send any mails out. The answer for your quest is “dummy sendmail”

Read More

sudo config

0

sudo is a standard way to give users some administrative rights without giving out the root password. This can also be configured for non root users as well.

Read More

sftp only access (no shell access)

0

Add the following lines to /etc/ssh/sshd_config

Make sure to restart sshd daemon.

Read More

command > some_file.txt 2>&1

0

What does 2>&1 do in a linux console?

Read More

Change the default editor

0

I ran into this with CentOS 5. Where the default editor for the system is set to nano! I like vi and wanted to change the default to it. login to the system vi .bashrc Add the following two lines to .bashrc

run the command, source .bashrc A change to /etc/bashrc will make it a system wide change

Read More

Virtualbox dhcp set

0

Read More

Simple all mail relay

0

You have a server who’s IP is already white listed on your mail server & you wanted this server to pass all outgoing mails to the company’s mail server. This method basically eliminates the need for a mail server to be running on the local box.

Read More
Page 1 of 212»
    No Twitter Messages.