We have a self-hosted, private Gitlab server where we are hosting some documentation in the form of markdown pages. This documentation is supposed to go on our website's (a WordPress server hosted on WP Engine) knowledge base.
I am trying to figure out if I can push the content from the markdown pages on Gitlab to our website in the form of a post. Trying to keep the documentation in sync between the two as developers and others within the organization will be updating the documentation in Gitlab and I would like it to sync back to WordPress.
I foresee a couple of potential issues:
The Gitlab server being self-hosted and private means that I can't just used a WordPress plugin to retrieve the information from the Gitlab server.
The WordPress server being hosted on WP Engine restricts what I can install on the web server's backend.
I have tried installing WP-CLI on a server where I have my local version of my Gitlab documentation repository, but I am unable to install git on the WordPress web server to establish a connection there to be able to push after pulling from Gitlab server.
Related
I hired a developer to stand up my website. I had already created a WordPress install on AWS lightsail. The developer says he needs cpanel in order to finish the work (header/footer code, configuration etc...). I was hoping to do this as cheaply as possible and it seems like cpanel would add $15 a month. Is it really needed? Any alternatives?
Looked at AWS docs on alternatives but didn't find anything.
cPanel is a hosting control panel to manage a website and server. It seems that you have already hosted and configured your server without cPanel. For developers, they should be able to manage and customize your website using FTP and WordPress admin details and it does not require from Development point of view.
Even if you are planning to add cPanel to your server, you will have to reinstall your server from scratch because cPanel requires a fresh server without any software, data or website.
I have stanard wordpress installation on my server with all plugins, themes and stuff. Now I want to migrate to kubernetes server where I have already installed bitnami/wordpress. I see a bit other structure of files in bitnami/Wordpress installation on kubernetes where is only wp-content and config file in main folder of wordpress.
Can I copy normal Wordpress installation to Kubernetes image bitnami/wordpress installation from image installed by helm? How will be to do it best? Should I do it like normal wordpress website or other technique and tools?
Bitnami Engineer here,
The app's files are now inside the /opt/bitnami/wordpress directory. We recently updated all our WordPress cloud solutions to have the same directory structure. However, it seems that you have a previous version of the solution deployed in the cloud our you used the Bitnami installer in your server.
The easiest way to migrate your data from your current server to the k8s deployment is by using the All in One WP Migration plugin. The plugin takes care of saving all the necessary data so you just need to recover that data in the new deployment. You won't need to copy any other file from the deployment when using this plugin.
I'm pretty new to this, but I want to configure my GitLab repo to my Cpanel hosting account. So when I push changes from my local site (environment using local by flywheel) to GitLab it automatically goes to the staging site and if everything is good to the production site.
I have managed to connect my Cpanel account with GitLab by using Deploy HQ. However, I'm trying to understand the best way to set all of this up. Currently, I'm only tracking my themes folder in GitLab. My issue is that when I deploy, all that is getting uploaded is the themes folder(obviously). How do I set this up so it will upload the full WordPress site and database? Also, how do I set it up with staging and production, would I have two different branches connected to two different directories on cpanel?
I'm just looking for some noob friendly advice on how to set up this infrastructure for WordPress Git and Cpanel.
I have a wordpress website in localhost and a hosting plan with a domain name on Bluehost.com
My website is ready and now I wanted to go live and push my website to hosting server using Git. But in Bluehost C-panel there is no git option.
I have searched google but did not succeed to find a solution, so I came here if somebody could redirect to me to a tutorial link or give me some clues on how to do it i would be very grateful.
If you have VPS or Dedicated server on bluehost, try this manual from Bluehost FAQ:
https://my.bluehost.com/cgi/help/2383
Pretty sure, that you must manually import database (as it not included to git and can't upload automatically in mysql) and configure again wp-config.php. Also you don't say, what server you using with localhost, cause it can be different from bluehost config (for example apache / nginx / php version).
I am doing some testing to determine the feasibility of moving my small web hosting business over to Google Cloud Platform. All of my client websites are Wordpress sites built by me and i also fully manage them.
I have setup a free 60 day trial and am about to install my first project...which will be a prebuilt CMS (Wordpress) found in the software packages list in Google Developers Console.
There are at least 2 things i am wanting to test...
1. using wordpress multisite (as i intend to move all of my existing clients websites into Wordpress MU
2. Speed of websites on this network (one concern is latency as the datacenter location not being in my country)
So in order to test the above, i would like to setup some clones of existing client websites on the Google Cloud Project i create.
Question...
How do i get file and directory access to the Wordpress CMS on Google Cloud so i can upload Websites produced on my local system or another server?
(i need to copy up media files e.g. images, content, and themes)
Or is my only means of file directory access via Wordpress plugins with this solution?
Depends on which tool you choose to use.
If you use Wordpress for AppEngine, you'll have to use a combination of deployment techniques and plugins to get data onto your instance.
If you use Wordpress Multisite then you would interact with it just like any other install of Wordpress.
1) Create a key pairing (https://cloud.google.com/compute/docs/instances/connecting-to-instance#standardssh)
2) Connect via SFTP (CyberDuck, FileZilla)
3) Upload files into your /home/yourusername directory
4) Connect to the server via shell, you can do this from your Google Dashboard (Google Shell)
5) Change your user to Root by typing sudo /bin/bash
6) Now you can move files sudo mv file/you/want/to/move.html /var/www/html/
I recommend you use SFTP, but if you want to connect with FTP see this blog to solve your problems.
If your VM is based on Linux then you have to use an application like vsftpd to set up an FTP server.
Here are the steps:
Deploy a Virtual Instance on Google Cloud
Open SSH terminal
Installing VSFTPD
Create a User
Configure vsftpd.conf file
Preparing an FTP Directory
FTP/S or FTP over SSL setup (optional)
Opening Ports in Google Cloud Firewall
Test and Connect