Apache
ispconfig apache default page
I’m trying to install Ispconfig to Centos 7 via this link. But ispconfig can’t accessed after installation. Becouse missing this thing in the document: yum install mod_fcgid service httpd restart
I’m trying to install Ispconfig to Centos 7 via this link. But ispconfig can’t accessed after installation. Becouse missing this thing in the document: yum install mod_fcgid service httpd restart
If you disabled IPv6 in your centos installation then you can receive some bad problems. Some services needs ipv6 for default and if you disable ipv6 systemvide then these services not working correctly. For example Amavisd. If amavisd not working correctly you can’t send and receive mails in your server. Devamı…
10 yıldır PHP geliştirmiş ve artık PHP’ye doymuş biri olarak PHP’den daha iyi olan bir dil arayışına girdim. Derlenmeyen bir dil olması gerekiyor çünkü derleme zamanı çok uzun sürüyor. Doğrudan yorumlansın beni derlemeyle filan uğraştırmasın istiyorum ve en önemlisi multithreading desteklesin. PHP default olarak multithread desteklemiyor. Pthreads kurulması filan gerekiyor Devamı…
nano ~/.bashrc # enter this function footer of the .bashrc file # Update gnome terminal title function termtitle() { if [[ -z “$ORIG” ]]; then ORIG=$PS1 fi TITLE=”\[\e]2;$*\a\]” PS1=${ORIG}${TITLE} PROMPT_COMMAND=’echo -ne “\033]0;\007″‘ } # save and quit from nano # source ~/.bashrc # termtitle example title
Sometimes minipci slot stopping work. I don’t know the reason but we can rescan it and going to work again. Only one command you need. The command is that: sudo echo “1” > /sys/bus/pci/rescan After this time your pci card going to work. I tested this in Ubuntu 16.04 x64. Devamı…
install: pip install supervisor configure: mkdir -p /etc/supervisord/conf.d echo_supervisord_conf > /etc/supervisord/supervisord.conf echo “files = conf.d/*.conf” >> /etc/supervisord/supervisord.conf setup as service: wget https://gist.githubusercontent.com/mozillazg/6cbdcccbf46fe96a4edd/raw/2f5c6f5e88fc43e27b974f8a4c19088fc22b1bd5/supervisord.service -O /usr/lib/systemd/system/supervisord.service start service systemctl start supervisord view service status: systemctl status supervisord auto start service on system startup: systemctl enable supervisord Source: https://gist.github.com/mozillazg/6cbdcccbf46fe96a4edd
Best solution is disable ipv6 kernel module. Other solutions not working sometimes. Add ipv6.disable=1 to GRUB_CMDLINE_LINUX parameters. And restart the server. # nano /etc/default/grub GRUB_TIMEOUT=5 GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT=”console” GRUB_CMDLINE_LINUX=”ipv6.disable=1 crashkernel=auto rhgb quiet” GRUB_DISABLE_RECOVERY=”true” # grub2-mkconfig -o /boot/grub2/grub.cfg # regenerate grub2 and reboot # reboot I don’t like restart server but there is no Devamı…
Sometimes you must kill a process from command line. “kill” command needs process id. You can get a process details with “ps aux | grep java” but this command prints lots of details. But “kill” command needs only the process id data. For getting id of a process you can Devamı…
Nohup is nice tool for runing an app in background. It can redirect output to a file with “-o” parameter. But this parameter has to write to last. For example nohup myapp -o nohup.log This prints all outputs to nohup.log file. But there is a problem. Some commands accepts it Devamı…
I’m using Xubuntu 16 64bit. My computer is Lenovo G560 and there is standart keyboard which has num pad. Sometimes my fingers touching to Num Lock key and I hate this. I want to keep Num Lock status ON and disable key. For this I added these commands to /etc/rc.local Devamı…