Jump to content

guru

Administrators
  • Posts

    108
  • Joined

  • Last visited

  • Days Won

    1

guru last won the day on March 2 2020

guru had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

guru's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. guru

    Bloodwork

    LAB
  2. guru

    Bloodwork

    LAB
  3. guru

    Chemo Treatment

    LAB Cytarebine Pegasparges Platelets (possible transfusion)
  4. guru

    Chemo Treatment

    Cytarebine
  5. guru

    Chemo Treatment

    Cytarebine
  6. Seems like this should be easy, especially since there is a yum install for cacti but oh no, nothing is what it seems. If you follow the below instructions (well as of January 2020) then you have a good chance at being successful. Please note, this is best case and no guarantee it will work but it worked for me. This also will help me keep track of some helpful commands I used for the future. DISABLE FIREWALL Open and edit SELinux configuration file. vim /etc/sysconfig/selinux Change SELINUX=enforcing to SELINUX=disabled. Save and exit. Reboot system reboot ENABLE REPOS (where you need software installed from) Head over to the Fedora website and copy the latest download link of the latest file. Download the EPEL repository: wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm --no-check-certificate Install EPEL repository rpm -Uvh epel-release-latest-7.noarch.rpm Download the REMI repository: wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm --no-check-certificate Install REMI repository rpm -Uvh remi-release-7.rpm List repositories. yum repolist Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * base: centos.host-engine.com * centos-sclo-rh: bay.uchicago.edu * centos-sclo-sclo: linux.mirrors.es.net * epel: fedora-epel.mirror.lstn.net * extras: centos.sonn.com * remi-safe: fr2.rpmfind.net * updates: centos.mirrors.hoobly.com repo id repo name status Tuleap/x86_64 Tuleap 65 base/7/x86_64 CentOS-7 - Base 10,097 centos-sclo-rh/x86_64 CentOS-7 - SCLo rh 8,968 centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo 878 cwp/x86_64 CentOS Web Panel repo for Linux 7 - x86_64 76 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,212 extras/7/x86_64 CentOS-7 - Extras 335 mariadb MariaDB 85 remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 3,690 updates/7/x86_64 CentOS-7 - Updates 1,487 repolist: 38,893 Install APACHE Install Apache and start the service. Now I thought I could just install httpd but boy was I wrong. You need that httpd-devel to make things happen with cacti which is another reason you need to enable both repositories. yum install -y httpd httpd-devel You can confirm install by running httpd -v Server version: Apache/2.4.6 (CentOS) Server built: Aug 8 2019 11:41:18 Now lets make it active by starting Apache systemctl start httpd Install SNMP and RRDTool To install SNMP and RRD Tool, enter the following command: yum install -y net-snmp net-snmp-utils net-snmp-libs rrdtool Start SNMP. systemctl start snmpd Install Maria Database Server Use the following command to install the MariaDB server yum -y install mariadb-server Now start MariaDB Service systemctl start mariadb Secure MariaDB Installation by running: mysql_secure_installation Set root password? [Y/n] Y Remove anonymous users? [Y/n] Y Disallow root login remotely? [Y/n] Y Remove test database and access to it? [Y/n] Y Reload privilege tables now? [Y/n] Y Install PHP and needed packages Run the following command to install necessary PHP and required packages. yum --enablerepo=remi install -y php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-intl php-snmp To see what version of php your system is running, run the following php -v PHP 5.4.45 (cli) (built: Oct 22 2019 13:26:02) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies You can see what modules (packages) that are installed by running php -m [PHP Modules] bz2 calendar Core ctype curl date dom ereg exif fileinfo filter ftp gd gettext gmp hash iconv intl json ldap libxml mbstring mhash mysql mysqli openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix readline Reflection session shmop SimpleXML snmp sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl zip zlib [Zend Modules] Create a Cacti Database Import the timezone sql file mysql -u root -p mysql < /usr/share/mysql/mysql_test_data_timezone.sql Log in to the database server with the previously configured password you used when you secured your installation mysql -u root -p Create a Database and user. MariaDB [(none)]> create database zahlinuxcacti; MariaDB [(none)]> CREATE USER 'zahlinuxuser'@'localhost' IDENTIFIED BY 'OMGsup3Rs3creT!!'; Grant permission and flush privileges. MariaDB [(none)]> grant all privileges on zahlinuxcacti.* to zahlinuxuser@localhost ; MariaDB [(none)]> GRANT SELECT ON mysql.time_zone_name TO zahlinuxuser@localhost ; MariaDB [(none)]> FLUSH PRIVILEGES; Optimize Database We need to modify database parameters for better performance. Use the following command. vim /etc/my.cnf.d/server.cnf Add the following lines to the [mysqld] section. [mysqld] collation-server = utf8mb4_unicode_ci init-connect='SET NAMES utf8' character-set-server = utf8mb4 max_heap_table_size = 128M max_allowed_packet = 16777216 tmp_table_size = 64M join_buffer_size = 128M innodb_file_per_table = on innodb_file_format = Barracuda innodb_large_prefix = 1 innodb_buffer_pool_size = 932M innodb_doublewrite = on innodb_additional_mem_pool_size = 80M innodb_lock_wait_timeout = 50 innodb_flush_log_at_trx_commit = 2 innodb_flush_log_at_timeout = 3 innodb_read_io_threads = 32 innodb_write_io_threads = 16 innodb_io_capacity = 5000 innodb_io_capacity_max = 10000 Now that you made changes to the MariaDB config, you gotta restart them services systemctl restart mariadb.service Install and configure Cacti Now that you did all the prep work, let's install Cacti now using YUM. yum -y install cacti Import default cacti database file to the created database. cd /usr/share/doc/cacti-1.2.10/ Import the SQL file provided by cacti mysql -u root -p zahlinuxcacti < cacti.sql Edit the Cacti configuration file which includes a database, password details etc. vim /usr/share/cacti/include/config.php Modify database details. $database_type = 'mysql'; $database_default = 'zahlinuxcacti'; $database_hostname = 'localhost'; $database_username = 'zahlinuxuser'; $database_password = 'OMGsup3Rs3cret!!'; $database_port = '3306'; $database_ssl = false; Set Cron for Cacti Open cacti cron file. vim /etc/cron.d/cacti Uncomment the following line. */5 * * * * apache /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1 Save and exit the file Configure Apache for Cacti This will help us to do a remote installation. Edit the cacti config file. vim /etc/httpd/conf.d/cacti.conf Change “Require host localhost” to “Require all granted” and “Allow from localhost” to “Allow from all.” Here is an example of what I have (not positive its correct but it does work for me) Alias /cacti /usr/share/cacti/ <Directory /usr/share/cacti/> <IfModule mod_authz_core.c> # httpd 2.4 Require all granted </IfModule> <IfModule !mod_authz_core.c> # httpd 2.2 Order deny,allow Deny from all Allow from all </IfModule> </Directory> <Directory /usr/share/cacti/install> </Directory> Change Time Zone. vim /etc/php.ini date.timezone = your time Zone E.g.:- date.timezone = Australia/Sydney Restart apache systemctl restart httpd.service Restart MariaDB systemctl restart mariadb.service Restart SNMP systemctl restart snmpd.service Configure the Firewall Use these commands: firewall-cmd --permanent --zone=public --add-service=http firewall-cmd --reload Start Cacti installation Open a web browser and use the following URL to access Cacti web interface. http://Your-Server-IP/cacti License Agreement: click Accept GPL License Agreement and click Begin Pre-installation checks. Click next if there are no issues. Next window is Installation Type. It will show Database connection details. Click Next to continue. Verify Critical Binary Locations and Versions and then click next. Verify Directory Permissions and continue. In the Template Setup window, you can select all templates, and click finish to the complete installation. IMPORTANT: as of Cacti 1.2.10 you will get a screen like the one below that has a blank line with a checkmark to the far right. Uncheck this box or what will happen is your install will get to 42% and hang there forever. Only way I figured out how to start the install over again was delete the entire cacti database and re-create database, import sql, create user etc.. After the installation, it will redirect to Login Page. Using default user name “admin” and default password “admin” you can log in to Cacti server. You should be asked to change the password after that. Change Password and click save. Then you should see the Cacti Dashboard. You can add new devices from Managemnt-> Devices Then click plus mark “+” on top of the right-hand corner. That’s it! You have successfully configured Cacti 1.2.10 on CentOS 7!
  7. We are at the Karmanos Cancer Institute in Detroit for our 3rd Chemotherapy Treatment as part 3 of 4 of the Induction process. This week they are introducing Rituxin to the normal two she has been receiving. It appears Rutuxin has less side effects as the new drug they used last week so that is good. Especially since I'm on-call starting Tuesday to Tuesday so I will be concentrating more on my job. If we take last week as any indication on how busy On-Call has been, I'll be busy every night but very lucky to have such a great company to work for as they have been understanding and working with me through this tough time in my life. 7:15am In waiting in the waiting room to be called back 7:45am Took us to Room #6 where they took her weight, blood pressure and took 5 test tubes of blood (green, pink, yellow, purple) 9:00am Received the results from bloodwork they took at 7:45am. Most numbers are good (except White Blood Cell count) Potassium: 3.9 White Blood Cell (WBC): 0.4 Hemoglobin: 8.8 Platelets: 79 9:15am Got our visit from Dr. Yang. He said all was good. He wants to keep an eye on liver numbers which are high but expected after the pegaspargase Kate received last week. He also mentioned he would send a prescription for Ambien to help Kate sleep a full night since she isn't currently which they believe is the result of the steroids which she just needs to take for these last two weeks of the Induction phase. He mentioned that the Tuesday with no chemo she has to get another bone marrow biopsy to see how the treatment is progressing. He also said that the corona virus that is spreading like widfire could really cause some significant issues so be very cautious about being around anyone sick, especially with the white blood cell count so low. Kate should still be excercising/moving around but not around people mainly as much as she can, stay home and away from anyone sick. 9:35am Nurse begins the process of the pre-drugs Two Regular Tylenol via pills Benaryl via Syringe Hydrocortisone steroid via a Syringe 10:00 am Nurse is starting the Zofran IV drip (avg 30minutes) and yes, Kate is getting very sleepy. This time we got a room with a hospital bed versus a chair. I see ZZzzz's in kate's near future. next will be the 2 normal chemo drugs and the rituxan. First two take about 5min each and the Rituxan takes 4 hours minimum. 10:30am Kate received the daunorubicin via Syring (avg 5min infusion) 10:40am Kate began receiving the vincristine via IV drip (avg 5min infusion) 10:55am Kate began receiving the Rituxan via IV drip (avg 4hour infusion) - NEW 11:15am Nurse woke Kate up from a pretty deep sleep to check her vitals. You could see how unpleasant Kate was with that sleep interruption. 12:30pm Kate is awake, I got her some apples and caramel and she is watching her shows and just ordered some chicken and dumpling soup. Everything is moving right along. It doesn't even look like the Rituxan IV bag is even going down but I'm sure it is.
  8. I've noticed in my journey from moving from Joomla and Invision Power to Wordpress that its difficult to find applications that do what you do want the way you want to do them. In my journey of finding a Document Management system for my wordpress site I do a lot of research and comparisons until I find the best solution for me needs and all of our needs are probably different so what I pick as my Document Management solution may not be the same as what would work for you. Wordpress Download Manager (WPDM) Many websites I come across name Wordpress Download Manager (WPDM) as a top contender. I like and dislike this application. NOTE: I tested using version 4.9.3 I like the fact it comes with a TinyMCE plugin that allows you to insert files into your post that you uploaded to WPDM. I also like that you can Attach a Directory or make a file available for a certain date range. I like it has so many plugins that will work with so many other applications. It has so many options per file (or package as they like to call it) Also I like that it looks like we may be able to organize (hopefully import) all our files in our Wordpress Media bin. I dislike that they reference files/documents all as packages. It confuses me. When I see package I instantly think of WooCommerce.
  9. Not everyone can afford to buy Microsoft Office and then others don't like anything with Microsoft in the name so they would like to know alternatives. Heck we are using a Mac (not Microsoft Windows). Truthfully, its difficult to beat the functionality of Microsoft Excel and Microsoft Powerpoint and Microsoft Word (proabably in that order) Some sites to check out for alternatives include: Apple Numbers, Keynote and Pages its awesome and cheap NeoOffice(cost=free) Papyrus Office Mariner Software Thinkfree Word Alternatives: AbiWord (cost=free)
  10. I was complaining on Twitter on how awful bluehost was for taking 48 hours to restore my sites in which time I lost my google rankings since they couldn't contact my site. Wirenine saw my issues with Bluehost and offered there services. I looked into them but they were definitly more expensive than anyone else but had a crap load more features. I decided to go with Dreamhost because of cost and after learning they aren't very technical or nice, I decided to give wirenine a shot. They transferred all my data over with some issues because of what Bluehost does with your sites but wirenine figured them out quickly and never did they show any attitude. So far, very impressed with the support staff. I will say, if you aren't familar with WHM like I'm not, then a huge learning curve if you go with the VPS option like I did. Many advanced features and configurations available to you. Way Way WAY more than any of the other VPS solutions I have tried. I do recommend wirenine and they are U.S. based.
  11. I tried to switch my VPS from Bluehost to Dreamhost since Dreamhost is NOT part of the EIG. I like the interface even though its not cPanel but its pretty easy to use. Had some issues where all 8 of my sites wouldn't let me log in (note these sites include IP.Board, Joomla and Drupal mainly) and so I contacted Dreamhost support and they insisted the issue is with the software not the server. I explained to them that these are just transfers and they work without issue on Bluehost and still they insisted its not the server. So I contacted Invision Power (makers of the IP.Board you are reading this on) and they checked it out and uploaded a stand alone script which also would not allow you to log in. So I contacted Dreamhost support again and they basically said, too bad. I still have a few domains on this site but I'm not putting anything important with Dreamhost if they have such horrible support.
  12. So I signed up in August 2014 for a Bluehost VPS since I had so many issues with inmotionhosting that I figured Bluehost is a pretty popular and well known site but I realized later its not because they have great service but more because they are so cheap. The implemented a change on a RAID controller on the VPS I was part of (without notifying us of this change) and it killed the controller. They had to rebuild all of our data and it took 48 hours to do this. Support was useless and no remorse but why would they care. Bluehost is part of the Endurance International Group (EIG) which these are also: 2slick.com AccountSupport Arvixe LLC A Small Orange ApolloHosting Berry Information Systems L.L.C. BigRock BizLand BlueDomino Bluehost Directi Dollar2Host Domain.com DomainHost Dot5Hosting Dotster easyCGI eHost EntryHost Escalate Internet FastDomain FatCow FreeYellow Glob@t Homestead HostCentric HostClear HostGator Hostnine HostMonster hostwithmenow.com HostYourSite.com HyperMart IMOutdoors Intuit Websites iPage IPOWER/iPowerWeb JustHost LogicBoxes MojoMarketplace. MyDomain MyResellerHome NetFirms Networks Web Hosting Nexx PowWeb PureHost ReadyHosting.com ResellerClub Saba-Pro SEO Hosting Southeast Web Spry StartLogic SuperGreen Hosting Typepad USANetHosting VirtualAvenue VPSLink WebHost4Life webhosting.info Webstrike Solutions Xeran YourWebHosting If one of these are your hosting provider for your website then be careful. They are all connected somehow because previously I was with hostgator and everything went down but learned later that the issue was at every EIG web hosting.
×
×
  • Create New...