2nd IP address for gitlab pages with custom domains
One of the requirements to setup gitlab pages with custom domains is a 2nd IP address: https://docs.gitlab.com/11.2/ce/administration/pages/index.html
- Wildcard DNS setup
- Secondary IP
How can I obtain a second IP address? The company I have machines on, Hetzner, doesn't seem to rent them.
See also questions close to this topic
How to sync code between AWS CodeCommit and GitLab?
The upstream is AWS Codecommit. So whenever code is pushed I want to pull it and then push it to a GitLab repository. Currently I'm doing this using a
cronjobon a local machine which needs to be available all the time. Can this be accomplished in any other way?
how to connect CDash with gitlab internal postgres database
I have an error
CDash cannot connect to the databasein browser. I checked the configuration and what I think is that the CDash is looking for postgres server on its own. However I my gitlab service is using its own builtin psql server located at
I dont know how to update the CDash
config.phpto allow it to access the embedded postgres database.
I am also not sure how to connect the user login from terminal like we do in mysql i.e.
mysql -u cdash_user -p
Here is part of the
// Hostname of the database server $CDASH_DB_HOST = 'localhost'; // Login for database access $CDASH_DB_LOGIN = 'cdash'; // Port for the database (leave empty to use default) $CDASH_DB_PORT = ''; // Password for database access $CDASH_DB_PASS = '*******'; // Name of the database $CDASH_DB_NAME = 'cdash'; // Database type (empty means mysql) $CDASH_DB_TYPE = 'pgsql';
Net::SMTPAuthenticationError: 534-5.7.14 inspite of less secure app access
rb` configuration. I am running Gitlab on 127.0.0.1:81 and want to send a test email
gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "smtp.gmail.com" gitlab_rails['smtp_port'] = 587 gitlab_rails['smtp_user_name'] = "firstname.lastname@example.org" gitlab_rails['smtp_password'] = "****" gitlab_rails['smtp_domain'] = "localhost:81" gitlab_rails['smtp_authentication'] = "plain" gitlab_rails['smtp_tls'] = false gitlab_rails['gitlab_email_from'] = 'email@example.com'
Even though i have granted access to less secure apps in my gmail account but i keep on getting this error
Net::SMTPAuthenticationError: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbsP from /opt/gitlab/embedded/lib/ruby/2.4.0/net/smtp.rb:981:in `check_auth_response' from /opt/gitlab/embedded/lib/ruby/2.4.0/net/smtp.rb:736:in `auth_plain' from /opt/gitlab/embedded/lib/ruby/2.4.0/net/smtp.rb:728:in `authenticate' from /opt/gitlab/embedded/lib/ruby/2.4.0/net/smtp.rb:565:in `do_start' from /opt/gitlab/embedded/lib/ruby/2.4.0/net/smtp.rb:518:in `start' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/mail-2.7.0/lib/mail/network/delivery_methods/smtp.rb:109:in `start_smtp_session' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/mail-2.7.0/lib/mail/network/delivery_methods/smtp.rb:100:in `deliver!' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/mail-2.7.0/lib/mail/message.rb:2160:in `do_delivery' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/mail-2.7.0/lib/mail/message.rb:260:in `block in deliver' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionmailer-4.2.10/lib/action_mailer/base.rb:543:in `block in deliver_mail' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in `block in instrument' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in `instrument' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in `instrument' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionmailer-4.2.10/lib/action_mailer/base.rb:541:in `deliver_mail' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/mail-2.7.0/lib/mail/message.rb:260:in `deliver' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionmailer-4.2.10/lib/action_mailer/message_delivery.rb:85:in `deliver_now' from (irb):2 from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/commands/console.rb:110:in `start' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/commands/console.rb:9:in `start' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:68:in `console' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:39:in `run_command!' from /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/commands.rb:17:in `<top (required)>' from bin/rails:14:in `require' from bin/rails:14:in `<main>'
Is my mail server configuration correct? or i am doing something else wrong?
FromHostneme to address
Can someone help me with this : From /etc/hostname where will for example something like this 4-125 or 4-10 and from /etc/network/interfaces where will be something like this
auto lo iface lo inet loopback
auto enp0s3 iface enp0s3 inet static address 192.168 mask 255.255.254.0 gateway 192.168.4.1 dns-nameserver 188.8.131.52 184.108.40.206
Make this auotomatical with bash or one command with results like this :
auto lo iface lo inet loopback
auto enp0s3 iface enp0s3 inter static address 192.168.5.125 mask 255.255.254.0 gateway 192.168.4.1 dns-nameserver 220.127.116.11 18.104.22.168
Setting a static IP in Ubuntu 18.04
I have been trying to figure out how to properly setup a static IP for my first network card in Ubuntu 18.04 using a VMware virtual machine. I am not quite sure why, but for some reason I am unable to connect to the web, when I changed the network settings.
I have 2 network cards cause I trying to set up an internal network. I use this VMware machine for NATing/firewall and have another as client on the internal network. The problem is that I can't get the network card which is suppose to connect my internal network to the web does not work. I have tried everything I can think of and can't find a good solution online.
I am not changing /etc/network/interfaces anymore since it is depricated in 18.04.
I have provided some images of the settings in Ubuntu and picture of the settings on the VMware machine. Hope that there might be someone who can give me some advice as of where to look!
GCE managed group (autoscaling) - Proxy/Load Balancer for both HTTP(S) and TCP requests
I have an autoscaling istance group, i need to setup a Proxy/Load balancer that take request and send it to the istance group.
I thinked to use a Load balancer, but I need to grab both HTTP(S) and TCP requests. There is some way (or some workaround) to solve this?
Why won't Jekyll Build Gitlab Pages site load without .html url ending
I am attempting to deploy a website I built using jekyll to gitlab pages. However, only the index page will load properly. All the other links need to have .html appended to the url. So
functions properly, but both
only work if the url is changed to
Oddly enough when deployed on github pages no amendment to the urls are necessary
username.github.io/project/ username.github.io/project/about username.github.io/project/blog/
all function properly.
I have a feeling it has something to do with the .gitlab-ci.yml file, but I'm not sure. Here it is if it has any clues
image: ruby:2.5.3 variables: JEKYLL_ENV: production LC_ALL: C.UTF-8 before_script: - bundle install test: stage: test script: - bundle exec jekyll build -d test artifacts: paths: - test except: - master pages: stage: deploy script: - gem install jekyll - bundle exec jekyll build -d public artifacts: paths: - public only: - master
GitLab pages project name as path? (mywebsite.com/projectname)
When using GitLab pages to host a project website, is it possible to have it's url be something like
When trying to add that as a domain (using "New Domain" in the pages settings page), it says you can't use
/as a character.
Or is it only possible to add them as a subdomain in your dns? (
How to publish gitlab pages from dist folder?
How can I publish gitlab pages, when my folder structure looks like this:
project |-- dist |-- src |-- package.json |-- package-lock.json `-- .gitignore
I tried to add
.gitlab-ci.ymlfile with following content in my root directory, but it didn't work.
pages: stage: deploy script: - mkdir .public - cp -r * .public - mv .public public artifacts: paths: - public only: - master