Jump to content

How do I install TCAdmin on Ubuntu 16.04 LTS - 64 bit


GazCBG

Recommended Posts

Hi,

 

How do I install TCAdmin on Ubuntu 16.04 LTS - 64 Bit.

I am having issues with installing mono, at the moment.

I have tried the TCAdmin version and it didn't work.

Edited by GazCBG
Link to comment
Share on other sites

Hi,

 

Ok I have got it installed on Ubuntu 16.04 LTS using the TCAdmin mono version and it works. Thanks has to also go to @DennisMidjord for his guide (Link)

 

Wasn't as straight forwards as what it could be, I will not bore you and get straight to it

 

*** This has been updated 26th July ***

 

I have updated the install guide, I have also create a install file for mono.

 

To install mono using the install file, just do:

wget http://bits.gazcbg.com/tcadmin_install.sh
sh install.sh

 

 

To do it line by line

 

1. Run a quick update

apt-get update

 

 

2. Download required files

cd /usr/src

wget http://www.tcadmin.com/installer/mono-2.11.4-x86_64.deb

wget http://security.ubuntu.com/ubuntu/pool/main/g/giflib/libgif4_4.1.6-11_amd64.deb

wget http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff4_3.9.5-2ubuntu1.9_amd64.deb

 

 

3. Install dependency

apt-get -y install libjpeg8 libjpeg8-dev

apt-get -y install fonts-dejavu-core ttf-bitstream-vera fonts-freefont-ttf gsfonts-x11 gsfonts xfonts-utils libfontenc1 libxfont1 x11-common xfonts-encodings fontconfig-config libfontconfig1

dpkg -i libgif4_4.1.6-11_amd64.deb

dpkg -i libtiff4_3.9.5-2ubuntu1.9_amd64.deb

 

 

4. Install Mono

dpkg -i mono-2.11.4-x86_64.deb

/opt/mono-2.11.4/bin/mozroots --import --sync --quiet

/opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll

for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done

 

Mono should now be installed.

 

 

Notes

Added more dependency.

 

Removed the below, when installing Mono, as I didn't need this.

I have left it in the install file but commented out, just incase.

 

cp -r /opt/mono-2.11.4/ /opt/mono-2.11.4-back/
apt-get insall -f
cp -r /opt/mono-2.11.4-back/ /opt/mono-2.11.4/

Edited by GazCBG
Updated
Link to comment
Share on other sites

  • 3 weeks later...

I tried the above but it didn't work for me (Ubuntu 16.04 minimal)

 

When trying to setup TCAdmin i can login, select install master server, enter details and i get this error https://gyazo.com/272d33be4de9ea87458b06986a72534b

 

I think it has an issue with mono, says it cannot install it but when i check by SSH i can see the folders and files.

 

After doing step 3 above this is the error i get from putty https://gyazo.com/39fae0f45265ca08b66b177d5bafed6d

 

I hope someone can shed some light on this for me.

 

Regards

Edited by Excel
Link to comment
Share on other sites

Hi,

 

Thank you for the prompt reply, i am at a total loss and have been on this for 3 nights now.

 

I followed each and every step and indeed used apt-get install -f

 

Just had another go and on step 5 i get all these errors https://gyazo.com/a3abf45fee5f1605cf9d09d41f43d1c1

 

Thanks in advance for any help you can give.

 

EDIT:

 

Tried to run TCAdmin again and now i get this screen instead of the TCA login screen https://gyazo.com/09023a25a4167cd4b5cb7dc05e214a91

Edited by Excel
Link to comment
Share on other sites

This seems like it is a dependency issue, refering to libtiff4

Just checking over the instructions and it looks like I duplicated a setup

 

In Step 4 try this:

cd /usr/src

wget http://security.ubuntu.com/ubuntu/pool/main/g/giflib/libgif4_4.1.6-11_amd64.deb

wget http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff4_3.9.5-2ubuntu1.9_amd64.deb

dpkg -i libgif4_4.1.6-11_amd64.deb
apt-get install libjpeg8
apt-get install libjpeg8-dev
apt-get -f install

dpkg -i libgif4_4.1.6-11_amd64.deb
dpkg -i libtiff4_3.9.5-2ubuntu1.9_amd64.deb

 

The differnet is the last command, should be:

dpkg -i libtiff4_3.9.5-2ubuntu1.9_amd64.deb

 

I have just brought up a VPS to test this, I will reply with more details.

Edited by GazCBG
Link to comment
Share on other sites

Hi Garry,

 

Thanks for the reply. I tried it again with your amendment and it did indeed install more but i noticed on step 5 the line that says "cp -r /opt/mono-2.11.4-back/ opt/mono-2.11.4/" Putty returned a "could not create directory" error?

 

I continued with the install anyway which apart from the line i mentioned everything seemed to go well but i am back to this again after entering the TCA key https://gyazo.com/6c6dfd1782b0a2719cacefacfcd137ba

 

Thanks in advance for any further help.

 

Regards,

John.

Link to comment
Share on other sites

The install guide has been fully rewritten from top to bottom.

I have also including a install file (does the same as doing it line by line, just easier).

 

 

 

Hi John

 

Hi Garry,

i noticed on step 5 the line that says "cp -r /opt/mono-2.11.4-back/ opt/mono-2.11.4/" Putty returned a "could not create directory" error?

 

This was a typo and missed out a /

It should be

 

cp -r /opt/mono-2.11.4-back/ /opt/mono-2.11.4/

Link to comment
Share on other sites

Hi Gary,

 

I have tried again with your new code, Putty is reporting TCAdmin monitor and services are running but i cannot login through firefox, i get this error message still https://gyazo.com/ab00ab0edae18ed7b2cda0f760277c46

 

On a side note your install.sh package will not run/unzip (can't remember exactly what it said now sorry)

 

Just to be clear though when i entered all lines in to putty i didnt get any errors this time which is making me think it is a different problem now?

 

Thanks in advance for your help so far.

Link to comment
Share on other sites

Hi,

 

I just setup a Vultr VPS for testing this, had some credit, see screenshot attached.

 

I have also attached a text file, with all the commands I run in it, same as below.

 

You may want to turn logging on in Putty to log all output to a file.

 

Fresh install of Ubuntu 16.04 LTS - 64bit

 

Make sure Ubuntu 16.04 it full updated.

apt-get update
apt-get upgrade
apt get dist-upgrade
reboot

 

 

Start install of TCAdmin v2 fully

apt-get update

cd /usr/src

wget http://www.tcadmin.com/installer/tcadmin-2-bi.noarch.deb

wget http://www.tcadmin.com/installer/mono-2.11.4-x86_64.deb

wget http://security.ubuntu.com/ubuntu/pool/main/g/giflib/libgif4_4.1.6-11_amd64.deb

wget http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff4_3.9.5-2ubuntu1.9_amd64.deb

apt-get -y install libpcap0.8 util-linux lsof

apt-get -y install lib32stdc++6

apt-get -y install libjpeg8 libjpeg8-dev

apt-get -y install fonts-dejavu-core ttf-bitstream-vera fonts-freefont-ttf gsfonts-x11 gsfonts xfonts-utils libfontenc1 libxfont1 x11-common xfonts-encodings fontconfig-config libfontconfig1

dpkg -i libgif4_4.1.6-11_amd64.deb

dpkg -i libtiff4_3.9.5-2ubuntu1.9_amd64.deb

dpkg -i mono-2.11.4-x86_64.deb

/opt/mono-2.11.4/bin/mozroots --import --sync --quiet

/opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll

for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done

dpkg -i tcadmin-2-bi.noarch.deb

tcadmin.jpg.6be52fd6b223d312dd6a38b6c2a43810.jpg

TCAdmin full install.txt

Edited by GazCBG
Link to comment
Share on other sites

Hi Gary,

 

I get as far as you got in the pic. The error i get is when entering the key, name etc, hit next and this error still comes up https://gyazo.com/b41c58f37e756d92708a8b6d38f6e5e1

 

I have removed the key etc but you get the idea, i just cannot progress any further than this screen and i have tried your last posted suggestion.

 

I did infact forget to enable logging but from what i saw there where no errors reported in Putty apart from something for teamspeak which i havent installed yet which is confusing or is this a normal output? https://gyazo.com/7ccc908a83fb7972c20f1ffc57c056c6

 

As you can see Putty is reporting that TCAdmin is running although whether or not it actually is i have no idea as i wouldnt know how to check via terminal, so thats why i am thinking it may be another issue maybe, something stopping Firefox?

 

Regards,

John.

Link to comment
Share on other sites

Hi John,

 

I will try and check tomorrow and log everything from Putty, so you can see the output I am getting.

 

I used Firefox, when setting mine up, I don't have a trial key so can't go any further then the screen where you put in the key.

 

As for seeing if it really running give this a try

Login to SSH

Then do the following

 

cd /home/tcadmin/Monitor
./monitor-service status
./serviceman-service status

 

You could try the following

cd /home/tcadmin/Monitor
./monitor-service restart
./serviceman-service restart

 

Then try and continue with the install.

Link to comment
Share on other sites

Cheers Gary, this is what putty is showing when i try

 

cd /home/tcadmin/Monitor

./monitor-service status

./serviceman-service status

 

https://gyazo.com/7dcfc38be35e5d4e84aaf069157b1536

 

So i guess it is working just cannot authenticate the trial key via Firefox...... could an invalid key cause this issue as i have tried this key so many times but it doesnt expire until 14/08/2016?

 

Thanks again for your time on this, just typical nothing is ever straightforward for me LOL

 

Regards,

John.

Link to comment
Share on other sites

Hi John,

 

If you have tried to restart both, as follows

cd /home/tcadmin/Monitor
./monitor-service restart
./serviceman-service restart

 

 

If you still have the issue, I would recommend contacting TCAdmin support and ask them, if there any issues there end.

As I am not sure what the error refers to you are getting.

 

You can contact Support via: http://clients.tcadmin.com/ you may need to login.

Link to comment
Share on other sites

Hi Gary,

 

Thank you so much for all your help but i did indeed contact support.

 

It was such a simple fix in the end, maybe it was a fault there end i do not know but all i had to do was put in terminal /home/tcadmin/Monitor/updatetool 2.0.99.4 which enabled me to progress with the TCA wizard.

 

All sorted now, thanks again Gary, kudos to you pal :)

 

Regards,

John.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 10 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use