I'm trying to install Suite CRM on a 2011 Mac Mini running El Capitan and with the "Mac Server App" installed.
I've unzipped the Suite CRM package under /Library/Server/Web/Data/Sites/Suite however when I enter the following
chgrp _www.www /Library/Server/Web/Data/Sites/Suite -R
I get the error
chgrp: _www._www: illegal group name
I've checked I'm using the right Apache user and group so I'm stuck. Should I unzip SuiteCRM in a different location? Is it something to do with the Mac Server App?
Any help is greatly appreciated.
It think you need to use sudo:
sudo chown -R _www:_www <mywebfolder>
sudo chmod -R 775 <mywebfolder>
To install Suite CRM, which is compatible almost with every OS there is the procedure of following steps:
After downloading the SuiteCRM (if you are installing it first time otherwise you will have to upgrade the existing one), click on install.
Pre requisite for SuiteCRM are platform appropriate version of PHP, web server and database on your machine (Linux or Windows platform)
Unzip the downloaded SuiteCRM package and set permissions. For this, while unzipping the package locate the root directory or sub directory of your web server.
You can rename the SuiteCRM as well
Set permissions or ownership of your SuiteCRM directory with the following command: Chgrp ApacheUser.ApacheGroup <suitecrmroot> -R
Now set the system user of your web server. If you find it difficult to set the permissions for system user then you can take the help of any expert. From there you can take the help. Commonly the users are apache or nobody for Linux and IUSR_computerName for Windows. For Linux following commands are to be executed in order to set the permissions: sudo chown –R www-data:www-data;sudo chmod –R 755; sudo chmod –R 775 cache custom modules themes data upload config_override.php
While for Windows the steps are different. You can also take the help of any expert if you find it difficult to set up the Suite CRM, then any training or service provider of technical courses can help you in this regard. We have used the service of Janbask, they are professional training provider and IT consultants, with the help of their experts they also provide solutions of real time problems.
Many Thanks
Related
Recently I decided to install Terraria server on Ubuntu Linux, but didn't find any completed instructions, so I decided to make my own, to help pure Terraria fans like me. This arcticle is relevant on 15.02.2019.
So first of all, you need a dedicated server. I used vps server from Heztner guys, but you can use any kind of tech you want (like raspberry pi or old pc with Ubuntu Server installed. Just make sure its minimal configuration fits Terraria Server).
After you first powered up your device and created password, we'll install SSH to make our setting up process a little bit comfy. You will be able to access server with any other device, if you have ssh installed in cmd or terminal.
Windows 10
Has SSH preinstalled in cmd. So all you need to do is
Type ssh-keygen (it will ask you to point the folder to extract keys, you can do it or just press enter)
Type ssh-copy-id "username"#"yourdeviceip" (Example: root#116.23.106.75)(In username type root)
Enter root password and you're in ')
Ubuntu 18.04
You may need to enable SSH in terminal. Use this instruction. Process is the same as in cmd on Windows 10.
Also
You can use SSH clients like Termius, you just need to create new Host with enabled SSH and put your server ip. Then choose user and enter password, and you're in.
Finally we're done with SSH and begining to setup our working environment. To fully operate with our system, we need to install several programs, as
mono-complete (to emulate windows shell environment, so TShock can work properly)
screen (to detach our terraria server screen)
unzip
And finally our Terraria server
Installation
First we create different user, so we store Terraria files separately of root.
adduser terraria
Then add it to sudo group, so you can launch several admin commands
adduser terraria sudo
Then install programs
sudo apt-get install mono-complete screen unzip
Enter as terraria user
su terraria
Go to your home folder
cd
Download latest TShock file, for me it's 4.3.25. If there is newer version, just go to their github page and copy zip file download link and paste it instead of mine.
sudo wget https://github.com/Pryaxis/TShock/releases/download/v4.3.25/tshock_4.3.25.zip
Unzip it
unzip tshock_4.3.25.zip
Delete zip-file
rm tshock_4.3.25.zip
Execute server one time to create the map
mono-sgen TerrariaServer.exe (type it every time you want to launch the server)
And now, when the map created and launched, you simply press ctrl+a to start screen, and then press d. Now your screen is detached and you can use your console regardless of server. Also this wont let your Terraria process shut down because of inactivity.
Bonus level
And this part will be for people who want to transfer their local map to server. I did it because first time I played Terraria with friends through Steam, and then I created server so map can run 24/7.
All you need to do is create ssh connection from device you store your local map. If you did it previously, then go to your Steam folder, find Terraria worlds, right click, properties and copy the path. Then go to cmd and type
scp "yourworldpath" terraria#*yourserverip*:~
It will copy your local world to home section, then go back to your ssh with terraria user and type
cd
mv "yourworldname" .local/share/Terraria/Worlds/
That thing will move your world file to hidden .local folder, where all world files store. Aaaand that's all. Just go to number 8 and do it again. Hope this guide will help you:) If you find any mistakes or face with problems, just comment this section, so I can fix it.
I want to automate the Ubuntu installation (a fully unattended installation without questions). I also want to run a script right after the installation is finished.
What I did is that I managed to have a fully unattended Ubuntu installation. I am doing this by providing a pre-seed file and using boot parameters to preseed the questions that are asked before the preseed file is loaded. The installation went okay but the problem lies with running the script right after the installation completion. I am using Ubuntu 14.04 LTS desktop version thus I am not using the late command as I have read that it won't be noticed by the installer. Instead, I am using the Ubiquity/success_command. I have the following code at the end of my pre-seed file.
ubiquity ubiquity/success_command string \
mkdir /target/dev-master/; \
cp -r /cdrom/dev-master/* /target/dev-master/; \
chroot /target bash /dev-master/SCRIPT;
The problem is nothing happens. I think the command went unnoticed as well.
I am not sure if I am approaching the problem correctly.
What am I doing wrong ?
Is there any other alternatives that might provide the desired result ? Any help would be appreciated and thanks.
I have downloaded Apache 2.4 for windows, as its zip file I extracted ansd started using. however I need to "install/run as a service, available for all users"
need help to do same.
Thanks in advance.
Extract the .zip file to somewhere like C:\Apache24. Next navigate to C:\Apache24\bin in command prompt.
Then type:
httpd -k install
You can then start Apache as a service by typing:
httpd -k start
You will also be able to control Apache via Services in Administrative tools after restart.
For all users you can install the service using the .msi file. You need to compile (see 'Command Line Build') the source in the .zip you downloaded to produce this file.
Alternatively if you obtain a pre-built .msi you can install from there as well.
Once it's compiled if you install Apache via the installer and select All Users when prompted for who to install for it will install the service for all users.
I followed this wiki.dreamhost.com/RVM (and others) and the problem is simple:
I can have a sudo user from panel that can't do anything with my web site. But my usual user can't run as a superuser.
So there is no way so far that I get rvm to install on my vps.
I'm tired of searching, can anyone help me to solve this?
Following RVM site:
Without autolibs
$ \curl -L https://get.rvm.io | bash -s -- --autolibs=read-fail
You should only need sudo access for this if the bundle install fails on mysql2, to update apt-get and re-install libmysqlclient-dev if necessary. You should be able to handle those parts from the correct location with your "admin" user, then do whatever you need again from your regular user the site is hosted on.
This article will walk you through setting up RVM with a full Rails stack on a regular shell account. There is no need to even add an admin user to your VPS to perform this install, and you get to leave all of your services fully managed!!!
http://wiki.dreamhost.com/RVM#Do_Magic
If you have any other questions please do not hesitate to ask us, you can send our support team a ticket here https://panel.dreamhost.com/index.cgi?tree=support.msg& or you can even hit us up for support on Twitter #DreamHostCare
Thanks!
Matt C
DreamHost Staff
I'm trying to get an Apache server running on my Cygwin setup to follow the Java Ranch Cattle Drive tutorials online (basically, to learn Java EE web page development that uses a MySQL back end.)
I used the Cygwin Setup program to install httpd (which is how I installed most other dev tools I use on cygwin) and it says install complete, yet when I run 'httpd' it cannot find the command. It also appears the expected install directory (/usr/local/apache...) doesn't exist.
Does anyone have any experience using this setup, and if so, you could walk me through the initial steps of getting the server up and running and getting a browser to display the server's default page?
To keep answers focused, I didn't want to discus the drawbacks of running Apache on a Windows system - this is just for learning purposes. Thanks in advance.
Looking at the Cygwin Package Listing for httpd, you can see that the executable is installed under /usr/sbin.
So, if /usr/sbin is not on your PATH (it isn't on mine, not by default anyhow), you would actually run:
/usr/sbin/httpd
And btw, if you would like to list the files installed for a certain package, you can use cygcheck:
cygcheck -l httpd
cygrunsrv -I Apache -p /usr/sbin/httpd -a "-X"
This will solve the problem. This assumes you already have cyrunsrv set up. The reason httpd fails with cygrunsrv if you leave out the -X is that the process disconnects from the terminal and cygrunsrv considers that a failure. The -X option for httpd is the debug or terminal mode.
I couldn't find any detailed information on how to get Apache working on Cygwin, so here it is if someone's interested:
Install the httpd-* and httpd-mod_* packages you need. Note that the packages named "Apache" are deprecated. You need the ones named "httpd" (which are actually Apache).
Install cygrunsrv (normally this is a default Cygwin package)
Run /usr/bin/cygserver-config as admin. This is needed because Apache requires an IPC server running.
Open services.msc, then go to the CYGWIN Cygserver. Right-click on it and start it. If you don't do this, you'll probably get errors like "AH00023: Couldn't create the proxy mutex".
Finally, start Apache by running /usr/sbin/apachectl restart
Config is in /etc/httpd/.
Some information about running Apache on Cygwin:
http://httpd.apache.org/docs/1.3/cygwin.html
http://www.issociate.de/board/goto/895433/apache2_does_not_start_in_cygwin.html
http://www.cygwin.com/ml/cygwin-apps/2005-02/msg00085.html
Personally, I would recommend installing WAMPServer or other WAMP stack and do it that way. There is no difference, except that you'll need to control Apache through Windows commands [net start, net stop], not Cygwin's ones.