• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

SIMPLE ALL IN ONE: From nothing to a fully working dedicated server on Ubuntu

Yes, the default is:
Code:
ansible-pull -i localhost, -U https://github.com/DevelopersPL/otshosting-provisioning.git -d /srv/otshosting-provisioning --purge -t default,phpMyAdmin,DevAAC,tfs,tfs-old,wine

You can run:
Code:
ansible-pull -i localhost, -U https://github.com/DevelopersPL/otshosting-provisioning.git -d /srv/otshosting-provisioning --purge -t default,phpMyAdmin,DevAAC,tfs-old

Thank you! That seems to have done the trick! :***
 
Hey @Don Daniello,

If we want to access the root MYSQL account, to create another database, how can I get the root password?
 
Hey @Don Daniello,

If we want to access the root MYSQL account, to create another database, how can I get the root password?
It's either in /root/.my.cnf (if you use Ubuntu <16.04) or you don't need a password at all - just use mysql command as unix root user (unix socket authentication) (Ubuntu >=16.04).
 
I don't know how to run gdb in a non-interactive way, maybe it's possible - you should be able to find that in gdb's documentation

If you want to access core dumps, that should be easy and already available. Try "coredumpctl" (https://www.freedesktop.org/software/systemd/man/coredumpctl.html). The restarter will restart it anyway.

Hey Don,

I was reading into it and I noticed the folder: /var/lib/systemd/coredump, was empty. Is there a place where it's already configured for the core dumps to be deposited in this system or is that something that we need to configure?
 
Hey Don,

I was reading into it and I noticed the folder: /var/lib/systemd/coredump, was empty. Is there a place where it's already configured for the core dumps to be deposited in this system or is that something that we need to configure?
Just run: coredumpctl
It should list the core dumps.
 
Just run: coredumpctl
It should list the core dumps.

When I try the command it shows:
Code:
otsmanager@ns3032724:~$ coredumpctl
coredumpctl: command not found

I tried to look on how to install it but to no avail. Every site just keeps showing me how to use it but never install it. :(
 
When I try the command it shows:
Code:
otsmanager@ns3032724:~$ coredumpctl
coredumpctl: command not found

I tried to look on how to install it but to no avail. Every site just keeps showing me how to use it but never install it. :(
Do you have systemd? Which Ubuntu version is it?
 
Do you have systemd? Which Ubuntu version is it?

The Ubuntu version is:
Ubuntu Server 15.10 "Wily Werewolf" (NEW)

How should I check to see if I have systemd?
I tried checking by entering systemd into the command prompt:
Code:
root@vps299288:~# systemd
Startup finished in 23ms.
 
The Ubuntu version is:
Ubuntu Server 15.10 "Wily Werewolf" (NEW)

How should I check to see if I have systemd?
I tried checking by entering systemd into the command prompt:
Code:
root@vps299288:~# systemd
Startup finished in 23ms.

15.10 does indeed use systemd. I'm not sure why coredumpctl is not there. You hsould try 16.04.
 
Hello.
I have problem, because when I want log in to otsmanager it shows me this: line 1-3/3 (END) at the end. I cant do anything.
Ubuntu 16.04
 
it is worth noting that if you install phpmyadmin to www add a shortcut

Code:
sudo ln -s /usr/share/phpmyadmin /var/www

or add to our Web configuration
 
it is worth noting that if you install phpmyadmin to www add a shortcut

Code:
sudo ln -s /usr/share/phpmyadmin /var/www

or add to our Web configuration
What does that have to do with anything? It's totally unrelated to that guide and will get you nothing.
 
I'm getting this error:

Code:
    TASK [include] *****************************************************************
    included: /srv/otshosting-provisioning/tasks/php7.0-fpm.yml for localhost

    TASK [Install php-fpm] *********************************************************
    failed: [localhost] => (item=[u'php-fpm', u'php-apcu', u'php-mysqlnd', u'php-curl', u'php-xml', u'php-mbstring', u'php-gettext', u'composer']) => {"cache_update_time": 0, "cache_updated": false, "failed": true, "item": ["php-fpm", "php-apcu", "php-mysqlnd", "php-curl", "php-xml", "php-mbstring", "php-gettext", "composer"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'php-fpm' 'php-apcu' 'php-mysqlnd' 'php-curl' 'php-xml' 'php-mbstring' 'php-gettext' 'composer'' failed: E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.\n", "stderr": "E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.\n", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n composer : Depends: php-symfony-console (>= 2.5) but it is not going to be installed\n Depends: php-symfony-filesystem (>= 2.5) but it is not going to be installed\n Depends: php-symfony-finder (>= 2.4) but it is not going to be installed\n Depends: php-symfony-process (>= 2.4) but it is not going to be installed\n Depends: php-json-schema (>= 1.6) but it is not going to be installed\n Depends: php-json-schema (< 2) but it is not going to be installed\n Depends: php-composer-spdx-licenses (>= 1.0) but it is not going to be installed\n Depends: php-composer-spdx-licenses (< 2) but it is not going to be installed\n Depends: php-composer-semver (>= 1.0) but it is not going to be installed\n Depends: php-composer-semver (< 2) but it is not going to be installed\n Depends: jsonlint (>= 1.4) but it is not going to be installed\n Depends: jsonlint (< 2) but it is not going to be installed\n Depends: php-cli-prompt (>= 1.0) but it is not going to be installed\n Depends: php-cli-prompt (< 2) but it is not going to be installed\n php-common : Breaks: php-apcu (< 5.1.3+4.0.10-2~) but 5.1.3+4.0.10-1build1 is to be installed\n php-gettext : Depends: php-pear but it is not going to be installed\n php-mbstring : Depends: php7.0-mbstring but it is not going to be installed\n php-xml : Depends: php7.0-xml but it is not going to be installed\n php7.0-mysql : Depends: php7.0-common (= 7.0.8-0ubuntu0.16.04.2) but 7.0.9-1+deb.sury.org~wily+1 is to be installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Some packages could not be installed. This may mean that you have", "requested an impossible situation or if you are using the unstable", "distribution that some required packages have not yet been created", "or been moved out of Incoming.", "The following information may help to resolve the situation:", "", "The following packages have unmet dependencies:", " composer : Depends: php-symfony-console (>= 2.5) but it is not going to be installed", " Depends: php-symfony-filesystem (>= 2.5) but it is not going to be installed", " Depends: php-symfony-finder (>= 2.4) but it is not going to be installed", " Depends: php-symfony-process (>= 2.4) but it is not going to be installed", " Depends: php-json-schema (>= 1.6) but it is not going to be installed", " Depends: php-json-schema (< 2) but it is not going to be installed", " Depends: php-composer-spdx-licenses (>= 1.0) but it is not going to be installed", " Depends: php-composer-spdx-licenses (< 2) but it is not going to be installed", " Depends: php-composer-semver (>= 1.0) but it is not going to be installed", " Depends: php-composer-semver (< 2) but it is not going to be installed", " Depends: jsonlint (>= 1.4) but it is not going to be installed", " Depends: jsonlint (< 2) but it is not going to be installed", " Depends: php-cli-prompt (>= 1.0) but it is not going to be installed", " Depends: php-cli-prompt (< 2) but it is not going to be installed", " php-common : Breaks: php-apcu (< 5.1.3+4.0.10-2~) but 5.1.3+4.0.10-1build1 is to be installed", " php-gettext : Depends: php-pear but it is not going to be installed", " php-mbstring : Depends: php7.0-mbstring but it is not going to be installed", " php-xml : Depends: php7.0-xml but it is not going to be installed", " php7.0-mysql : Depends: php7.0-common (= 7.0.8-0ubuntu0.16.04.2) but 7.0.9-1+deb.sury.org~wily+1 is to be installed"]}

    PLAY RECAP *********************************************************************
    localhost : ok=39 changed=7 unreachable=0 failed=1

    root@158:/usr/local/bin#
 
3a36ae6dcee8eb4b3b57445d2fa03020.png

OS Ubuntu-15.04 (64 bit)

Everything went well before i get this ERROR: become_user is not a legal parameter in an Ansible task or handler
Ansible is latest version and updated
Seems that otsmanager user is trying to create but something does not pass due to permissions (i think so)
My steps:
1st i reinstalled OS to Ubuntu-15.04 (64 bit)
2nd i logged in as a root
3rd i used apt-get update
4th i used apt-get install -y -q python-paramiko python-yaml python-jinja2 python-simplejson git-core ansible aptitude
and everything was installed completely. Once i write 3rd line of yours (
ansible-pull -i localhost, -U https://github.com/DevelopersPL/otshosting-provisioning.git -d /srv/otshosting-provisioning)
i get error like in an image.

Please help me :)
 
Back
Top