• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

How to install system processes file, or how to add a start up file?

C

clangamer23

Guest
How to install system processes file, or how to add a start up file?

I want to run a dedicated game over my VPS, Plesk/Linux OS. The game is designed for windows but, there have been release of files that you can install on your linux OS and have the game run off a linux OS. So I have already uploaded the files I believe I need to have the game to run correctly. There only one issue, I don't know how to run programs, processes, or services through Plesk. So I can't start up the game, cause I don't know how to start up files in Plesk.

Please help me... I'm not a Linux user, I don't understand how to use Linux neither I understand to much on how to use Plesk.

Thank You,
 
Hi.

It's hard to say for sure as you didn't mention the installation process.
Usually the services on a linux systems can be started using so-called startup scripts, they are located in /etc/init.d/

For example, to start webserver:
/etc/init.d/apache start

I don't know the name of the startup script for your game, but think it should be also there.
To add the service in the startup script use
/sbin/chkconfig --add <service_name>

What's the game name? Probably it's better to contact its vendor or support, or the forums of this game. There's nothing plesk-related in your question.
If you have some general linux question it's better to read some docs first, use google for example.
 
Ok, This is the basic information given.

Ok, Sorry the name of the game is called Call of Duty 2. I want to host a dedicated multi player server.

I will try and put the file given called "cod2_inxded" in that startup directory, but I don't know if it is a script startup config. Another thing is how do I execute that command, in SSH Connection?
But I was reading up on some other stuff about how to installing this game on linux, and its saying something about I need a gcc 3.3? I not exactly sure if I have it installed on my VPS, but I have the files downloaded on my computer in order to up loaded it to the server if I need to. I just don't know if its already installed and if not installed where I put these gcc files at?

Ok, this is the site where I got the information from. Most sites says the same thing.

http://linux.softpedia.com/get/GAME...ty-2-Linux-Multiplayer-Server-Code-7938.shtml

Thanks for your help :)
Danny L.
 
You cant do that from Plesk, you have to do that from SSH.

Follow these steps from the web site you gave us

Installation From Scratch

- Get the retail Call of Duty 2 disc(s) (there may be multiple discs depending on what edition of the game you have obtained, or perhaps a single DVD-ROM disc).
- Copy the contents of disc ones "Setup/Data" directory to wherever you want to install the Call of Duty 2 Linux server. There should be a "localization.txt" file in the root of this directory, and a "Main" Subdirectory. Each additional disc should be opened and the contents of each "Data" folder should be copied over to the existing Main folder. When you have copied everything, the final installation size is around 3.5 gigabytes.
- Alternately, you may install on Windows and copy the installed game to your Linux system, but many will opt to skip this step since the data files are uncompressed and easily accessible on the discs. Final installation size is around 3.5 gigabytes.
- Unpack this archive in the root of the newly-copied tree, so "cod2_lnxded" is in the same directory as "localization.txt". Unlike the original Call of Duty, there are not seperate .so files like "game.mp.i386.so", so don't be concerned when you don't see them.
- Now, run the server:
cd /where/i/copied/callofduty2
./cod2_lnxded
 
Ok, I typed in the command in SSH Connection and this is what happens:

[root@ebanks ~]# cd / var/ www/ vhosts/ fultin.com/ httpdocs/ cod2/ cod2_In
xded
[root@ebanks /]#

:confused:

Sorry I'm not a experienced Linux user, I don't know if this is the way to make it work, but it's not showing up in the game, meaning I can't connect to the server. Basically something is wrong, or I'm missing something. I don't know if this error has to do with the "gcc" program. How do I know if ggc is even installed on my Plesk?

I'm sure I unpacked all the data content in the correct folders, but it may not be in a good root directory for Linux. But all the cod2 files are in the correct folders.

Do I have to set or change permissions?

If you can reply another solution that would help, at least it would be one step closer to making this operation work. :)

Thanks,
 
Back
Top