ubuntu-server

Virtualhost Apache on Ubuntu server not working

こ雲淡風輕ζ 提交于 2019-12-11 17:32:50
问题 Hi I got to domains pointing to one server IP. The server is a VPS server running Ubuntu and Apache2. Now I am trying to host two different sites using Virtualhost. These are the steps I used to try and setup virtual hosting: root@vps520749:~# sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/ root@vps520749:~# sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/levsite.nl.conf root@vps520749:~# sudo nano /etc/apache2/sites-available/levsite.nl

can't show firebird data in php-ubuntu server 12.04

こ雲淡風輕ζ 提交于 2019-12-11 14:18:55
问题 my dataTable can't show data from firebird database. it's happen after I move to new server (old server have hard disk damage). all php data and mysql database already backed up then restore to new server. But, one of my php page can't show data from firebird database (its from another server). the strange point is why in my old server it can show but in the new one it can't ? my server os is ubuntu server 12.04 then I try : sudo apt-get install php5-firebird --> i get firebird2.5 but, my php

CakePHP Connection Refused in Browser

泄露秘密 提交于 2019-12-11 14:02:40
问题 I'm working on setting up/learning CakePHP for the first time and I am struggling to figure out why I cannot reach my server over the default port 8765. I like to develop on an ubuntu machine and work on the code remotely. The server is hosted on a vm on my local machine, but i am referring to it as the remote machine. Both the server and my remote machine are on the same 10.0.1.x subnet. I can reach the server over port 80 fine. However, when I attempt to reach hxxp://10.0.1.44:8765/ I get

How to use apache logs to check complete file downloads

允我心安 提交于 2019-12-11 12:20:35
问题 I have a file hosting site that's using this script MFHS. I want to develop a point system of my own in which points will be rewarded only if the visitor downloaded the whole file. How can I track it and where are the logs relating to it saved in apache? I am using Ubuntu server. Or else is there any easier way? The average file sizes on my server is 300mb max file size is 3gb. 回答1: Add %X to you log config - see mod_log_config for interpreting the values. 来源: https://stackoverflow.com

How to increase the default memory usage in odoo?

一世执手 提交于 2019-12-11 06:35:31
问题 I'm using ubuntu server and configure the odoo project. it has 8GB of ram and available memory is arround 6GB so i need to increase the odoo default memory. So please let me know how to increase? 回答1: Have you tried playing with some of Odoo's Advanced and Multiprocessing options? odoo.py --help Advanced options: --osv-memory-count-limit=OSV_MEMORY_COUNT_LIMIT Force a limit on the maximum number of records kept in the virtual osv_memory tables. The default is False, which means no count-based

Icecast with Liquidsoap not working

流过昼夜 提交于 2019-12-11 06:05:51
问题 All; Ubuntu 18.04 - Icecast / LiquidSoap / opam / (liquidsoap-daemon) Installed : taglib mad lame Vorbis cry ssl samplerate magic opus Plugins : liquidsoap-plugin-all System Specs : -System - VirtualBox -CPU = Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz -Memory = 1969MiB (2GB assigned to VM Client) I have been messing with this for a while now and to no avail. I have this thread that is now closed, that has near about everything that you would need to look at about my setup. icecast request

Apache 2 error after performing Update on Ubuntu Server

允我心安 提交于 2019-12-11 06:00:09
问题 root@ubuntu:-$ apachectl restart Gives me this error: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/perl.load: Cannot load /usr/lib/apache2/modu les/mod_perl.so into server: /usr/lib/apache2/modules/mod_perl.so: cannot open s hared object file: No such file or directory Action 'restart' failed. The Apache error log may have more information. IN line 140 of apache2.conf there is this: Include mods-enabled/ .load* Include

Page anchor with mod_rewrite?

ⅰ亾dé卋堺 提交于 2019-12-11 04:43:00
问题 I'm trying to set up page anchors on a website that uses mod_rewrite (Apache2 running on Ubuntu Server 9.04). My htaccess file looks like this: RewriteEngine On RewriteRule ^information.php/([A-Za-z0-9-]+)/?$ information.php?display=$1 [NC,NE] If I was using regular URL's the query would look something like this: http://mydomain/information.php?display=faq#cost I'm hoping to get something like this: http://mydomain/information/faq/cost Is this possible? My understanding is that modrewrite

Auto deployment with gitlab

烈酒焚心 提交于 2019-12-11 04:37:36
问题 We have Gitlab server running in our office in ubuntu server. I'm doing auto deployment using post-receive hook from each repo. This is what I did, I wrote shell script in post-receive file to push code from gitlab server to our actual production server. So all the repos in our gitlab server has post-receive hook to make auto deployment. I installed git bare repo in production server to receive code gitlab server. In production server's bare repo I wrote another post-receive hook to deploy