05-07-2012, 06:03 PM #1Junior Guru
- Join Date
- Jul 2006
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.
#! /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://220.127.116.11/download/3.5.0/Linux/nxclient_3.5.0-7_amd64.deb wget http://18.104.22.168/download/3.5.0/Linux/nxnode_3.5.0-7_amd64.deb wget http://22.214.171.124/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://126.96.36.199/download/3.5.0/Linux/nxclient_3.5.0-7_i386.deb wget http://188.8.131.52/download/3.5.0/Linux/nxnode_3.5.0-7_i386.deb wget http://184.108.40.206/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.
Last edited by Nunim; 05-07-2012 at 06:11 PM.
05-07-2012, 10:26 PM #2Newbie
- Join Date
- Sep 2011
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.
By Host4Geeks in forum Hosting Software and Control PanelsReplies: 26Last Post: 08-24-2010, 04:50 AM
By bekanosky in forum VPS HostingReplies: 10Last Post: 06-30-2010, 09:28 AM
By mystycs in forum VPS HostingReplies: 7Last Post: 01-29-2010, 11:13 AM
By markjohnl in forum Dedicated ServerReplies: 9Last Post: 07-09-2008, 11:23 PM
By Elliot01 in forum Dedicated ServerReplies: 17Last Post: 07-04-2007, 08:20 AM