Getting Started
This is some minor fixes that I used to get Debian running the way I wanted on my laptop.
Running Chrome as Root in Linux. (BAD IDEA)
nano /usr/bin/google-chrome
Add “–user-data-dir” on to the very last line of the file.
Currently the main project that I am playing with is my Minecraft Server.
I am running this website and the Minecraft Server on two Debian 6.0 boxes.
The Minecraft server is a dual core 2.5Ghz with 2GB of ram.
The webserver is a single core 192mb ram box. I am using it to run apache which is powering wordpress to bring you all these fancy posts. I also have my own personal webmail setup just for me. Try it. 🙂 Email me at jayson@jaysonbrush.com.
STUFFS: Switch Desktop Managers update-alternatives --config x-window-manager update-alternatives --config x-session-manager Disable GDM on Deb 7: echo "manual" | sudo tee -a /etc/init/lightdm.override update-rc.d gdm3 disable Remove daemons from starting: update-rc.d disable Remove GDM from start on 5&6: update-rc.d gdm3 disable FTP: vsftpd start Install Deb files: sudo dpkg -i "package name" Adds “clear” to the end of the issue file to clear console before login prompt: clear >> /etc/issue Runs WICD on boot update-rc.d wicd defaults Debian 7 issues Spotify: Edit /etc/apt/sources.list deb http://repository.spotify.com stable non-free sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 sudo apt-get update Download libssl from here. sudo apt-get install spotify-client Chome as root: echo --user-data-dir >> /opt/google/chrome/google-chome Phil’s List ps mysqladmin proc chmod lsof netstat vi '?/' mysql > SHOWPROCESSLIST Simple Stuff Disable GDM on Deb 7: echo "manual" | sudo tee -a /etc/init/gdm.override Edit the /etc/default/grub file and replace the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” with GRUB_CMDLINE_LINUX_DEFAULT=”quiet”. Then generate a new Grub2 config file: sudo update-grub remove daemons from start: update-rc.d disable Remove GDM from start on 5&6 update-rc.d gdm3 disable FTP vsftpd start Install Deb files sudo dpkg -i "package name" Adds “clear” to the end of the issue file to clear console before login prompt: clear >> /etc/issue Runs WICD on boot update-rc.d wicd defaults Kill List 1 HUP Hangup 2 INT Interrupt 3 QUIT Quit 4 ILL Illegal instruction 5 TRAP Trace trap 6 ABRT Abort 7 BUS Bus error 8 FPE Floating point exception 9 KILL Killed 10 USR1 User defined signal 1 11 SEGV Memory fault 12 USR2 User defined signal 2 13 PIPE Broken pipe 14 ALRM Alarm clock 15 TERM Terminated 16 STKFLT Stack fault 17 CHLD Child exited 18 CONT Continued 19 STOP Stopped (signal) 20 TSTP Stopped 21 TTIN Stopped (tty input) 22 TTOU Stopped (tty output) 23 URG Urgent I/O condition 24 XCPU CPU time limit exceeded 25 XFSZ File size limit exceeded 26 VTALRM Virtual timer expired 27 PROF Profiling timer expired 28 WINCH Window size change 29 IO I/O possible 30 PWR Power-fail/Restart 31 UNUSED Unused 32 32 Signal 32 ..then 33 thru 63 Phil’s List ps mysqladmin proc chmod lsof netstat vi '?/' mysql > SHOWPROCESSLSIT HOSTING
WARNING: THIS IS MY PERSONAL LIST OF COMMANDS TO REMEMBER, A CHEAT SHEET. THESE COMMANDS MAY OR MAY NOT BREAK EVERYTHING AND STEAL ALL YOUR MONEY FROM YOUR BANK ACCOUNT. PLEASE DO NOT USE UNLESS YOU KNOW WHAT YOU ARE DOING. THEY MAY MESS UP YOUR SYSTEM. THANKS.