• Announcements

    • jhxp

      Forums are online again after a maintenance.   18/03/17

      MTA Forums maintenance is completed, although some automatic time-heavy tasks are still in process and will be finished eventually in background. Expect some features such as Forum Search to not display all results until all processes are finished. Please let us know if you spot a forum feature that worked correctly before the maintenance but does not work anymore now. Thanks. --MTA Team
AGENT_STEELMEAT

[TUT] Setting up MTA server on Ubuntu Server 12.04.1 LTS

9 posts in this topic

I have written a detailed set of instructions for setting up a basic MTA server on Ubuntu Server 12.04.1 LTS, both 32 and 64 bit.

Click here to access the tutorial.

Please PM if you have any issues or notice that there is something I need to update. Hope this helps!

Share this post


Link to post

This is helpful, I remember I had a lot of trouble setting up MTA on Linux for the first time.

Share this post


Link to post

What the fuck is this all install this wtf is that i never seen that before..

Share this post


Link to post
What the :o is this all install this wtf is that i never seen that before..

He's talking about installing MTA server on Linux operating system with Ubuntu.

Share this post


Link to post

Can you please help me? How would I run this as a screen and then how would I access it as a screen to stop the server? Thanks

Share this post


Link to post

I'm not using screen here, I use service mtasa stop/start to start/stop the MTA server. It's my personal preference.

To set that up, you would want to set up a shell script to run the screen command to start the MTA server, and modify the upstart job to point to the new shell script.

Share this post


Link to post
Can you please help me? How would I run this as a screen and then how would I access it as a screen to stop the server? Thanks

To start the server with screen you can use this command:

screen -S mta /something/server/mta-server 

And then press ctrl + A,D (hold ctrl while pressing both buttons) to leave the screen.

To resume the screen:

screen -r mta 

Share this post


Link to post

That would start the mta server twice: it is started automatically on boot by Ubuntu (it's an Upstart job). Using that command will start it a second time (or fail). What you should do, however, is create a shell script in the mtasa directory that runs those commands, and then update the upstart job to point to the new shell script.

Share this post


Link to post

Oh, i didn't read the tutorial just answered his question, but yes, you're right.

Share this post


Link to post

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

  • Recently Browsing   0 members

    No registered users viewing this page.