Results 1 to 2 of 2
-
05-07-2012, 06:03 PM #1Junior Guru
- Join Date
- Jul 2006
- Location
- Florida
- Posts
- 195
NoMachine & LXDE Installer for Ubuntu/Debian
This is the first in a line of tutorials I am working on for less experienced linux users to effectively use their VPS. I've been tinkering with a little script that some of you might find helpful, it's designed to install LXDE and NoMachine on a fresh VPS installation. All it requires is that you have sudo installed (defualt on ubuntu). Just tell it which architecture you're using when you run it (x86/x64) so it fetches the appropriate packages and it will fetch and install everything else you need to boot into nomachine. It's my first bash script so there may be some unforseen kinks but that's why I'm posting it :p
This script is designed to run on low resource VPS's so it installs minimal packages, but you may add any addition features you need (web browser, etc..).
Let me know what you think.
Code:#! /bin/bash # script to fetch and install nomachine, LXDE for x64/x86 debian/ubuntu # nunim ~ sonicboxes.com echo echo Please select your operating system arcitecture echo read -p "Is the system x86? (y/n)?" [ "$REPLY" == "y" ] && x86="yes" [ "$REPLY" == "n" ] && x86="no" echo echo Updating Current Packages echo yes | sudo apt-get update echo echo Installing XORG/LXDE echo yes | sudo apt-get install --no-install-recommends lxde xorg echo echo Creating Installation Directory mkdir nomachine_install cd nomachine_install echo echo Fetching NoMachine echo if [ $x86 = no ]; then wget http://64.34.161.181/download/3.5.0/Linux/nxclient_3.5.0-7_amd64.deb wget http://64.34.161.181/download/3.5.0/Linux/nxnode_3.5.0-7_amd64.deb wget http://64.34.161.181/download/3.5.0/Linux/FE/nxserver_3.5.0-9_amd64.deb echo echo Installing Nomachine echo sudo dpkg -i nxclient_3.5.0-7_amd64.deb sudo dpkg -i nxnode_3.5.0-7_amd64.deb sudo dpkg -i nxserver_3.5.0-9_amd64.deb else wget http://64.34.161.181/download/3.5.0/Linux/nxclient_3.5.0-7_i386.deb wget http://64.34.161.181/download/3.5.0/Linux/nxnode_3.5.0-7_i386.deb wget http://64.34.161.181/download/3.5.0/Linux/FE/nxserver_3.5.0-9_i386.deb echo echo Installing Nomachine echo sudo dpkg -i nxclient_3.5.0-7_i386.deb sudo dpkg -i nxnode_3.5.0-7_i386.deb sudo dpkg -i nxserver_3.5.0-9_i386.deb fi echo echo Cleaning Up echo cd .. rm -r nomachine_install echo echo Installation Complete echo echo Install Script by SonicBoxes.com echo
When you login with nomachine, configure the client to run "startlxde" and nomachine will load right into the lxde screen.
http://img585.imageshack.us/img585/4074/sshot2h.pngLast edited by Nunim; 05-07-2012 at 06:11 PM.
-
05-07-2012, 10:26 PM #2Newbie
- Join Date
- Sep 2011
- Posts
- 8
Thanks for sharing this script. Tried to install NX on Debian manually and failed many times, will try out this script on my dev box.
Similar Threads
-
CentOS or Ubuntu or Debian
By Host4Geeks in forum Hosting Software and Control PanelsReplies: 26Last Post: 08-24-2010, 04:50 AM -
mysql-server problem on ubuntu & debian 64 bit Xen VPS
By bekanosky in forum VPS HostingReplies: 10Last Post: 06-30-2010, 09:28 AM -
What to get on VPS Debian or Ubuntu?
By mystycs in forum VPS HostingReplies: 7Last Post: 01-29-2010, 11:13 AM -
Ubuntu server or Debian
By markjohnl in forum Dedicated ServerReplies: 9Last Post: 07-09-2008, 11:23 PM -
Which one: ubuntu 6.06 LTS or Debian 4.0?
By Elliot01 in forum Dedicated ServerReplies: 17Last Post: 07-04-2007, 08:20 AM