Unable to mount or check XFS filesystem
Unable to mount or check XFS filesystem
xfs_repair -L /dev/centos-home...
How To Install Server, Networking, and Programming
6:34 PM / NCA / 0 Comments
xfs_repair -L /dev/centos-home...
5:09 AM / NCA / 0 Comments
Error like this:HDD error: print_req_error: critical medium error, dev sdb, sector xxTry this one:1. Reboot use gparted2. sudo su3. fdisk -l for lookup error disk, example /dev/mapper/PC--vg-root4. fsck -f /dev/PC--vg-root (repeat until error gone)5. e2fsck -fccky /dev/PC--vg-root6. finish and attach this disk on other fresh install OS...
4:49 AM / NCA / 0 Comments
Install cygwinsearch packet: openssh on "full" option searchOpen cygwin from start windows and run as Administratortype $ ssh-host-config- Are you sure you want to continue: YES- You have the required privileges: YES- Overwrite existing /etc/ssh_config: YES- Should privilege separation be used: YES- Use local account 'sshd': YES- Do you want to install 'sshd' as a service: YES- name CYGWIN: just...
5:44 AM / NCA / 0 Comments
Show used memory for apache processps aux | grep 'httpd' | awk '{print $6/1024 " MB";}'And for resume:ps -ylC httpd --sort:rss | awk '{sum+=$8; ++n} END {print "Tot="sum"("n")";print "Avg="sum"/"n"="sum/n/1024"MB"}'show server MPM# httpd -VServer MPM: preforkAnd thanMaxRequestWorkers = Total available memory * 80% / Max memory usage of apache processExample i have 91GB ram, and 50MB max memory per...
7:44 PM / NCA / 0 Comments
This program using rsync rsync --recursive --delete --links --checksum --verbose --dry-run root@collo.jaringankantor:/home/anwar/public_html/ /public_html/anwar/ > dirdiff_anwar.txt...
11:12 PM / Install Server Networking Programming / 0 Comments
Check your version of centos # cat /etc/redhat-release and then download from this link https://yum.postgresql.org/repopackages.php#pg96 if latest version is Postgresql96 Choose your operating system and then download repository: # wget https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rpm # rpm -ivh pgdg-centos96-9.6-3.noarch.rpm # yum update -y # yum install pgbouncer Edit pgbouncer.ini, this is example [databases] jaringankantorcom_penerimaan = dbname=db_penerimaan host=localhost port=5432 user=xxx_user password=xxx_password [pgbouncer] logfile = /home/pgbouncer/pgbouncer.log pidfile = /home/pgbouncer/pgbouncer.pid...
2:55 AM / Install Server Networking Programming / 0 Comments
This command display all process with name like 'postmas' ps -eo pcpu,pmem,pid,user,args --sort user |grep postmas...
© Copyright 2014 Talk About Server | Managed By SoraTemplates