This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Create file | |
| /etc/lighttpd/vhosts.d/olderdaddiesvideos.com.conf | |
| With following content | |
| $HTTP["host"] =~ "(www.)?olderdaddiesvideos.com" { | |
| secdownload.secret = "password6" | |
| secdownload.document-root = "/home/olderdad/videos" | |
| secdownload.uri-prefix = "/vid/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@debypass:~/copy_1/server# grails run-gwt-client | |
| Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 268435456, 0) failed; error='Cannot allocate memory' (errno=12) | |
| # | |
| # There is insufficient memory for the Java Runtime Environment to continue. | |
| # Native memory allocation (malloc) failed to allocate 268435456 bytes for committing reserved memory. | |
| # An error report file with more information is saved as: | |
| # /root/copy_1/server/hs_err_pid10988.log | |
| root@debypass:~/copy_1/server# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 22-Mar-2014 02:12 PM server70.hosthat.com MOVE from softlayer to ovh. | |
| [root@ns233557 ~]# free -m | |
| total used free shared buffers cached | |
| Mem: 64345 721 63624 0 20 187 | |
| -/+ buffers/cache: 513 63832 | |
| Swap: 16381 0 16381 | |
| [root@ns233557 ~]# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@slam httpd]# smartctl -q errorsonly -H -l selftest -l error /dev/sda | |
| ATA Error Count: 7856 (device log contains only the most recent five errors) | |
| Error 7856 occurred at disk power-on lifetime: 27227 hours (1134 days + 11 hours) | |
| Error 7855 occurred at disk power-on lifetime: 12485 hours (520 days + 5 hours) | |
| Error 7854 occurred at disk power-on lifetime: 12485 hours (520 days + 5 hours) | |
| Error 7853 occurred at disk power-on lifetime: 12485 hours (520 days + 5 hours) | |
| Error 7852 occurred at disk power-on lifetime: 12485 hours (520 days + 5 hours) | |
| [root@slam httpd]# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -----BEGIN CERTIFICATE REQUEST----- | |
| MIIDDjCCAfYCAQAwgawxEjAQBgNVBAcMCUxhcyBWZWdhczELMAkGA1UECAwCTlYx | |
| CzAJBgNVBAYTAlVTMSowKAYJKoZIhvcNAQkBFhtibGluZGRpc3RyaWJ1dG9yc0Bn | |
| bWFpbC5jb20xGzAZBgNVBAoMEkJsaW5kIERpc3RyaWJ1dG9yczEiMCAGA1UEAwwZ | |
| d3d3LmJsaW5kZGlzdHJpYnV0b3JzLmNvbTEPMA0GA1UECwwGUmV0YWlsMIIBIjAN | |
| BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1F/+1p2Ugd5WuxhczKnktNkYiNoH | |
| /d3CUWYi9RQHDrDpvH0vzRp48L3t+Nhk+sAyT6VX0x+FSlVHp4iyKQ2CrOiO3wPd | |
| xPwptpDx9U7KT79StboZhQY5gj0AKWj6sgvHVtgskDQKM9Z0pWvqBrSuSNoanPZj | |
| Tt44qaLV8F/vBBrORhfEct4hKcBfkFxRagy7DSmY7zsr06JWq+VeLfQo7HTk+4Bq | |
| IklpPs+sMWtIyD7ta2my4q/QKe6UIb2GGm5zNIU4iQ8WR14OWhU4KSOUOGmtfDVd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| An error occurred during the repair. | |
| Please write on a paper the following URL: | |
| http://paste.ubuntu.com/7505879/ | |
| In case you still experience boot problem, indicate this URL to: | |
| boot.repair@gmail.com | |
| Please repair the bootsector of the sdc1 partition. This can be performed via tools such as TestDisk. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
| # CREATE block and create them in separate commands _after_ all the INSERTs. | |
| # Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
| # The mysqldump file is traversed only once. | |
| # Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
| # Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@localhost ~]# df -h | |
| Filesystem Size Used Avail Use% Mounted on | |
| /dev/sdb1 1.8T 688G 1.1T 40% / | |
| tmpfs 3.9G 0 3.9G 0% /dev/shm | |
| /dev/sda1 504M 72M 408M 15% /boot | |
| [root@localhost ~]# | |
| DataShark server. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =============================================== | |
| fdisk -l shows on HDD | |
| =============================================== | |
| root@server1 [~]# fdisk -l | |
| Disk /dev/sda: 240.1 GB, 240057409536 bytes | |
| 255 heads, 63 sectors/track, 29185 cylinders | |
| Units = cylinders of 16065 * 512 = 8225280 bytes | |
| Sector size (logical/physical): 512 bytes / 4096 bytes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| boby@fwhlin:~ $ sudo apt-get install nvidia-346 | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| The following package was automatically installed and is no longer required: | |
| libcuda1-304 | |
| Use 'apt-get autoremove' to remove it. | |
| The following extra packages will be installed: | |
| bbswitch-dkms libcuda1-304 nvidia-346-uvm nvidia-opencl-icd-346 nvidia-prime | |
| nvidia-settings ocl-icd-libopencl1 |