centos6

Unable to install chromium in my centOS

南楼画角 提交于 2019-12-21 20:47:31
问题 i am trying to install chromium in centOS 6.i run the following commands as root user. cd /etc/yum.repos.d/ wget http://repos.fedorapeople.org/repos/spot/chromium/fedora-chromium-stable.repo . but when i run command yum install chromium its giving me error Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.vonline.vn * extras: mirrors.digipower.vn * updates: mirror.vietoss.com http://repos.fedorapeople.org/repos/spot/chromium

Cannot change the maximum open files per process with sysctl

懵懂的女人 提交于 2019-12-21 13:15:25
问题 My actual limit is 1024 : $ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 95979 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 1024 virtual memory (kbytes,

MySQL Workbench (version 6.0.8) SSH Authentication Issue

ぃ、小莉子 提交于 2019-12-21 06:58:20
问题 I am trying to connection to a MySQL server on Host X through machine Y over SSH. The same setup (but older version of MySQL workbench) works on my another box (CentOS 6.3). However, the same setup doesn't work on my CentOS 6.5. I tried to use the SSH key for authentication between my box and machine Y over SSH, and it works when I ssh from my box to machine Y. However, MySQL workbench gave me the following error: ERROR Could not establish SSH connection: Bad authentication type (allowed

restart apache service automatically using cron 12AM daily

回眸只為那壹抹淺笑 提交于 2019-12-21 03:22:11
问题 I have a CentOs setup in test server. I wanna to run a cron job (the cron needs to run apache server at 12AM) daily. My cron.daily fodler is located in /etc/cron.daily Please let me know the steps how to implement this. Usually I use to restart the apache service using the below command: service httpd restart I wanna to do restart apache service automatically using cron 12AM daily. Thanks in advance. 回答1: While @einterview's answer is almost correct, it's important to note that a * in the

Fixing “warning: GMP or MPIR library not found; Not building Crypto.PublickKey._fastmath” error on Python 2.7 with CentOS 6.4

≯℡__Kan透↙ 提交于 2019-12-20 17:37:27
问题 I'm running a CentOS 6.4 server with Python 2.7 (installed via PythonBrew script) I have gmp installed via 'yum install gmp' and python-devel installed via 'yum install python-devel' (but it's for python 2.6 series) I'm trying to install pycrypto on my server, but it's giving me warning: GMP or MPIR library not found; Not building Crypto.PublickKey._fastmath Is there any way to make pip 'recognize' my gmp installation? Thanks : D 回答1: I got the above error when trying to install Fabric at the

Setting Xdebug breakpoints solely in command line

旧街凉风 提交于 2019-12-18 17:29:32
问题 I'm struggling with a PHP maintenance script and I was looking for a way to use xdebug solely in command line (like gdb old-school), but I couldn't figure out how to set a breakpoint, do a step-into, step-over and continue. Xdebug is up and running, as phpinfo(); says. I found a lot of documentation regarding how to do this using Eclipse and other tools, but none to CLI. Could anyone help me? My environment is Centos 6 and Bash. Any help is appreciated. Thank you! 回答1: This is actually

Installing latest mono on Centos 6

人走茶凉 提交于 2019-12-18 11:30:19
问题 I am new to Linux (literally new- used it a couple of times) and I tried to install mono via yum; but I have gotten an outdated version that don't support .NET 4 How can I install mono 2.10.8? 回答1: Well, this is what I came up with and it worked for me: based on this article: $yum install bison gettext glib2 freetype fontconfig libpng libpng-devel libX11 libX11-devel glib2-devel libgdi* libexif glibc-devel urw-fonts java unzip gcc gcc-c++ automake autoconf libtool make bzip2 wget $cd /usr

How to install mbstring extension

守給你的承諾、 提交于 2019-12-18 09:34:58
问题 When I installed mbstring in Centos, I got the following error message. # yum install php-mbstring Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.vastspace.net * epel: ftp.riken.jp * extras: mirror.vastspace.net * updates: mirror.vastspace.net Resolving Dependencies --> Running transaction check ---> Package php-mbstring.x86_64 0:5.3.3-40.el6_6 will be installed --> Processing

Have 5 scripts running at any given time

梦想的初衷 提交于 2019-12-18 05:16:10
问题 I have a bash script (running under CentOS 6.4) that launches 90 different PHP scripts, ie. #!/bin/bash php path1/some_job_1.php& php path2/some_job_2.php& php path3/some_job_3.php& php path4/some_job_4.php& php path5/some_job_5.php php path6/some_job_6.php& php path7/some_job_7.php& php path8/some_job_8.php& php path9/some_job_9.php& php path10/some_job_10.php ... exit 0 In order to avoid overloading my server, I use the ampersand & , it works, but my goal is to always have 5 scripts running

Django, mod_wsgi, psycopg2 ImproperlyConfigured: Error loading psycopg2 module: No module named _psycopg

 ̄綄美尐妖づ 提交于 2019-12-18 04:48:04
问题 I have a Django 1.5, Python 2.7 site running under Apache with mod_wsgi on a CentOS 6.4 server. I have rebuilt this site using Django 1.6 and Python 3.3. Deploying it to the same server and changing the paths in httpd.conf I get the subject error. This new install works as expected using ./manage.py runserver. Here are the two WSGI definitions from httpd.conf: WSGIScriptAlias / /home/ccdgen/CCDGEN2/apache/wsgi.py WSGIPythonPath /home/ccdgen/CCDGEN2/ccdgen/ccdgen:/home/ccdgen/CCDGEN2/ccdgen: