Tagged: Ubuntu Toggle Comment Threads | Keyboard Shortcuts

  • Tushar Neupaney 6:04 am on July 1, 2010 Permalink | Reply
    Tags: , , service, stop, Ubuntu   

    stop mysql from running at startup 

    My Linux box was running mysql from the start and I did have no clue. It was not in my startup applications list, neither in my init.d folders.

    But whenever i did nmap of localhost, i could see the mysql port open. I could kill mysql service, need to kill it multiple times, only then it used to die.

    I even installed “sysv-rc-conf” so that i could stop it at run levels, but it was not running at any runlevels. I then did “update-rc.d mysql disable”. Which didn’t work either.

    Later I found that there was a file called “mysql.conf” in /etc/init/ folder. I renamed the file to mysql.conf.disabled and it worked out. Hope this will help others who have the same problem.

     
  • Tushar Neupaney 6:30 am on January 14, 2010 Permalink | Reply
    Tags: .vimrc, Configuration, Editor, , , Ubuntu, Vim   

    My .vimrc file 

    Vim is the editor of my choice for my linux box. I have configured my .vimrc file in my ubuntu.

    ————————————————————————————————————-

    ” Tushar Neupaney’s VIMRC File
    ” Followme twitter.com/tneupaney
    ” linuxfanatic.posterous.com

    ” (sw)shiftwidth: how many columns text is indented with reindent operations
    ” (sts)softtabstop: how many columns vim uses when you hit tab
    ” (ts)tabstop: how many columns a tab counts for
    set ts=4 sw=4 sts=2

    expandtab: appropriate number of spaces in insert mode
    set expandtab

    ” Make gvim colorscheme as evening
    if v:progname =~? “gvim”
    colorscheme evening
    endif

    ” Prevents keeping of backup after overwriting the file
    set nobk

    ” To see line numbers on the left
    set number

    autocomplete parenthesis, brackets and braces
    inoremap ( ()<Left>
    inoremap [ []<Left>
    inoremap { {}<Left>

    Syntax highlighting on
    syntax on

    share windows clipboard
    set clipboard+=unnamed

    Hightlight the curent column
    set cursorcolumn

    Hightlight the current line
    set cursorline

    ——————————————————————————————-

    Here is the Screenshot!

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel