hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : NoMachine & LXDE Installer for Ubuntu/Debian
Reply

Forum Jump

NoMachine & LXDE Installer for Ubuntu/Debian

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-07-2012, 06:03 PM
Nunim Nunim is offline
Junior Guru
 
Join Date: Jul 2006
Location: Florida
Posts: 192

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
Copy the code from the codebox and save it as a bash script (xxx.sh), then chmod the script to make it executable ( chmod 655 xxx.sh ), run ( ./xxx.sh ) and enjoy!

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.png


Last edited by Nunim; 05-07-2012 at 06:11 PM.
Reply With Quote


Sponsored Links
  #2  
Old 05-07-2012, 10:26 PM
ktkr ktkr is offline
Newbie
 
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.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS or Ubuntu or Debian Host4Geeks Hosting Software and Control Panels 26 08-24-2010 04:50 AM
mysql-server problem on ubuntu & debian 64 bit Xen VPS bekanosky VPS Hosting 10 06-30-2010 09:28 AM
What to get on VPS Debian or Ubuntu? mystycs VPS Hosting 7 01-29-2010 11:13 AM
Ubuntu server or Debian markjohnl Dedicated Server 9 07-09-2008 11:23 PM
Which one: ubuntu 6.06 LTS or Debian 4.0? Elliot01 Dedicated Server 17 07-04-2007 08:20 AM

Related posts from TheWhir.com
Title Type Date Posted
Canonical to Close Cloud Storage Service Ubuntu One Web Hosting News 2014-05-01 08:34:02
Joyent Cloud Adds Platform Optimization, Support for Ubuntu Server Images Web Hosting News 2014-02-20 11:19:00
Nginx to be Included in Upcoming Ubuntu Release Web Hosting News 2014-01-08 15:17:12
ServInt Offers Ubuntu OS Option with Flex VPS Plans Web Hosting News 2013-03-01 12:50:20
Canonical Releases Ubuntu Server 12.10 with OpenStack Folsom Web Hosting News 2012-10-19 11:11:43


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?